Perp funding rates API: Hyperliquid funding and perp markets for an agent
Updated 2026-11-10
Use when an agent needs what a Hyperliquid perp costs to hold, or whether funding is flipping, before sizing a trade.
POST https://tanod.dev/v1/defi/funding reads Hyperliquid perps and returns the markets with the largest absolute funding, or one symbol's current funding with up to 7 days of hourly history. POST https://tanod.dev/v1/defi/perps lists the perp markets with prices, open interest, volume and funding. Each call costs USD 0.002, paid in USDC on Base, Polygon, Solana, BNB Chain or Arbitrum through x402, with no account or API key. Both share the free pool of 10 chain reads per IP per UTC day (header X-Tanod-Free: 1). They are also the MCP tools get_funding_rates and get_perp_markets at https://tanod.dev/mcp.
What you send
Funding: all fields are optional. symbol (for example BTC or kPEPE) returns that market's current funding and up to 7 days of hourly history; leave it out for the top markets. limit is 1 to 50 (default 10) when no symbol is given. min_volume_usd skips markets with less 24 h volume, to hide thin ones (default 0).
Perps: all fields are optional. symbols is a list of at most 50 names, matched without regard to case; unknown ones come back in symbols_not_found. sort is volume (24 h, default), open_interest, funding, premium, leverage, change (24 h) or symbol. order is desc (default) or asc. limit is 1 to 250 (default 50).
curl -s -X POST https://tanod.dev/v1/defi/funding \
-H "Content-Type: application/json" -H "X-Tanod-Free: 1" \
-d '{"limit": 3}'
What you get
A real reply to that request on 2026-10-10, shortened to two of the three markets:
{"source": {"name": "Hyperliquid public API", "url": "https://api.hyperliquid.xyz/info", ...},
"note": "Data from the Hyperliquid public API; informational only, not investment or trading advice.",
"funding_interval": "hourly",
"annualization": "funding_hourly x 24 x 365, simple (not compounded)",
"cache": "fetched", "count": 3, "sorted_by": "abs(funding_hourly) desc",
"markets": [{"symbol": "MINA", "mark_price": 0.085477, "oracle_price": 0.085845, "premium": -0.00298212,
"open_interest": 21163384.0, "open_interest_usd": 1808982.57, "volume_24h_usd": 2104728.57,
"max_leverage": 3, "change_24h_pct": 9.851,
"funding_hourly": -0.0002302286, "funding_annualized_pct": -201.68},
{"symbol": "GRIFFAIN", "mark_price": 0.020471, ..., "max_leverage": 3,
"funding_hourly": 0.000115073, "funding_annualized_pct": 100.804}, ...]}
With symbol the reply holds market plus history_days, history_count, history_avg_hourly, history_avg_annualized_pct and a history list of time, funding_hourly, funding_annualized_pct and premium. The perps route, called with {"limit": 2} on the same day, returned this, shortened:
{"cache": "cache", "total_markets": 178, "count": 2,
"markets": [{"symbol": "BTC", "mark_price": 82781.0, "open_interest_usd": 3158111019.12,
"volume_24h_usd": 1440042775.31, "max_leverage": 40,
"funding_hourly": -2.824e-06, "funding_annualized_pct": -2.474, ...},
{"symbol": "ETH", "mark_price": 2493.4, "max_leverage": 25,
"funding_hourly": 1.25e-05, "funding_annualized_pct": 10.95, ...}]}
How it works
Tanod reads the public Hyperliquid API at request time and caches each answer for up to 60 seconds; the cache field says whether the reply was fetched or cached. Funding is quoted per hour. Annualised funding is the hourly rate x 24 x 365, simple, not compounded. Open interest in USD is open interest x mark price. Delisted markets are left out. Typical time is 0.3 to 2 seconds.
Without payment, the same URL answers 402 with an x402 v2 offer. On 2026-10-10 the offer for the funding route was 2000 atomic USDC units (USD 0.002) on Base, Polygon and Solana.
Poll it on a schedule
Hyperliquid pays funding every hour, so the useful polling interval is hourly, just after the hour, when the new rate is set. Polling faster shows the predicted rate moving within the hour. At USD 0.002 a call:
| Every | Calls a day | USD a day | USD a month |
|---|---|---|---|
| 1 hour | 24 | 0.05 | 1.44 |
| 15 minutes | 96 | 0.19 | 5.76 |
| 5 minutes | 288 | 0.58 | 17.28 |
The first 10 calls each UTC day are free. After that, use one of the SDKs or any x402 client with a per-call cap; a failed call is never charged (retries). One call returns the whole ranked list, so poll the list rather than each symbol.
Recipe: the data behind a one-page derivatives brief
Agents that sell research briefs are asked for BTC and ETH positioning where every number has a source and a time. The funding and positioning half costs about USD 0.011:
| Call | What it gives the brief | USD |
|---|---|---|
/v1/defi/funding with symbol BTC, then ETH | current funding plus 7 days of hourly history, each point with its time | 0.004 |
/v1/defi/perps | open interest in USD, 24 h volume and mark price | 0.002 |
/v1/defi/funding-spread with ["BTC", "ETH"] | Hyperliquid against dYdX funding, and the spread | 0.003 |
/v1/markets/fear-greed | the sentiment index | 0.001 |
/v1/news/crypto | headlines for "what changed since the last read" | 0.001 |
Every reply names its source with a URL, and the history points carry their own timestamps. For the current values, record the time of your request as the as-of. Options data (implied volatility, 25-delta skew) is not sold here, so take it from an options venue and say so in the brief.
Limits
- Hyperliquid perps only. Other venues are not included.
- An unknown symbol or bad input is a 422 before any payment, and an outage is a 503. Neither is charged. A payment for a different amount than the input's price is refused and never settled.
- Data only, not investment or trading advice, and not a forecast by Tanod. Funding can change every hour.
- Prices and funding can lag the live order book by up to the cache time.
Use it from Claude without writing code: in claude.ai or Claude Desktop, add https://tanod.dev/mcp/chain?via=perp-funding-rates-api as a custom connector (steps), then ask in plain words, for example "What is the current funding rate on the ETH perpetual on Hyperliquid?" The free daily allowance is applied automatically over MCP. Beyond it a call needs an x402 payment, which these clients can make.
Related guides: funding rate spread API (Hyperliquid vs dYdX), prediction markets API, news search API. Updated 2026-11-10. All guides, or back to tanod.dev. Results are automated.