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.

  • Not on Elysium: served on HyperCore only

GET https://api.femtos.xyz/v1/hypercore/liquidation-heatmap/positions

Parameters

ParamInExample or valuesMeaning
coinqueryBTCHyperCore perp coin: BTC, xyz:TSLA
px_loquery50000Bucket low edge (inclusive): one of the heatmap's prices
px_hiquery60000Bucket high edge (exclusive): the next price, or pxHi
heightquery(optional)A column's height (its node state). Absent: the positions now (the last column of an open window)
limitquery50Positions 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

FieldTypeMeaning
positions[]objectPositions 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}
longobjectThe longs in the bucket (liquidated by a forced sell as price falls to it): {positions, sz, notional}
shortobjectThe shorts in the bucket (liquidated by a forced buy as price rises to it): {positions, sz, notional}
totalintPositions in the bucket
pxdecimal | nullThe column's price: the coin's last trade before the state (now: its last trade); notionals and PnL at it
heightint | nullBlock of the positions read: the column's node state, or the block the positions now are at
tms | nullIts time (Unix ms)
livebooleanThe positions now (no height)
unavailablestringPresent 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

Agent guide (agents.md)llms.txtOpenAPIMCP serverGet an API keyChangelog