{"uid":"cap_aAZb1c33mggFJ9lbdfe9w","slug":"x402-data-api-crypto-perp-funding-rates-ad481ca4","name":"x402-data-api Crypto Perp Funding Rates","description":"Cross-venue Hyperliquid+OKX+dYdX perp funding rates — top coins by 24h notional volume, per-venue funding + arb spread (bps) + cheapest-long/richest-short venue, premium/basis, annualized_hl, annualized_okx, LONGS_PAY/SHORTS_PAY/NEUTRAL signal, next_funding_ts, mark/oracle prices, open interest.","url":"https://x402-data-api.sigrunner.workers.dev/crypto/funding","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":"Max coins to return (default 20, max 100)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"coin":"BTC","markPx":63730,"signal":"LONGS_PAY","funding":{"okx":0.0000492,"dydx":-0.00000875,"hyperliquid":0.0000125},"premium":0.00012,"oraclePx":63750,"dayNtlVlm":1670654479.062529,"openInterest":37519.8698399999,"annualized_hl":0.1095,"annualized_okx":0.05387,"best_long_venue":"hyperliquid","next_funding_ts":1784304000000,"best_short_venue":"okx","funding_spread_bps":0.37}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vNWEGctExXi-XX8EuNFqv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns cross-venue perpetual futures funding rates, arbitrage spreads, and market data across Hyperliquid, OKX, and dYdX for top coins by 24h notional volume.","exampleAgentPrompt":"Show me the current cross-venue perp funding rates across Hyperliquid, OKX, and dYdX for the top 30 coins — I want to see the arb spread in bps, which venue is cheapest to go long on each, and whether longs or shorts are paying right now.","exampleUseCases":[{"title":"Find profitable funding rate arb opportunities","prompt":"I want to find the best funding rate arbitrage spreads right now across Hyperliquid, OKX, and dYdX — show me which coins have the widest spreads and tell me exactly where I should go long and where I should short to capture that arb."},{"title":"Route long positions to cheapest venue","prompt":"I'm looking to open a long position on the top 10 perps by volume, but I want to make sure I'm using the cheapest venue for each one — can you show me where the best entry prices are across all three exchanges and flag any coins where there's a huge difference?"},{"title":"Monitor directional signals for trading","prompt":"Pull the latest LONGS_PAY and SHORTS_PAY signals across all venues for the top movers — I want to see which coins are signaling that shorts are currently overleveraged and paying the most funding, so I can potentially fade into those positions."}],"resultDescription":"A list of top coins ranked by 24h notional volume, each with per-venue funding rates, arbitrage spread in basis points, cheapest-long and richest-short venue, premium/basis, annualized funding rates for Hyperliquid and OKX, a LONGS_PAY/SHORTS_PAY/NEUTRAL signal, next funding timestamp, mark and oracle prices, and open interest.","failureModes":["Payment not included or insufficient — returns 402 Payment Required","limit parameter exceeds 100 — may return error or be clamped","Upstream venue API unavailable — partial or stale data for affected venue","Invalid query parameter type — may return 400 or unexpected results"],"whenToPreferThis":"Use this endpoint when you need a single aggregated view of perpetual futures funding rates across Hyperliquid, OKX, and dYdX simultaneously — especially for funding rate arbitrage discovery, venue comparison, or directional signal (LONGS_PAY/SHORTS_PAY). Prefer over venue-specific APIs when cross-venue spread analysis or best-venue routing is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:40:10.219Z","isFirstParty":false}