{"uid":"cap_6pie4wfAB87STmj-czq5N","slug":"perpetua-crypto-derivatives-risk-signal-api-05d3635c","name":"Perpetua Crypto Derivatives Risk Signal API","description":"Perp derivatives leverage/squeeze signal: funding (8h + annualized), open interest and 24h change, long/short crowding, taker flow, basis, and a 0 to 100 leverage-heat score with a bias call and rationale. Binance Futures data.","url":"https://api.tradeperpetua.xyz/derivatives","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":{"asset":{"enum":["BTC","ETH","SOL","BNB","XRP","ADA","DOGE","AVAX","LINK","DOT","TRX","LTC","UNI","ATOM","NEAR","APT","ARB","OP","SUI","AAVE","INJ","POL"],"type":"string","default":"BTC","description":"Perp asset symbol, one of BTC, ETH, SOL, BNB, XRP, ADA, DOGE, AVAX, LINK, DOT, TRX, LTC, UNI, ATOM, NEAR, APT, ARB, OP, SUI, AAVE, INJ, POL"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"bias":{"enum":["long_squeeze_risk","short_squeeze_risk","neutral"],"type":"string"},"asset":{"type":"string"},"basisPct":{"type":"number"},"markPrice":{"type":"number"},"rationale":{"type":"string"},"confidence":{"enum":["low","medium","high"],"type":"string"},"indexPrice":{"type":"number"},"leverageHeat":{"type":"number","description":"0 to 100 leverage/fragility heat"},"longShortRatio":{"type":"number"},"oiChangePct24h":{"type":"number"},"openInterestUsd":{"type":"number"},"fundingRate8hPct":{"type":"number"},"priceChangePct24h":{"type":"number"},"takerBuySellRatio":{"type":"number"},"fundingAnnualizedPct":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XEaPJUJQLPARPR1B4nzrt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns AI-generated perpetual futures risk signals (squeeze bias, funding rates, leverage heat, open interest) for major crypto assets, pay-per-call in USDC on Base via x402.","exampleAgentPrompt":"What's the current squeeze risk and leverage heat for ETH perpetuals — is it leaning long squeeze, short squeeze, or neutral, and how confident is the signal?","exampleUseCases":[{"title":"Pre-trade squeeze risk check","prompt":"Before I open a long on BTC, can you pull the latest derivatives risk signal for BTC — tell me the bias, confidence, leverage heat, and the funding rate so I can see if longs are overcrowded?"},{"title":"Portfolio risk monitoring for altcoins","prompt":"Check the perpetuals risk signals for SOL and AVAX — I want to know if either one is showing elevated squeeze risk or unusual open interest changes in the last 24 hours."},{"title":"Funding rate arbitrage scouting","prompt":"Which of LINK, UNI, and AAVE has the most extreme annualized funding rate right now on perps? Pull the signals for all three and flag whichever looks most crowded."}],"resultDescription":"A JSON object containing: squeeze bias label (long_squeeze_risk, short_squeeze_risk, or neutral), confidence (low/medium/high), a human-readable rationale, mark price, index price, basis percentage, 8-hour funding rate, annualized funding rate, long/short ratio, taker buy/sell ratio, open interest in USD, 24h OI change percentage, 24h price change percentage, and a leverage heat score (0–100).","failureModes":["Payment not received or insufficient USDC balance — 402 response with payment instructions","Invalid or unsupported asset symbol — may return an error or default to BTC","Rate limiting if too many calls in a short period","Stale or unavailable market data for low-liquidity assets","Network timeout if underlying data sources are slow"],"whenToPreferThis":"Choose this endpoint when you need a synthesized, AI-interpreted risk signal for crypto perpetual futures — not raw exchange data. It is ideal when you want squeeze bias classification, leverage heat scoring, and a plain-English rationale in a single low-cost call ($0.05 USDC). Prefer it over raw exchange APIs when you want pre-computed risk interpretation rather than raw order book data, and when you need pay-per-call flexibility without subscription commitments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:38:29.450Z","isFirstParty":false}