{"uid":"cap_rp72Oo3ZMjtT-_7kqNW0m","slug":"x402toll-crypto-liquidation-price-calculator-979637fc","name":"x402toll Crypto Liquidation Price Calculator","description":"Liquidation price for a leveraged long or short (isolated margin), plus the % move to liquidation.","url":"https://x402toll.com/v1/crypto/liquidation-price","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"side":{"enum":["long","short"],"type":"string","default":"long"},"leverage":{"type":"number"},"entryPrice":{"type":"number"},"maintenanceMarginRatePct":{"type":"number","default":0.5}}},"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_cFE5jr--VULJnrRIlf6Ww","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":"Calculates the liquidation price and percentage move to liquidation for a leveraged long or short position using isolated margin.","exampleAgentPrompt":"I opened a 10x leveraged long on ETH at an entry price of $3,200 with a 0.5% maintenance margin rate — what's my liquidation price and how far can it drop before I get wiped out?","exampleUseCases":null,"resultDescription":"Returns the exact liquidation price for the leveraged position and the percentage price move (up or down) that would trigger liquidation, given the entry price, leverage, side, and maintenance margin rate.","failureModes":["Missing required fields (side, leverage, entryPrice) returns a 400-level error","Invalid side value other than 'long' or 'short' causes validation failure","Leverage of 0 or negative value may cause division errors or rejection","Extremely high leverage with very low maintenance margin may return edge-case results","Network or payment (x402) failures prevent the call from completing"],"whenToPreferThis":"Use this endpoint when you need a quick, reliable computation of isolated-margin liquidation price and distance for a single crypto leverage position — especially when you already know the entry price, leverage multiple, and side. Prefer this over manual calculation or general finance APIs that don't specialize in crypto derivatives risk math.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:00.219Z","isFirstParty":false}