PERQUANTS

Specialized Hyperliquid derivatives data for agents.

Pay-per-call over x402 — USDC on Base, no account, no API key. The perp microstructure generic market-data APIs don't expose.

x402 · USDC on Base Discoverable in the x402 Bazaar MCP server (Claude · Cursor) Data, not advice

Endpoints

GET /api/v1/hip3/{dex}/{asset}/decision $0.05

Pre-trade risk gate — one call before trading/sizing a HIP-3 market: a verdict (tradeable/caution/avoid), the cost to execute, health score + sub-components, funding, basis, OI-vs-cap, and risk flags. Free band preview at /preview; transparent methodology.

GET /api/v1/funding/{coin} $0.01

Perpetual funding rate (top-50 perps): latest hourly rate, annualized projection, 24h & 7d means, sign streaks.

GET /api/v1/basis/{coin} $0.01

Spot-perp premium (basis) in basis points: latest, 24h & 7d means, sign streaks, 24h zero-crossings — the live driver behind funding.

GET /api/v1/hip3/{dex}/{asset} $0.02

HIP-3 builder-market health: oracle deviation, impact-spread liquidity, open interest vs cap, funding (with custom multiplier), oracle/deployer controllers, risk flags & a 0-100 score. Tokenized stocks, commodities, forex, pre-IPO — no free substitute.

Quickstart

1 — Any HTTP client gets a 402 with the payment terms:

# funding rate for HYPE
curl https://api.perquants.com/api/v1/funding/HYPE
# -> 402 Payment Required (price, payTo, USDC on Base)

2 — An x402 client pays and retries automatically:

from x402.client import x402ClientSync
# sign with a Base wallet holding USDC, then GET as usual:
# 402 -> pay -> 200 + JSON. See scripts/pay_once.py

3 — Or wire it as an MCP tool (Claude Desktop / Cursor):

{
  "mcpServers": {
    "perquants": {
      "command": "uv",
      "args": ["run","python","-m","app.mcp.server"]
    }
  }
}
# tools: get_funding · get_basis · get_hip3_health

For agents

Discoverable in the x402 Bazaar — search “Hyperliquid funding”. Every response is typed JSON and freshness-flagged. The service is non-custodial: it charges for data and never holds funds or places orders.

Open-source MCP connector (pay-per-call from your own wallet): github.com/CarlosTejeiro/perquants-mcp.