API reference, Price-level maps
Liquidation heatmap cell
The wallets behind one cell of the liquidation heatmap: positions liquidated in a bucket at a column's node state, or now.
- Elysium: not served
- HyperCore
- Not on Elysium: served on HyperCore only
GET https://api.femtos.xyz/v1/hypercore/liquidation-heatmap/positions
Parameters
| Param | In | Example or values | Meaning |
|---|---|---|---|
coin | query | BTC | HyperCore perp coin: BTC, xyz:TSLA |
px_lo | query | 50000 | Bucket low edge (inclusive): one of the heatmap's prices |
px_hi | query | 60000 | Bucket high edge (exclusive): the next price, or pxHi |
height | query | (optional) | A column's height (its node state). Absent: the positions now (the last column of an open window) |
limit | query | 50 | Positions listed (largest first) |
Example
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/hypercore/liquidation-heatmap/positions?coin=BTC&px_lo=50000&px_hi=60000&limit=50"Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.
Response fields
| Field | Type | Meaning |
|---|---|---|
positions[] | object | Positions liquidated in the bucket, largest |size| first; `notional` and `upnl` at the column's px: {address, szi, side, entryPx, notional, upnl, leverage, marginMode, liqPx, liqDistancePct, label, entity} |
long | object | The longs in the bucket (liquidated by a forced sell as price falls to it): {positions, sz, notional} |
short | object | The shorts in the bucket (liquidated by a forced buy as price rises to it): {positions, sz, notional} |
total | int | Positions in the bucket |
px | decimal | null | The column's price: the coin's last trade before the state (now: its last trade); notionals and PnL at it |
height | int | null | Block of the positions read: the column's node state, or the block the positions now are at |
t | ms | null | Its time (Unix ms) |
live | boolean | The positions now (no height) |
unavailable | string | Present when the positions are not readable: a state no longer kept, no positions cut yet (positions empty) |
Related: Price-level maps
- Liquidation price map GET /v1/hypercore/liquidation-map HyperCore
Liquidation prices of every open position, from Hyperliquid's formula on each account's state, bucketed like the stop map. - Liquidation map stream WS hc.liquidations.map HyperCore
The GET /v1/hypercore/liquidation-map map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). - Liquidation heatmap GET /v1/hypercore/liquidation-heatmap HyperCore
Liquidation prices of every open position over time: one column per node state, hour, 4 hours or day, one row per price bucket. - Liquidation heatmap stream WS hc.liquidations.heatmap HyperCore
The GET /v1/hypercore/liquidation-heatmap answer of one perp over its default window ending now, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). - Forced flow GET /v1/hypercore/forced-flow HyperCore
Stop-loss / take-profit orders and liquidations on the same buckets: the cascade (stops + liquidations, with the move) and the take-profits (against it) at each price. - Forced flow stream WS hc.forced_flow.map HyperCore
The GET /v1/hypercore/forced-flow map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). - Price level GET /v1/hypercore/price-level HyperCore
The orders and positions inside one bucket of the maps: each stop / take-profit with its wallet and position, each position liquidated there. - Stop map stream WS hc.stops.map HyperCore
The GET /v1/hypercore/stops map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch).
More
- This page as Markdown
- The whole API reference
- What HyperCore serves
- The whole API in one Markdown file
- OpenAPI 3.1 document
Agent guide (agents.md)llms.txtOpenAPIMCP serverGet an API keyChangelog