Lighter - Order Book
Get Lighter order book
Get the latest order book snapshot for a coin, or at a specific timestamp. Returns L2 depth with price, size, and order count at each level. Tick-level resolution.
get/v1/lighter/orderbook/{symbol}
Request
- Base URL: https://api.0xarchive.io
- URL: https://api.0xarchive.io/v1/lighter/orderbook/{symbol}
- Auth: API key in header X-API-Key
Path parameters
symbolstring required
Example:ETH
Trading pair symbol (e.g., BTC, ETH)
Query parameters
Example:1767225600000
Instant to read. If not provided, returns latest snapshot. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.
depthinteger
Example:20
Requested price levels per side. The Lighter native L2 route includes all served levels.
Response
Order book snapshot
Example response
{
"success": true,
"data": {
"symbol": "BTC",
"coin": "BTC",
"timestamp": "2025-01-21T10:30:45.123Z",
"bids": [
{
"px": "42150.00",
"sz": "1.5",
"n": 15
}
],
"asks": [
{
"px": "42150.00",
"sz": "1.5",
"n": 15
}
],
"mid_price": "42150.50",
"spread": "1.00",
"spread_bps": "2.37"
},
"meta": {
"symbol": "BTC",
"venue": "hyperliquid"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.