{"uid":"cap_ft1HaaaKInVtHCX39SM-h","slug":"hyperliquid-perp-liquidation-levels-c6db6a07","name":"Hyperliquid Perp Liquidation Levels","description":"Use when an agent sizes leverage on a Hyperliquid perp or checks how close typical positions are to liquidation. Input: coin, optional leverages (e.g. 5,10,20). Output: JSON mark, max leverage, maintenance margin, long/short liquidation price and distance % per leverage, whether the 24 h range exceeds it, 24 h high/low, OI USD, funding APR and crowded side. Estimates, not a live liquidation feed. Example: ?coin=BTC","url":"https://1gateway.dev/v1/crypto/hyperliquid/liquidations?utm_source=zero.xyz","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","required":["coin"],"properties":{"coin":{"type":"string","pattern":"^([a-z][a-z0-9]{0,9}:)?[A-Za-z0-9]{1,20}$","description":"Hyperliquid perp symbol (BTC, ETH, kPEPE) or HIP-3 dex:COIN (xyz:TSLA). Not listed or delisted: 400…"},"leverages":{"type":"string","pattern":"^[0-9.]+(,[0-9.]+){0,9}$","maxLength":40,"description":"Comma-separated leverages 1-100 (default 2,3,5,10,20,25,40,50 up to the coin's max)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["coin","dex","as_of","markPx","maxLeverage","maintenanceMarginPct","range24h","context","levels","method"],"properties":{"dex":{"type":"string"},"coin":{"type":"string"},"as_of":{"type":"string"},"levels":{"type":"array","items":{"type":"object","properties":{"long":{"type":"object","additionalProperties":true},"short":{"type":"object","additionalProperties":true},"leverage":{"type":"integer"}},"additionalProperties":true}},"markPx":{"type":"integer"},"method":{"type":"string"},"context":{"type":"object","properties":{"crowdedSide":{"type":"string"},"openInterestUsd":{"type":"integer"},"fundingAnnualizedPct":{"type":"number"}},"additionalProperties":true},"range24h":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"maxUpMoveToHighPct":{"type":"number"},"drawdownFromHighPct":{"type":"number"},"maxDownMoveToLowPct":{"type":"number"}},"additionalProperties":true},"maxLeverage":{"type":"integer"},"maintenanceMarginPct":{"type":"number"}},"additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mTspah3KcQdCR9RXVNGDL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns estimated liquidation prices and distances for long/short positions on a Hyperliquid perpetual contract across specified leverage levels, with market context.","exampleAgentPrompt":"What are the liquidation prices for BTC longs and shorts on Hyperliquid at 5x, 10x, and 20x leverage, and is any of them within today's 24-hour price range?","exampleUseCases":[{"title":"Pre-trade leverage safety check","prompt":"Before I open a 10x long on ETH on Hyperliquid, can you tell me where my liquidation price would be and whether today's price action has come anywhere near it?"},{"title":"Crowded side and funding context scan","prompt":"Check the BTC perp on Hyperliquid — which side is crowded, what's the annualized funding rate, and what's the open interest in USD right now?"},{"title":"Multi-leverage risk comparison","prompt":"I'm deciding between 5x, 20x, and 50x leverage on a SOL short on Hyperliquid — can you show me the liquidation price and distance percentage for each so I can compare the risk?"}],"resultDescription":"A JSON object containing the mark price, maximum leverage, and maintenance margin percentage for the requested coin, along with an array of per-leverage entries each showing long and short liquidation prices, their distance from current mark price as a percentage, and whether that liquidation level falls within the 24-hour high/low range. Also includes market context: 24h high and low prices, open interest in USD, annualized funding rate, and the crowded side (long or short). Estimates only, not a live liquidation feed.","failureModes":["400 error returned before payment if coin symbol is not listed or has been delisted on Hyperliquid","400 error if coin symbol does not match the required pattern (e.g. invalid characters)","400 error if leverages parameter contains values outside 1-100 range or malformed format","Stale or delayed mark price if Hyperliquid data feed is lagging","Results are estimates and may differ from actual liquidation engine behavior during high volatility"],"whenToPreferThis":"Use this endpoint when an AI agent needs to assess leverage risk or size a position on Hyperliquid perpetuals. It is specifically suited for pre-trade risk checks, comparing safe leverage levels, and understanding market crowding and funding context — all in a single call. Prefer this over a generic market data feed when you need liquidation-specific calculations tied to actual Hyperliquid margin rules, including maintenance margin and per-leverage long/short liquidation distances.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T12:37:30.049Z","isFirstParty":false,"canonicalSlug":"hyperliquid-perp-liquidation-levels-c6db6a07"}