{"uid":"cap_JGRT_UrmG5k2jFyly9O15","slug":"ironflow-hyperliquid-perp-funding-rate-history-2457c054","name":"Ironflow Hyperliquid Perp Funding Rate History","description":"Hyperliquid perp funding rate history per market from Ironflow's own nodes: the hourly funding rate as charged, for native perps and HIP-3 markets, up to a year back. Use it for perp funding rates history, carry and basis trades, or to compare funding across crypto perps.","url":"https://api.ironflow.sh/x402/v1/funding?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["market"],"properties":{"to":{"type":"string","description":"End: Unix ms, ISO 8601, relative (-1h) or now (default)"},"from":{"type":"string","description":"Start: Unix ms, ISO 8601, or relative (-7d, now-24h); up to 14 days back"},"limit":{"type":"string","description":"Rows per page"},"cursor":{"type":"string","description":"next_cursor from the previous page"},"market":{"type":"string","description":"Market: BTC, ETH-PERP, HYPE/USDC, xyz:NVDA (HIP-3) or a Hyperliquid coin name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"rate":{"type":"string","description":"Hourly funding rate as a fraction (0.0000125 is 0.00125% an hour)"},"market":{"type":"string","description":"Market symbol, e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP"},"timestamp":{"type":"integer","description":"Unix time in milliseconds"}},"description":"A funding rate"},"description":"One row per funding interval"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code: INVALID_PARAMETER, HISTORY_OUT_OF_RANGE, QUERY_WINDOW_EXCEEDED, RATE_LIMIT_EXCEEDED, NOT_FOUND, INTERNAL_ERROR"},"message":{"type":"string","description":"What went wrong and how to fix the request"},"upgrade":{"type":"object","properties":{},"description":"On a limit error: the plan or paid call that lifts it"}},"description":"Present instead of the data on a 4xx or 5xx answer."},"pagination":{"type":"object","properties":{"has_more":{"type":"boolean","description":"Whether more rows match"},"next_cursor":{"type":"string","description":"Cursor for the next page, empty when there is none"}},"description":"Paging: pass next_cursor as cursor= for the next page"}},"description":"Funding rates, one per market and hour"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6NAvcImI5Nlxdm8q38As_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns hourly perpetual funding rate history for any Hyperliquid market (native perps and HIP-3), up to one year back, with pagination support.","exampleAgentPrompt":"Pull the last 7 days of hourly funding rate history for BTC on Hyperliquid from Ironflow so I can analyze the carry cost of holding a long position.","exampleUseCases":[{"title":"Carry trade cost analysis","prompt":"Get me the hourly funding rate history for ETH-PERP on Hyperliquid for the past 30 days — I want to calculate the total carry cost of a long position over that period."},{"title":"Cross-market funding comparison","prompt":"Fetch the last 24 hours of funding rates for BTC, ETH-PERP, and HYPE/USDC on Hyperliquid so I can compare which market has the cheapest funding right now."},{"title":"HIP-3 market funding research","prompt":"Get me the funding rate history for the xyz:NVDA HIP-3 market on Hyperliquid from the past week — I want to see how volatile the funding has been since launch."}],"resultDescription":"Returns a paginated array of funding rate records, each containing the market symbol, a Unix millisecond timestamp, and the hourly funding rate as a decimal fraction (e.g. 0.0000125 = 0.00125% per hour). Includes pagination metadata (has_more, next_cursor) for fetching subsequent pages. On error, returns a structured error object with a machine-readable code and a human-readable message.","failureModes":["INVALID_PARAMETER — market symbol not recognized or query params malformed","HISTORY_OUT_OF_RANGE — requested date range exceeds the one-year maximum lookback","QUERY_WINDOW_EXCEEDED — the from/to window is too large for a single request","RATE_LIMIT_EXCEEDED — too many requests in a short period; upgrade plan or slow down","NOT_FOUND — the specified market does not exist on Hyperliquid","INTERNAL_ERROR — server-side failure; retry after a short delay"],"whenToPreferThis":"Use this endpoint when you need granular hourly funding rate history for Hyperliquid perpetual markets, including both native perps and HIP-3 (tokenized stock) markets. It is superior to on-chain polling or Hyperliquid's own API for historical depth (up to one year), pagination support for large queries, and consistent data from dedicated nodes. Prefer it for backtesting carry trades, computing historical basis, or monitoring funding rate regimes over time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T12:35:13.794Z","isFirstParty":false,"canonicalSlug":"ironflow-hyperliquid-perp-funding-rate-history-2457c054"}