femtos

HyperCore · Price-level maps

Liquidation price map

Liquidation prices of every open position, from Hyperliquid's formula on each account's state, bucketed like the stop map.

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

Parameters

ParamInExample or values
coinqueryBTC
bucketsquery40
stepquery(optional)
range_pctquery10

Example

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/hypercore/liquidation-map?coin=BTC&buckets=40&range_pct=10"

Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.

Response fields

FieldTypeMeaning
buckets[]objectAscending price; empty when the mark is unknown: {pxLo, pxHi, long, short}
belowobjectlong: liquidated by a forced sell as price falls to it; short: by a forced buy as price rises to it: {long, short}
aboveobjectlong: liquidated by a forced sell as price falls to it; short: by a forced buy as price rises to it: {long, short}
totalsobjectlong: liquidated by a forced sell as price falls to it; short: by a forced buy as price rises to it: {long, short}
coverageobjectHow much of the open interest the map holds: every account's positions at the snapshot, each liquidation price from Hyperliquid's formula on the account state; none for portfolio-margin cross accounts and positions that cannot be liquidated: {positions, withLiqPx, sz, szWithLiqPx, share, note}
asOfmsTime of `height` (the positions snapshot)
heightintHead block of the layer the answer is cut at: every event up to it is counted (the positions snapshot)
markPxdecimal | nullMark: last trade
rangePctdecimalrange_pct applied
stepdecimal | nullBucket width

Related: Price-level maps

  • Forced flow GET /v1/hypercore/forced-flow
    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.
  • Stop map stream WS hc.stops.map
    The GET /api/hypercore/stops map, pushed whole on subscribe and every 5 s when it changes.
  • Liquidation map stream WS hc.liquidations.map
    The GET /api/hypercore/liquidation-map map, pushed whole on subscribe and every 5 s when it changes.
  • Forced flow stream WS hc.forced_flow.map
    The GET /api/hypercore/forced-flow map, pushed whole on subscribe and every 5 s when it changes.

More