hlrisk - Hyperliquid Liquidation Risk

無料の読み取り専用MCPツールで、HyperliquidのBTC/ETH清算リスクをリアルタイムに提供:価格が±1%/3%/5%変動した場合のリスク想定元本、清算に最も近いポジション、資金調達率、最近のバックストップ清算。従量課金制のx402 API(Base上のUSDC)はhlrisk.paidapis.netにあります。

ホスト型 MCP サーバー

npx add-mcp 'https://hlrisk.paidapis.net/mcp'

Claude Code、Codex、Cursor などにインストールできます

ドキュメント

hlrisk

Pay-per-call x402 APIs. USDC on Base. No accounts, no API keys, no subscriptions.

Flagship: Liquidation Risk Index

Real-time Hyperliquid BTC/ETH perpetual futures liquidation risk index, built from real on-chain position data (not a statistical estimate): notional at risk if leveraged price moves ±1%/3%/5%, the position closest to actually being liquidated, and current funding rate.

Endpoints

PathPriceDescription
/api/hl-liquidation-risk$0.03Liquidation proximity index (flagship)
/api/hl-liquidations$0.02Rare backstop-liquidation events (last hour)
/api/gas-price$0.005Current Ethereum mainnet gas price
/api/relay/block-number$0.003Ethereum block number (relayed)
/api/subscribe$0.002Unlocks subscriber content for 5 min
/api/transfer$0.001–$5.00Direct USDC transfer, caller-specified amount
/api/premium-data$0.01Example endpoint

How to call it

Standard x402 flow — request the endpoint, get a 402 with payment details, sign and resend with an x402-aware client. No pre-registration.

curl https://hlrisk.paidapis.net/api/hl-liquidation-risk
# -> 402 Payment Required, with payment details in the response

Machine-readable spec

/openapi.json — full OpenAPI spec with pricing (x-payment-info) per route.
/.well-known/x402 — legacy discovery manifest.
/llms.txt — agent-readable endpoint index.