Get Lighter order book history
0xArchive API reference for Get Lighter order book history. Includes authentication, parameters, response shape, examples, and route-safe implementation notes.
Authorizations
API key for authentication. Get yours at https://0xarchive.io/dashboard
Path Parameters
Trading pair symbol (e.g., ETH, BTC)
"ETH"
Query Parameters
Start timestamp in Unix milliseconds. Defaults to 24h ago.
End timestamp in Unix milliseconds. Defaults to now.
Cursor for pagination
Maximum number of results (default: 100, max: 1000)
x <= 1000Number of price levels per side. Full depth available.
Data resolution: checkpoint (1min, default), 30s, 10s, 1s, tick. Checkpoint history starts January 29, 2026; 30s/10s/1s start January 30, 2026. Billed per row returned (about 1 credit per 1,000 rows, minimum 1 credit per request). Higher resolutions return more rows. Note: When granularity=tick, the response format changes to return checkpoint and deltas instead of a data array.
checkpoint, 30s, 10s, 1s, tick