{"uid":"cap_mh6HhNgGT4r8STpRmIZTU","slug":"delx-commerce-liquidation-cascade-steps-calculator-13a7e009","name":"Delx Commerce — Liquidation Cascade Steps Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/liq-cascade-steps?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"entry":{"type":"number","description":"Entry price of the position"},"steps":{"type":"integer","description":"Number of cascade steps to emit"},"leverage":{"type":"number","description":"Position leverage multiplier"},"maintenance":{"type":"number","description":"Maintenance margin fraction"}}},"responseSchema":{"type":"json","example":{"steps":[{"step":1,"leverage":10,"liq_price_long_approx":90.5},{"step":2,"leverage":5,"liq_price_long_approx":80.5},{"step":3,"leverage":3.333333333333333,"liq_price_long_approx":70.5}],"schema":"delx/util-liq-cascade-steps/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rUFnelevFEfU-R1AjRtlf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a sequence of liquidation price levels across multiple leverage steps for a leveraged trading position.","exampleAgentPrompt":"I entered a long position at $1500 with 10x leverage and a 0.5% maintenance margin — can you calculate a 5-step liquidation cascade so I can see how my liq price shifts as leverage steps down?","exampleUseCases":[{"title":"Futures position risk mapping","prompt":"I opened a long at $28,000 on BTC with 20x leverage and a 1% maintenance margin. Give me a 6-step liquidation cascade so I can see where I'd get liquidated as leverage drops."},{"title":"DeFi leverage vault derisking plan","prompt":"My vault entered at $1800 ETH with 5x leverage and 0.8% maintenance margin. Can you compute 4 cascade steps to show the liquidation prices I need to watch as I reduce leverage?"},{"title":"Trading bot liq-level alert setup","prompt":"For a perpetual long entered at $0.45 with 15x leverage and 0.6% maintenance margin, generate 8 liquidation cascade steps so my bot can set alerts at each level."}],"resultDescription":"Returns a JSON array of cascade steps, each containing the step index, the effective leverage at that step, and the approximate liquidation price for a long position. The schema tag 'delx/util-liq-cascade-steps/v1' is included for verifiability.","failureModes":["Missing required fields (entry, steps, leverage, maintenance) return a 400 error","Invalid leverage values (e.g. zero or negative) may cause computation errors","Non-integer step counts may be rejected or truncated","Payment failure via x402 protocol returns a 402 response before computation occurs"],"whenToPreferThis":"Use this endpoint when you need a structured, multi-step breakdown of liquidation prices across decreasing leverage levels for a long futures or perpetual position. It is ideal for risk dashboards, trading bots setting cascaded stop-alerts, or agents helping users understand deleverage risk without requiring signup or subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:04.439Z","isFirstParty":false,"canonicalSlug":"delx-commerce-liquidation-cascade-steps-calculator-13a7e009"}