Liquidation map
get_liquidation_mapWhere open positions on a Hyperliquid perp would be liquidated if the price moved: notional (size x liquidation price) by price range, longs below the current price and shorts above, with running totals from the price outward. Built from every open position in our node's latest state snapshot, about every 12 minutes (snapshot.age_s says how old). Cross-margin prices assume the account's other positions stay at mark, so a real move that drags correlated markets liquidates earlier; portfolio-margin accounts use Hyperliquid's own liquidation price. For liquidations that already happened use get_liquidation_levels. Without a key you get the 10 largest ranges within 10% of the price; any key, including a free one (https://ironflow.sh/key), returns every range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"market": "<market>"
},
"name": "get_liquidation_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Which side's liquidations. Default both | |
| market | Yes | Market: BTC-PERP, xyz:NVDA-PERP, HYPE/USDC, or a Hyperliquid name (BTC, @107, xyz:NVDA) | |
| range_pct | No | How far from the current price to cover, in percent. Default 20, max 50 | |
| bucket_size | No | Price range width: auto (default, about 0.25% of price) or a number in the market's price units |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | both, long or short | |
| as_of | No | When the map was priced (RFC 3339) | |
| stale | No | True when the last snapshot could not be read and an older map is served | |
| levels | No | Price ranges, low to high | |
| market | No | Display symbol, e.g. "BTC-PERP" or "xyz:NVDA-PERP" | |
| notice | No | Present without a key: the result is a 10-range sample | |
| mark_px | No | Current mark price | |
| coverage | No | What the map covers | |
| snapshot | No | The node state snapshot the positions come from | |
| range_pct | No | Percent from the price covered | |
| bucket_size | No | Price range width used |