{"uid":"cap_JzXxE8JYaB6vWBALluYQF","slug":"short-liquidation-price-calculator-07e1b3e4","name":"Short Liquidation Price Calculator","description":"Approximate short liquidation price from entry, leverage, and maintenance. Call when risk banners for leveraged short positions (advisory model). Returns liq price estimate for short as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/liq-price-short","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mmr":{"type":"number","description":"Input field: mmr."},"entry":{"type":"integer","description":"Input field: entry."},"leverage":{"type":"integer","description":"Input field: leverage."}}},"responseSchema":{"type":"json","example":{"mmr":0.005,"entry":100,"schema":"delx/util-liq-price-short/v1","leverage":10,"liq_price":109.5}},"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_w8M63sUFNS7kGkq7qM5GN","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 the approximate liquidation price for a short leveraged position given entry price, leverage, and maintenance margin rate","exampleAgentPrompt":"What's the liquidation price for my short position if I entered at $50000 with 10x leverage and a 0.5% maintenance margin rate?","exampleUseCases":[{"title":"Pre-trade short risk check","prompt":"Before I open a short on ETH at $3200 with 5x leverage and 0.4% MMR, what liquidation price should I watch out for?"},{"title":"Risk banner for active short position","prompt":"I have a short position entered at $65000 BTC with 20x leverage and a 0.5% maintenance margin — show me my liquidation price so I know when to worry."},{"title":"Comparing leverage levels for shorts","prompt":"If I short at $2000 entry price, what's the liquidation price at 3x leverage versus 10x leverage, assuming 0.3% maintenance margin?"}],"resultDescription":"Returns a deterministic JSON object containing the estimated liquidation price for a short position, computed locally from the provided entry price, leverage multiplier, and maintenance margin rate (MMR). No live market data or external feeds are used — the result is a pure mathematical calculation.","failureModes":["Missing required fields (entry, leverage, or mmr) returns a validation error","Zero or negative leverage values may produce invalid or undefined results","Extremely high leverage values may produce liquidation prices close to or above entry, which could be flagged or clamped","Payment failure over x402 protocol returns a 402 Payment Required response","Malformed JSON body returns a 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, offline-style liquidation price estimate for a short position and do not want to call a live exchange API or require market data. Ideal for advisory risk banners, pre-trade checks, or portfolio dashboards where the math is straightforward and latency must be minimal. Prefer this over exchange APIs when you want no external dependencies, API keys, or RPC calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:19:45.943Z","isFirstParty":false}