Messages / s and KB / s are what our handler receives from the exchange (KB after decompression, REST snapshots included); level changes / s are counted after normalization, for the markets we publish.
level2 — L2 order book, snapshot then updates (messages on channel "l2_data") market_trades — trades
Update model
WebSocket snapshot, then deltas. No REST snapshot.
Sequencing
sequence_num on each l2_data message. Updates that arrive before a product's snapshot are buffered and only those newer than the snapshot are applied; live updates with sequence_num <= the last applied are dropped. No gap check.
On a gap
No gap check; books are rebuilt from fresh WebSocket snapshots on reconnect (socket error, close, or 30 s without data; 5 s backoff, doubling; re-subscribes in batches of 5 products).
Depth
Full L2 book
Authentication
JWT (ES256) from a Coinbase Developer Platform API key, added to each subscribe message
Heartbeat
We answer the server's WebSocket pings; a 30 s no-data watchdog forces a reconnect. The heartbeats channel is not used.
level2 and market_trades need separate subscribe messages; each goes as its own frame.
Levels arrive as {side: bid|offer, price_level, new_quantity}; new_quantity "0" deletes the level.
A snapshot is parsed in full before the book is replaced, so a malformed snapshot leaves the current book untouched.
The book is uncrossed after every update.
Instruments
loading...
Upcoming and recent changes
2026-11-17InfoGlobal Derivatives moved from INTX to a Deribit-powered gatewayeffective 2026-10-01
Advanced Trade international derivatives now trade on a Deribit-powered gateway on the Starbase platform. INTX perpetuals are no longer traded through the Advanced Trade API.
Details
The move happened on October 1, 2026. The new gateway uses JSON-RPC 2.0 over HTTP or WebSocket and the same CDP API key. Spot and US futures stay on the Advanced Trade API and are unaffected. A client consuming only spot level2 and market_trades data needs to do nothing. Only a client that used INTX perpetual data through Advanced Trade must migrate.
Our handler: Our handler uses only spot level2 and market_trades on advanced-trade-ws.coinbase.com, which the page says are unaffected.