Hyperliquid perp funding rate, predicted funding, open interest and basis for one market
hl_perp_metricsHyperliquid funding for one perpetual futures market: current and predicted funding rate, open interest and basis. Use when an agent monitors a perp position or funding carry. Input: coin (e.g. BTC, kPEPE). Output: JSON as_of, cache_age_s, 1h + annualized funding, OI coin/USD, mark/oracle/mid, basis %, premium, 24h volume and change, HL predicted funding, next funding time (cross-venue: /v1/crypto/perp/funding). Unknown coin: 400, not charged. Use instead: hl_funding_history for history and percentiles; crypto_perp_funding for the same coin across DEX venues; hl_markets for every Hyperliquid market. Example: ?coin=BTC Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"coin": "<coin>"
},
"name": "hl_perp_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Hyperliquid perp symbol, case-insensitive (BTC, ETH, SOL, HYPE, kPEPE). Not listed or delisted → 400 before payment (not charged) |