Skip to main content
GET
Get Lighter L3 orderbook history
API key required. Send X-API-Key with this request. See REST authentication.
Open the generated operation schema for machine-readable request and response details.

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours at https://0xarchive.io/dashboard

Path Parameters

symbol
string
required

Trading pair symbol (e.g., BTC, ETH, SOL)

Example:

"BTC"

Query Parameters

start
integer<int64>

Start timestamp in Unix milliseconds. Defaults to 24 hours before the request. ISO 8601 strings are rejected.

Example:

1773273600000

end
integer<int64>

End timestamp in Unix milliseconds. Defaults to now. ISO 8601 strings are rejected.

Example:

1773273900000

cursor
integer<int64>

Timestamp cursor in Unix milliseconds from the previous response metadata.

limit
integer<int64>
default:100

Maximum number of snapshots per response; effective values are clamped to 1–1000 (default: 100).

Required range: x <= 1000
granularity
enum<string>
default:checkpoint

Optional history resolution. Canonical values are checkpoint (default), 30s, 10s, 1s, and tick.

Available options:
checkpoint,
30s,
10s,
1s,
tick
account
integer<int64>

Optional numeric Lighter account index filter.

Example:

281474976710654

Response

Typed historical L3 orderbook snapshot array

success
boolean
required
Example:

true

data
object[]
required
meta
object
required

Response metadata

Last modified on September 8, 2026