{"uid":"cap_FNlxv2b3G-UH-zEg9AQSs","slug":"crypto-leverage-metrics-by-symbol-d0fe58e9","name":"Crypto Leverage Metrics by Symbol","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://x402-stock-indicators.vercel.app/crypto-leverage/%7Bsymbol%7D","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_sJ-lKix0liS8d0DHW_w2Y","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 market data for a crypto symbol including funding rate, open interest, and long/short account ratio from derivatives markets","exampleAgentPrompt":"What are the current funding rate, open interest, and long/short account ratio for BTC perpetual swaps right now — is the market leaning bullish or bearish?","exampleUseCases":[{"title":"Pre-trade leverage sentiment check","prompt":"Before I open a long position on ETH, can you pull the current funding rate and long/short ratio for ETH perps so I can see if the market is overcrowded on one side?"},{"title":"Funding rate arbitrage monitoring","prompt":"I'm running a funding rate arb strategy — what's the current funding rate for BTC, when is the next settlement, and is the rate trending up or down?"},{"title":"Crypto derivatives market dashboard","prompt":"Give me a full snapshot of BTC's derivatives market right now: funding rate, open interest in USD, and whether accounts are net-long or net-short."}],"resultDescription":"A JSON object containing: the symbol and exchange/instrument name, current funding rate (as percent and decimal), funding rate trend, last and next settlement times, previously settled rate, open interest in USD and coin amount with trend, and the long/short account ratio with a plain-English interpretation of market positioning bias.","failureModes":["Symbol not supported — returns error if the symbol has no derivatives data on OKX","Payment failure — x402 micropayment of $0.01 USDC must succeed before data is returned; insufficient balance causes 402 rejection","Stale or unavailable data — open interest trend may lag or be unavailable for low-volume symbols","Invalid symbol format — passing a malformed ticker may return a 400 or empty response"],"whenToPreferThis":"Choose this endpoint when you need real-time crypto derivatives sentiment data — specifically funding rates, open interest, and long/short positioning — paid per-call with no API key or subscription. Ideal for trading agents, market monitoring workflows, or quant strategies that need on-demand leverage metrics without committing to a data vendor. Prefer over subscription-based data APIs when usage is sporadic or cost-per-call economics are favorable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:48.136Z","isFirstParty":false}