Low-Latency Trading Solutions
CART
Historical order book data

Historical Order Book Data: Level-2 Depth and Market Depth History for Crypto

The order book is the part of a market that no candle feed keeps. Every day file in the archive carries the full Level-2 evolution of one instrument — one snapshot, then every incremental update with the venue timestamp and our co-located receive timestamp in integer nanoseconds — for 318,832 instruments across 32 venues, February 2021 – September 2026. Replay it and the book is there at any instant: depth at every level, spread, queue position, imbalance.

Venues
32
Instruments
318,832
Coverage
February 2021 – September 2026
Recorded
7.41 PB
Depth-only venues
5
Per day
€1
Order book

Historical Order Book Data — L2 Crypto Depth

Level-2 history is recorded as the venue sends it: a type-0 snapshot resets the book, then type-1 updates change one price level at a time (quantity 0 removes the level). The free Python reader replays a file into a fixed-grid order-book dataset in one command (book FILE --every 1s --depth 20 --out book_1s.parquet), and the browser viewer replays any sample or purchased day tick by tick.

Top-of-book is a separate best-bid/ask stream where the venue publishes one (type 6) and is derived by replay where it does not: BitMEX, Coinbase, Kraken spot, Kalshi, Polymarket record depth only. That is why the flat bbo.csv.gz export exists only for venues with a BBO stream — on the depth-only venues the reader rebuilds the top of book locally from the L2 updates, which is exact, not sampled.

What the depth history answers that trades alone cannot: how much size sat at each level before a move, how long orders queued before they filled or cancelled, how the spread behaved through a liquidation cascade, and whether a market impact model is calibrated on the book that actually existed. The order-book dataset guide turns the replay into features and labels.

Back to the historical-data overview →

Scale

How big is a day of order book history?

ExampleCompressedEvents
Binance BTCUSDT perpetual, one day1–2 GBtens of millions
BitMEX XRPUSDT perpetual, one day59 MB1.87 M (1.83 M book updates)
Kalshi event contract, one day≈ 94 KB on averagethousands
Polymarket event contract, one day≈ 353 KB on averagetens of thousands

Examples from the format reference; the order-book updates are the bulk of every file.

Depth-only venues

Venues without a separate best-bid/ask stream

These venues publish Level-2 depth but no top-of-book message — the free reader derives the best bid and ask by replaying the book, exactly, not sampled. No flat BBO export exists for them.

Live snapshot

Spread and depth per venue — last 24 hours

A live, display-only snapshot of the BTC/ETH probe basket: how tight and how deep each venue's book runs right now, from the same minute statistics the archive derives. It changes hourly and is not part of the structured data.

VenueMedian spreadTop-1 depthTop-20 depthProbed instruments
Hyperliquid0.44 bps$47.4K$1.7M5
BingX0.21 bps$23.3K$1.1M10
Bitmart0.34 bps$58.0K$785.7K10
Binance USDT-M0.14 bps$94.9K$710.3K5
HashKey MENA0.20 bps$24.7K$628.8K4
Kraken Futures1.85 bps$3.8K$600.1K5
Okx0.78 bps$20.8K$481.9K10
BitMEX2505.28 bps$51.3K$449.3K4
Orderly1.74 bps$15.4K$430.7K5
HashKey Exchange1.51 bps$52.8K$417.8K4
Mexc1.10 bps$20.9K$395.5K5
Bybit0.78 bps$13.3K$367.7K10

Live 24 h snapshot of the BTC/ETH probe basket per venue — median bid-ask spread and mid-side total notional over the top 1 and top 20 levels ((bid + ask) / 2 × levels), from the minute statistics of the archive. Changes hourly; the full dashboard is the liquidity analyzer.

Recorded activity

Venues with order book history, ranked by recorded turnover

Every venue below carries the full Level-2 book next to its trades — 31 venues with activity in the 30 days to 2026-09-16.

#VenueTurnover · 30d (USD)ShareTrades · 30dAvg tradevs prior 30d
1Binance USDT-M$1.8T31.3 %5.2B$339+47.8 %
2Okx$813.8B14.4 %865.1M$941+52.0 %
3Bybit$498.7B8.8 %1.6B$314+71.1 %
4Gate.io Future$368.9B6.5 %422.0M$874+67.5 %
5Binance Spot$305.7B5.4 %1.1B$276+85.8 %
6Bitget$290.3B5.1 %530.6M$547+59.0 %
7Coinbase International$277.3B4.9 %161.0M$1,722+38.9 %
8Hyperliquid$260.9B4.6 %154.5M$1,689+65.9 %
9Whitebit$252.3B4.5 %323.5M$780+35.6 %
10BingX$176.3B3.1 %6.7B$26+19.9 %

