Lighter - L3 Order Book

Get Lighter L3 orderbook

Get the current Lighter L3 order-level snapshot with price, remaining size, order_index, and owner_account_index. Returns up to 250 resting orders per side.

get/v1/lighter/l3orderbook/{symbol}

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/lighter/l3orderbook/{symbol}
  • Auth: API key in header X-API-Key

Path parameters

symbolstring required
Example:BTC

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

Query parameters

timestampinteger
Example:1773273600000

Unix timestamp in milliseconds for the requested Lighter snapshot. If omitted, returns the latest snapshot. ISO 8601 strings are rejected.

accountinteger
Example:281474976710654

Optional numeric Lighter account index filter.

depthinteger
Example:50

Optional maximum number of resting orders returned per side. Values are clamped to the 1–250 ingestion cap.

Response

Typed L3 orderbook snapshot

successboolean required

Example response

{
  "success": true,
  "data": {
    "coin": "BTC",
    "timestamp": "2026-03-12T00:00:00.000Z",
    "orders": [
      {
        "order_index": 562953074779869,
        "owner_account_index": 281474976710654,
        "side": "bid",
        "price": 65127.5,
        "remaining_size": 0.02303,
        "original_size": 0.02303
      }
    ],
    "bid_count": 250,
    "ask_count": 250,
    "total_bid_size": 102.34,
    "total_ask_size": 98.76,
    "mid_price": "65127.25",
    "spread": "0.50",
    "spread_bps": "0.08",
    "truncated": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.