Feeds / Crypto exchanges (live)

Coinbase Advanced Trade

Spot. WebSocket snapshot, then deltas.

Live in productionWebSocketFull L2 book

Live now

-
books live
-
messages / s
-
level changes / s
-
KB / s

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.

Open live books Replay

How we connect

Market
Spot
WebSocket
wss://advanced-trade-ws.coinbase.com/
Channels
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.
Symbol format
BTC-USD

Subscribe message

{"type":"subscribe","product_ids":["BTC-USD","ETH-USD",...],"channel":"level2","jwt":"<JWT>"}

What our handler takes care of

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.

Source ↗

Collected from the exchange's changelog and notices, summarized automatically; check the source before acting. All changes for this feed

Official documentation

Advanced Trade WebSocket — channels (level2, market_trades) ↗docs.cdp.coinbase.comAdvanced Trade WebSocket — overview ↗docs.cdp.coinbase.comAdvanced Trade WebSocket — authentication ↗docs.cdp.coinbase.comAdvanced Trade WebSocket — rate limits ↗docs.cdp.coinbase.comCoinbase App — changelog ↗docs.cdp.coinbase.comSystem status ↗status.coinbase.com

Links go to the exchange's own documentation; it is theirs and may change. Our handler follows the version described above.