{"uid":"cap_0lDnCk6CRsNiHVaj_zkb5","slug":"crypto-perpetual-funding-rate-history-05f990ac","name":"Crypto Perpetual Funding Rate History","description":"Historical perpetual funding rates for a coin over recent periods with the latest value, average and trend, built from OKX. Lets an agent see whether funding has been persistently positive or negative rather than a single snapshot. Live time series for funding and carry analysis. funding rate history, funding trend, carry, perp","url":"https://api.x402node.dev/market/funding-history","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","properties":{"limit":{"type":"string","description":"periods, default 30"},"symbol":{"type":"string","description":"coin symbol e.g. BTC (default BTC)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YDbondhcJqlMa1vyqo8vm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical perpetual futures funding rates for a crypto coin over recent periods, including the latest value, average, and trend direction, sourced from OKX.","exampleAgentPrompt":"Can you pull the funding rate history for BTC perpetuals from OKX and tell me whether funding has been persistently positive or negative recently, along with the average rate and trend?","exampleUseCases":null,"resultDescription":"A time series of historical funding rates for the requested coin's perpetual futures contract, along with the latest funding rate, the average rate over the period, and a trend indicator showing whether funding is persistently positive, negative, or mixed — enabling carry analysis.","failureModes":["Unknown or unsupported coin symbol returns an error or empty result","OKX data unavailability causes upstream timeout or partial data","Missing required coin parameter returns a 400 bad request","Payment not processed or x402 auth failure blocks the response"],"whenToPreferThis":"Use this endpoint when you need a time-series view of funding rates rather than a single snapshot — particularly for carry trade analysis, identifying persistent long/short bias in a market, or backtesting funding-based strategies. Prefer this over the live funding rate endpoint when historical trend and average matter more than just the current rate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:51.442Z","isFirstParty":false}