{"uid":"cap_ajk9GFMNK4UlpblKfLOL4","slug":"ironflow-liquidation-levels-by-price-bucket-0f73d0c5","name":"Ironflow Liquidation Levels by Price Bucket","description":"Liquidated size on a Hyperliquid perp bucketed by price: at which price levels longs and shorts were liquidated, with count and total size per bucket and side, over a window of up to 7 days anywhere in the last year. Use it to map liquidation clusters and the crypto price levels where leverage was flushed, for BTC, ETH, SOL, HYPE or any other perp.","url":"https://api.ironflow.sh/x402/v1/analytics/liquidation-levels?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":["market"],"properties":{"to":{"type":"string","description":"End: Unix ms, ISO 8601, relative (-1h) or now (default)"},"from":{"type":"string","description":"Start: Unix ms, ISO 8601, or relative (-7d, now-24h); up to 14 days back"},"limit":{"type":"string","description":"Buckets to return, busiest first"},"market":{"type":"string","description":"Market: BTC, ETH-PERP, HYPE/USDC, xyz:NVDA (HIP-3) or a Hyperliquid coin name"},"bucket_size":{"enum":["auto","1","5","10","50","100","500","1000","5000"],"type":"string","description":"Price bucket width: auto (about 0.25% of price) or fixed (default 100)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"side":{"enum":["buy","sell"],"type":"string","description":"Liquidation order side: sell closes a long, buy closes a short"},"count":{"type":"integer","description":"Liquidations in the bucket"},"market":{"type":"string","description":"Market symbol, e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP"},"total_size":{"type":"string","description":"Liquidated size in the base asset"},"price_bucket":{"type":"string","description":"Bucket's lower price"}},"description":"A bucket"},"description":"One row per price bucket and side"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code: INVALID_PARAMETER, HISTORY_OUT_OF_RANGE, QUERY_WINDOW_EXCEEDED, RATE_LIMIT_EXCEEDED, NOT_FOUND, INTERNAL_ERROR"},"message":{"type":"string","description":"What went wrong and how to fix the request"},"upgrade":{"type":"object","properties":{},"description":"On a limit error: the plan or paid call that lifts it"}},"description":"Present instead of the data on a 4xx or 5xx answer."}},"description":"Price buckets, most liquidations first"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U9MX51AVmNhR8KFaADDwi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Hyperliquid perpetual liquidations bucketed by price level, showing count and total size per bucket per side (long/short), over a configurable time window up to 7 days within the past year.","exampleAgentPrompt":"Show me the BTC liquidation clusters by price level for the last 24 hours using $100 buckets, so I can see where the most longs and shorts were flushed out on Hyperliquid.","exampleUseCases":[{"title":"Identify BTC liquidation walls before trading","prompt":"Pull the BTC-PERP liquidation levels from the past 48 hours in $500 price buckets — I want to see which price zones wiped out the most longs vs shorts on Hyperliquid so I can plan my entry."},{"title":"Post-crash liquidation cluster analysis","prompt":"SOL just had a big move — can you get me the liquidation breakdown by price bucket for SOL perp over the last 7 days with $10 buckets, showing how many positions were flushed at each level and on which side?"},{"title":"HYPE perpetual leverage flush mapping","prompt":"Map out where leverage got wiped on HYPE perp over the past 3 days using $5 price buckets — show me the count and total size for both long and short liquidations at each price level."}],"resultDescription":"An array of rows, one per price bucket per side, each containing: the market symbol (e.g. BTC-PERP), the lower bound of the price bucket, the liquidation side (buy closes a short, sell closes a long), the number of liquidations in that bucket, and the total liquidated size in the base asset. Errors include machine-readable codes for invalid parameters, out-of-range history, exceeded query windows, rate limits, or internal errors.","failureModes":["INVALID_PARAMETER: unrecognized market symbol or invalid bucket_size value","HISTORY_OUT_OF_RANGE: requested window extends beyond one year ago","QUERY_WINDOW_EXCEEDED: requested time window exceeds 7 days","RATE_LIMIT_EXCEEDED: too many calls in a short period","NOT_FOUND: market exists but has no liquidation data in the window","INTERNAL_ERROR: upstream data pipeline issue"],"whenToPreferThis":"Use this endpoint when you need price-level granularity on liquidations — specifically which price buckets accumulated the most forced closures and on which side. It is better than the liquidation totals endpoint when you need a heatmap or cluster view rather than aggregate USD totals, and better than the raw fills endpoint when you want pre-aggregated, bucketed data rather than individual liquidation events.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:36:56.932Z","isFirstParty":false,"canonicalSlug":"ironflow-liquidation-levels-by-price-bucket-0f73d0c5"}