Get Hyperliquid native L2 order book history (20 levels)
Get historical venue-native Hyperliquid L2 order book snapshots within a time range. Historical windows use start and end Unix-millisecond query parameters. This native route is capped at 20 price levels per side; use /v1/hyperliquid/orderbook/{symbol}/l2/history for plan-capped full-depth checkpoint history derived from L4.
Authorizations
API key for authentication. Get yours at https://www.0xarchive.io/dashboard/
Path Parameters
Trading pair symbol (e.g., BTC, ETH, SOL)
"BTC"
Query Parameters
Start timestamp in Unix milliseconds. Defaults to 24h ago.
End timestamp in Unix milliseconds. Defaults to now.
Cursor for pagination (timestamp from previous response's next_cursor)
Maximum number of results (default: 100, max: 1000)
x <= 1000Requested price levels per side for this native venue snapshot. Hyperliquid native L2 data is capped at 20 levels per side; values above 20 do not return 200/full depth on this route. Use the /l2 routes for Build 200-level or Pro/Enterprise full-depth aggregated L2.
x <= 20