{"uid":"cap_Q1umHC3yhgjKbdvPL3s3M","slug":"fundingfeed-cross-exchange-perpetual-funding-rate-best-execution-4701209b","name":"FundingFeed — Cross-Exchange Perpetual Funding Rate & Best Execution","description":"Cross-exchange perpetual funding rate arbitrage, open interest, and best-execution for BTC/ETH/SOL. Aggregates live perpetual venues (OKX, Bybit, Gate.io, HTX, Hyperliquid, BingX, Bitget, Kraken, Coinbase, MEXC) into one call: current funding rate per venue, min/max/mean annualized funding, the cross-venue funding arbitrage spread, next funding time per venue, total open interest in USD with a per-venue breakdown, and real top-of-book best bid/ask. Use it to find the best funding rate arbitrage opportunity across exchanges, compare funding rates between Bybit and OKX for a specific coin, check annualized carry cost for a long/short funding arb, identify which exchange has the most negative funding rate right now, scan for cross-venue funding divergences in crypto perpetuals, monitor funding spreads to time a cash-and-carry strategy, detect crowded positioning from open interest, and route orders to the venue with the best price. Paid per call: 0.005 USDC on Base, Polygon, Solana or Tempo (MPP, no gas). FIRST CALL FREE per wallet — send header \"X-WALLET: 0x<your Base address>\" and get the full feed with no payment. Try it before you pay.","url":"https://funding-feed.kaminariouji.workers.dev/best-execution?utm_source=zero.xyz","method":"POST","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","POST"],"type":"string"},"queryParams":{"type":"object","additionalProperties":true}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"Aggregated from public REST APIs. Not financial advice. Verify independently.","symbol":"BTCUSDT","funding":{"count":5,"byExchange":[{"exchange":"okx","annualizedPct":10.6,"nextFundingAt":"2026-09-21T08:00:00.000Z"}],"arbSpreadPct":7.23,"maxAnnualizedPct":10.95,"minAnnualizedPct":3.72,"meanAnnualizedPct":6.83},"exchangesOk":7,"generatedAt":"2026-09-21T00:00:00.000Z","openInterest":{"count":5,"meanUsd":2660000000,"totalUsd":13300000000,"byExchange":[{"oiUsd":5000000000,"exchange":"okx"}]},"bestExecution":{"prices":[{"ask":116010,"bid":116000,"last":116005,"exchange":"okx"}],"bestAsk":{"price":116010,"exchange":"okx"},"bestBid":{"price":116000,"exchange":"gate"},"spreadPct":0.0086},"exchangesQueried":11}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_0ojAVTH4-0gRuzuthyLaR","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":"Aggregates live perpetual funding rates, open interest, and top-of-book best bid/ask across 10+ crypto exchanges (OKX, Bybit, Gate.io, HTX, Hyperliquid, BingX, Bitget, Kraken, Coinbase, MEXC) for BTC, ETH, or SOL into a single call.","exampleAgentPrompt":"Pull the current cross-exchange funding rates and open interest for BTC right now — I want to see which venue has the highest and lowest annualized funding rate, the arb spread between them, and where the best bid and ask are sitting across all venues.","exampleUseCases":[{"title":"Cash-and-carry funding arb timing","prompt":"I'm thinking of running a cash-and-carry arb on ETH — can you check the current annualized funding rates across all the major perp exchanges, show me the spread between the best and worst payer, and tell me when the next funding settlement is on each venue?"},{"title":"Detecting crowded long positioning via open interest","prompt":"I want to know if BTC longs are getting crowded right now — pull the total open interest in USD across all perpetual venues and break it down by exchange so I can see where the biggest positions are concentrated."},{"title":"Best execution routing for a perp trade","prompt":"Before I enter a SOL perpetual position, can you check the real-time top-of-book best bid and ask across OKX, Bybit, Gate, and the other venues so I know which exchange gives me the tightest spread and best fill price?"}],"resultDescription":"Returns a JSON object with: the queried symbol, funding data (count of venues, per-exchange annualized funding rate and next funding time, min/max/mean annualized funding, cross-venue arb spread %), open interest data (total USD, mean USD, per-exchange OI in USD), best execution data (per-exchange bid/ask/last prices, overall best bid and best ask with exchange name, spread %), number of exchanges successfully queried, and a timestamp of data generation.","failureModes":["Individual exchange APIs may be down — exchangesOk count will be less than exchangesQueried, reducing arb spread reliability","Unsupported symbol returns empty or error response","Rate limiting or payment failure (x402) returns 402 Payment Required","Stale data if a downstream exchange API is slow to respond — check generatedAt timestamp","Network timeout on the Cloudflare worker if multiple upstream APIs are slow simultaneously"],"whenToPreferThis":"Use this endpoint when you need a single aggregated view of perpetual funding rates, open interest, and best execution across 10+ major crypto exchanges simultaneously, avoiding the need to call each venue's API individually. Prefer it over exchange-specific APIs when identifying cross-venue funding arbitrage opportunities, sizing carry trades, or routing orders for best price. It is especially valuable for delta-neutral strategies where funding rate differentials across venues are the primary alpha source.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:42:49.785Z","isFirstParty":false,"canonicalSlug":"fundingfeed-cross-exchange-perpetual-funding-rate-best-execution-48703514"}