/levels family computes these estimates from clearinghouse positions and margin state, then groups them into price buckets around the snapshot mark price.
This is a separate data grain from completed liquidation events, liquidation-volume buckets, and voluntary trigger orders. The projected-level routes currently cover Hyperliquid core and HIP-3. There is no Lighter projected-level route in the OpenAPI contract.
For completed liquidation events and volume, use Liquidations. The generated operation pages linked below provide the route-specific request and response schemas.
Routes
Get projected levels
Omitat to receive the latest retained snapshot for a symbol. Pass at as epoch milliseconds to receive the newest snapshot at or before that instant. The response’s snapshot_ts identifies the UTC snapshot that the levels reflect.
Snapshots are computed roughly every 5 minutes. That cadence describes the retained snapshot source, not a real-time liquidation-price calculation for one account or position.
- Hyperliquid
- HIP-3
BTC.Request parameters
An
at value before retained history returns 404. A history window with no matching snapshots returns 200 with an empty data array, whether the window is before retained coverage or simply contains no snapshot for that symbol. An empty page means no retained snapshot matched the request; it does not mean projected exposure was zero. Invalid side values, malformed cursors, and history windows where start is after end return validation errors.
Example response
Representative, abridged Hyperliquid core snapshot forrange_pct=1&buckets=10 from the source: "raw" response form. The full response contains the requested ten buckets; eight are omitted below, and the request ID is synthetic.
Response fields
Responses use the{ success, data, meta } envelope. The projected-level fields are inside data.
When
source is histogram, requests narrower than source_bin_width do not create new source detail. Notional is redistributed proportionally across overlapping requested buckets, while position counts remain at the source resolution. History items do not emit either source field.
Read retained history
Use the/history variant to enumerate snapshots in ascending snapshot_ts order. Pass meta.next_cursor from one response as cursor for the next page.
Summary history response
Representative response to thelimit=1&summary=true request above. The request ID is synthetic.
summary=true when you do not need the bucket histogram. Summary items retain snapshot_ts, block_number, mid_price, total_long, total_short, and flagged_notional, while omitting only levels. This is the lower-payload way to discover snapshots before fetching selected histograms.
When summary is false or omitted, each history item includes its bucketed levels array. Use range_pct, buckets, and side to control the returned view. The generated history pages document the complete contracts:
Interpret the response
Long exposure is projected below the snapshot mark price and short exposure above it. A bucket with more projected notional means more open-position exposure is estimated to be forced near that price. It does not predict that the market will trade there, and it is not completed liquidation volume.total_long and total_short cover the whole book, while levels contains only the requested range_pct window. Do not expect the visible bucket sums to equal the whole-book totals. Keep flagged_notional beside those totals so approximate exposure or exposure not assigned to a returned bucket remains visible.
These projected forced-liquidation levels are aggregate bucketed estimates. They are not an account, wallet, or position liquidation-price endpoint.
Stream it live
There is no dedicated projected liquidation-level WebSocket channel. Poll the REST snapshot on a cadence that reflects the roughly 5-minute source update instead of treating it as a tick stream. For completed forced-liquidation events, use the Hyperliquid coreliquidations or HIP-3 hip3_liquidations WebSocket channel documented on WebSocket channels.
Export in bulk
There is no standalone projected liquidation-level export schema. Use the cursor-paginated history route for retained projected snapshots. The Data Catalogliquidations export contains completed liquidation events, not projected forced-liquidation levels.
Keep liquidation data grains separate
Trigger levels are voluntary orders, not projected forced liquidations. Their history uses a separate route family and cadence. Open the generated Hyperliquid trigger-level history and HIP-3 trigger-level history pages for those contracts.