{"uid":"cap_q49ltYL50MAT4H7rUZNUQ","slug":"derivs-funding-936450bd","name":"derivs-funding","description":"Perpetual-swap funding rates for an asset fused across decentralized venues (Hyperliquid, dYdX v4): each venue's current funding plus an open-interest weighted aggregate funding rate, annualized APR, the cross-venue spread and dispersion. One normalized call instead of polling each protocol and reconciling funding intervals yourself.","url":"https://payai.agentstools.dev/derivs/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Base asset ticker (BTC, ETH, SOL). A quote suffix such as BTC-USD or BTC-PERP is accepted and normalized server-side."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_jhwHIb9gqDn5ZYkapGjoZ","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 perpetual-swap funding rates for a crypto asset aggregated across Hyperliquid and dYdX v4, including per-venue rates, open-interest-weighted aggregate, annualized APR, cross-venue spread, and dispersion.","exampleAgentPrompt":"What's the current perpetual funding rate for ETH across Hyperliquid and dYdX right now — including the open-interest-weighted aggregate and the annualized APR?","exampleUseCases":[{"title":"Funding arbitrage opportunity detection","prompt":"Check the cross-venue funding spread for BTC perps between Hyperliquid and dYdX — I want to know if there's a meaningful disparity worth arbitraging right now."},{"title":"Carry trade APR estimation","prompt":"What's the annualized funding APR for SOL perpetual swaps aggregated across DeFi venues? I'm trying to figure out if a long spot / short perp carry trade makes sense."},{"title":"Real-time funding dashboard update","prompt":"Pull the latest funding rates for ETH across all supported decentralized perp venues, including the aggregate weighted rate and any cross-venue dispersion."}],"resultDescription":"A JSON object containing: each venue's (Hyperliquid, dYdX v4) current funding rate, the open-interest-weighted aggregate funding rate, the annualized APR of that aggregate, the cross-venue spread (difference between highest and lowest venue rate), and dispersion metric — all normalized to a common interval for direct comparison.","failureModes":["Unsupported symbol returns an error or empty result (e.g. obscure altcoins not listed on both venues)","Venue API downtime may cause partial results or stale data for that venue","Malformed symbol not normalized correctly may return 400 or empty response","Network timeouts to upstream protocols may cause latency spikes or failures"],"whenToPreferThis":"Use this endpoint when you need a single, normalized view of perpetual funding rates across multiple decentralized venues (Hyperliquid, dYdX v4) without writing your own polling, interval-reconciliation, or aggregation logic. Prefer it over querying each protocol directly when you want cross-venue spread, dispersion, or an OI-weighted aggregate in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:43:33.084Z","isFirstParty":false}