{"uid":"cap_fEsRH9bzHW5fPE-S1eNSN","slug":"cambrian-perpetuals-risk-engine-e46905bc","name":"Cambrian Perpetuals Risk Engine","description":"Calculate Risk","url":"https://x402.cambrian.org/api/v1/perp-risk-engine","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","additionalProperties":true}}},"output":{"type":"object","properties":{"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IbodhRRuY7wbuT_-c_lKv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns risk metrics and parameters for perpetual futures positions on DeFi protocols","exampleAgentPrompt":"What are the current risk parameters and liquidation thresholds for a leveraged BTC perpetuals position from the Cambrian risk engine?","exampleUseCases":[{"title":"Liquidation risk check before trading","prompt":"Before I open a 10x leveraged ETH-PERP position, can you pull the current liquidation thresholds and margin requirements from the Cambrian perpetuals risk engine?"},{"title":"Risk monitoring for open perp positions","prompt":"Check the Cambrian perp risk engine right now and tell me if any of my open perpetuals positions are approaching dangerous risk levels or liquidation zones."},{"title":"DeFi protocol risk parameter lookup","prompt":"Pull the latest risk metrics for BTC perpetuals from the Cambrian risk engine — I need the funding rate, margin ratios, and any current risk flags."}],"resultDescription":"Returns a JSON object containing risk metrics for perpetual futures markets, potentially including margin requirements, liquidation prices, funding rates, position health scores, and risk flags for the queried trading pair or position.","failureModes":["Missing or invalid query parameters return a 400 error","Unsupported trading pair or market returns empty or error response","Network timeout or service unavailability returns a 5xx error","Payment of $0.05 USDC not fulfilled results in 402 Payment Required","Stale data if the risk engine has not recently updated market parameters"],"whenToPreferThis":"Choose this endpoint when you need real-time perpetual futures risk parameters from the Cambrian risk engine, particularly for DeFi perpetuals protocols. Prefer this over generic market data endpoints when you specifically need risk metrics like liquidation thresholds, margin requirements, and position health data for perpetual futures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:45:51.849Z","isFirstParty":false}