{"uid":"cap_rWbVEX6oV9nX4w0XoJVNd","slug":"bykaranteli-funding-rate-history-aa7430e3","name":"ByKaranteli Funding Rate History","description":"Settled funding rate history at per-venue, per-settlement granularity (every 8h print with its source exchange), the series behind carry and basis work. The free CC0 metric-daily download already carries a single daily BTC funding aggregate; this route is for the venue-level record.","url":"https://bykaranteli.com/api/x402/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":{"to":{"type":"string","description":"iso, optional"},"from":{"type":"string","description":"iso, optional"},"limit":{"type":"number","description":"number, optional, max 20000"},"symbol":{"type":"string","description":"string, optional"},"exchange":{"type":"string","description":"string, optional"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"rows":[],"count":500,"dataset":"funding-history"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_s9RmykDeqZUhwsEgSzjB0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns settled perpetual funding rate history per symbol and exchange, enabling carry and basis analysis.","exampleAgentPrompt":"Pull the settled funding rate history for BTCUSDT on Binance from January 1 2024 to March 31 2024, up to 500 rows, so I can compute the annualized carry for that period.","exampleUseCases":[{"title":"Carry trade performance analysis","prompt":"Fetch the funding rate history for ETHUSDT on Bybit for all of 2023 — up to 500 rows — so I can calculate the average annualized carry and see how it trended over the year."},{"title":"Cross-exchange funding rate arbitrage","prompt":"Get me the funding rate history for SOLUSDT on both Binance and OKX from October 1 to December 31 2023, so I can compare which venue paid higher funding and identify arbitrage windows."},{"title":"Basis trading backtesting","prompt":"I need the last 90 days of settled funding rates for BTCUSDT across all available exchanges — limit to 500 rows — to backtest a cash-and-carry basis strategy."}],"resultDescription":"Returns a JSON object with ok=true, a dataset label of 'funding-history', a count of returned rows, and a rows array containing settled funding rate records per symbol and venue — each record includes timestamp, symbol, exchange, and funding rate value.","failureModes":["Invalid symbol or exchange name returns empty rows array","Date range too large may be capped at dataset row limit","Missing required query parameters may return error or empty result","Unsupported currency filter returns no matching rows","Payment failure (402) if x402 micropayment is not attached"],"whenToPreferThis":"Choose this endpoint when you need historical settled funding rates for perpetual futures across major crypto exchanges, specifically for carry analysis, basis trading backtesting, or cross-venue funding comparisons. It is distinct from live funding rate feeds or liquidation data endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:35:48.779Z","isFirstParty":false}