> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Order Book Routes

> Choose 0xArchive L2, L3, L4, snapshot, history, diff, and reconstruction-oriented order-book routes across supported venue families.

Order-book work starts with two decisions: venue family and depth. A generic `orderbook` label is not enough for code, exports, storage, or backtests because L2 snapshots, L3 individual orders, L4 lifecycle data, diffs, and reconstruction checkpoints are different artifacts.

## Route Families

| Need                                    | Start with                                                                            |
| --------------------------------------- | ------------------------------------------------------------------------------------- |
| Hyperliquid core L2 snapshot or history | `/v1/hyperliquid/orderbook/{symbol}` and `/v1/hyperliquid/orderbook/{symbol}/history` |
| Hyperliquid core L4                     | `/v1/hyperliquid/orderbook/{symbol}/l4`, `/l4/diffs`, and `/l4/history`               |
| Hyperliquid Spot order book             | `/v1/hyperliquid/spot/orderbook/{symbol}`                                             |
| Hyperliquid Spot L4                     | `/v1/hyperliquid/spot/orderbook/{symbol}/l4`, `/l4/diffs`, and `/l4/history`          |
| HIP-3 order book                        | `/v1/hyperliquid/hip3/orderbook/{symbol}` and history/L4 routes                       |
| HIP-4 outcome order book                | `/v1/hyperliquid/hip4/orderbook/{symbol}` and history/L4 routes                       |
| Lighter L2                              | `/v1/lighter/orderbook/{symbol}` and `/history`                                       |
| Lighter L3                              | `/v1/lighter/l3orderbook/{symbol}` and `/history`                                     |

## Depth Decision

L2 is aggregated price-level depth. L3 is individual-order depth where the venue family supports it. L4 is order-level lifecycle or reconstruction-oriented depth where supported. These should be modeled as different datasets, not one `orderbook` blob.

For local book state, pair this page with [SDK Reconstruction](/sdks/reconstruction) and [WebSocket L4 Order Book](/websocket/l4-orderbook). For file exports, use [Export Schemas](/export-schemas) because Data Catalog schema keys distinguish L2, L3, L4, and order events.

## Evaluation Fit

If a provider says it has order-book data, ask what depth, what venue family, what timestamp semantics, how gaps are reported, and whether historical reconstruction can be repeated. A current L2 snapshot is useful for inspection. It is not the same product as a replayable L4 history window.

## Implementation Rules

<Steps>
  <Step title="Choose venue family">
    Core, Spot, HIP-3, HIP-4, and Lighter have different namespaces and symbol formats.
  </Step>

  <Step title="Choose depth">
    Decide whether the job needs L2 snapshots, L3 individual orders, L4 order lifecycle, or replayable diffs.
  </Step>

  <Step title="Check support and access">
    High-depth routes can require a higher access tier or be unavailable for some markets.
  </Step>

  <Step title="Log reconstruction metadata">
    Preserve route, symbol, timestamp, cursor, request IDs, and gap/freshness decisions with output.
  </Step>
</Steps>

## Next Step

Use [WebSocket L4 Order Book](/websocket/l4-orderbook) when sequence matters, [Export Schemas](/export-schemas) when the output is a file job, [Example Responses](/response-examples) when you need payload shapes, or [Data Quality](/data-quality) before any long historical window.