USD turnover and trade counts per venue over the 30 days to 2026-09-16, summed from every trade print in our tick archive (31 venues with activity; share = of $5.7T total). Not venue-reported volume.

All venues, month by month and by instrument class →

What's in the file

Message types behind order book data

TypeMessageWhat it carries
0Order-book snapshotFull Level-2 state; a new snapshot resets the book
1Order-book updateIncremental L2 change per price level (quantity 0 removes the level)
6Top-of-book (BBO)Best bid/ask stream where the venue publishes one (not on BitMEX, Coinbase, Kraken spot, Kalshi, Polymarket)

All message types of a day file →

How to

How to download order book data

  1. Find the instrument in the Data Shop (search by pair or venue) or browse by exchange, by asset or by trading pair.
  2. Try a free day first: the full-day samples on the downloads page are the exact shop files, no account needed — parse one before you buy a month.
  3. Pick the UTC days in the instrument's calendar and check out — card with invoice, or Premium and pack credits (1 credit = €1 = one instrument-day). Many instruments at once: "Select to buy" in the instrument scanner adds a shared date window.
  4. Replay: book FILE --every 1s --depth 20 with the free reader for a fixed-grid Parquet of the top-20 levels, or open the day in the browser viewer to scrub the ladder and tape visually. Trades and (where published) BBO also export flat as ?format=trades.csv.gz / ?format=bbo.csv.gz.
  5. Download from the order page (single files), your account (batch ZIP of everything you own) or scripted via the MCP server and the Agent Skill. Days in deep archive restore in about 12 hours.
Usage

Research, backtesting and model training

Purchased data is for your own use — backtesting, research, analytics and training your own models, in-house or in your own products; the trained models and derived data you build from it are yours. The raw files and tick streams themselves may not be redistributed, resold or published. The full terms are on the data license page.

FAQ

Order book data — FAQ

Is the order book history complete or sampled snapshots?

Complete. A day file holds one initial Level-2 snapshot followed by every incremental update the venue published, each with its exchange timestamp and our receive timestamp in nanoseconds. Nothing is sampled on the way to disk, and an event-id chain makes any gap visible — the free reader's audit command reports chain breaks and crossed book states.

How deep is the Level-2 data — how many price levels?

As deep as the venue's public feed: every level the exchange publishes in its depth stream, not a fixed top-N cut. Depth per venue and instrument varies with the feed (a top-20 grid is the common research cut, and the reader takes --depth as a parameter). Where a venue publishes several depth channels, the recorded one is the finest public increment — check the current docs of the venue for what its feed exposes.

Which venues have no separate best-bid/ask stream?

BitMEX, Coinbase, Kraken spot, Kalshi, Polymarket record depth only — there is no type-6 BBO message in their files and no flat BBO export. Top-of-book on these venues comes from replaying the order-book updates, which the free reader does locally and exactly. Every other venue carries the BBO stream in the same file next to the depth updates.

Can I get Binance order book history for a specific day?

Yes — every instrument-day is sold individually, so one day of BTCUSDT on Binance USDⓈ-M or Binance spot is one file for €1, with the full depth stream, trades, BBO, funding and liquidations inside. Pick the day in the shop calendar; older days in deep archive restore in about 12 hours.

How do I turn the order book history into a dataset?

Replay the file on a time grid: the reader's book command emits the top-N levels every N milliseconds or seconds as Parquet, and from that grid come the usual features — depth imbalance, microprice, spread, queue sizes, book-pressure labels. The dataset guide walks through the pipeline with leakage-safe labels; the training-data page covers sizes.

How many exchanges have Level-2 order book history in the archive?

31 venues recorded activity in the 30 days to 2026-09-16, every one of them with the full Level-2 book next to $5.7T of traded turnover. Coinbase, Kraken Spot, Polymarket, Kalshi, BitMEX publish depth without a separate best-bid/ask stream, so top of book is derived by replay there; every other venue carries the BBO stream in the same file.