Pay-per-call over x402 — USDC on Base, no account, no API key. The perp microstructure generic market-data APIs don't expose.
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.
Perpetual funding rate (top-50 perps): latest hourly rate, annualized projection, 24h & 7d means, sign streaks.
Spot-perp premium (basis) in basis points: latest, 24h & 7d means, sign streaks, 24h zero-crossings — the live driver behind funding.
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.
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
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.