{"uid":"cap_IsxMD8ygufN2-YaIgLYXW","slug":"financial-data-x402-crypto-leverage-data-4d31c790","name":"Financial Data x402 – Crypto Leverage Data","description":"Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.","url":"https://x402financialdata.com/crypto-leverage/%7Bsymbol%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"as_of":"2026-07-30T03:43:22Z","symbol":"BTC","exchange":"OKX","instrument":"BTC-USDT-SWAP","funding_rate":{"trend":"rising","current_rate_pct":0.009209,"current_rate_decimal":0.0000920901255002,"last_settlement_time":"2026-07-30T00:00:00Z","next_settlement_time":"2026-07-30T08:00:00Z","last_settled_rate_pct":0.004043},"open_interest":{"usd":1926781496.87,"as_of":"2026-07-30T03:43:23Z","trend":"falling","contracts":3003711.02,"trend_note":"Trend is aggregated across ALL of BTC's OKX contract types/margin modes -- use for direction only.","coin_amount":30037.1102},"long_short_account_ratio":{"trend":"falling","current_ratio":1.586,"interpretation":"more accounts net-long than net-short (bullish-crowded)"}}},"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_73NSeOBLTcfCUQfX0oTds","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 real-time leverage metrics for a crypto symbol including funding rate, open interest, and long/short account ratio from derivatives exchanges.","exampleAgentPrompt":"What are the current leverage metrics for BTC — funding rate, open interest, and long/short ratio from the perpetual swap market?","exampleUseCases":[{"title":"Funding rate arbitrage signal","prompt":"Check the current funding rate for ETH on the perpetual swap market — is it rising or falling, and when is the next settlement?"},{"title":"Crowding risk assessment for long trades","prompt":"What does the long/short account ratio look like for BTC right now? I want to know if longs are crowded before I enter a position."},{"title":"Open interest trend monitoring","prompt":"Pull the open interest data for SOL perpetual swaps — give me the USD value and whether it's trending up or down."}],"resultDescription":"A JSON object containing the symbol, exchange, instrument name, funding rate details (current rate as percentage and decimal, trend, last and next settlement times, last settled rate), open interest (USD value, coin amount, contract count, trend, as-of timestamp), and long/short account ratio (current ratio, trend, and a plain-English interpretation of market sentiment).","failureModes":["Unsupported symbol returns 404 or empty data","Payment failure via x402 protocol returns HTTP 402 with payment requirements","Exchange data temporarily unavailable may return stale or error response","Malformed symbol path parameter causes 400 or unexpected response","Rate or network issues may cause timeout on real-time data fetch"],"whenToPreferThis":"Choose this endpoint when you need real-time crypto derivatives leverage data — specifically funding rates, open interest, and long/short ratios — without managing API keys or subscriptions. Ideal for agents that need to pay per call using USDC on Base or Solana via the x402 protocol, avoiding upfront subscription costs. Best suited for BTC, ETH, and other major tokens tradeable as perpetual swaps on OKX.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-07T06:48:32.001Z","isFirstParty":false,"canonicalSlug":"financial-data-x402-crypto-leverage-data-4d31c790"}