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.