WebSocketCrypto

Coinbase Advanced Trade WebSocket

Coinbase Advanced Trade WebSocket is a websocket from Coinbase providing crypto data. A real-time WebSocket feed from US-regulated exchange Coinbase that pushes ticker prices, level2 order books, candles, and trades for hundreds of crypto markets. A Polymarket bot uses it as a high-trust USD reference venue to cross-check against Binance when settling "will BTC/ETH close above $X" hourly/daily price markets.

At a glance

ProviderCoinbase
TypeWebSocket
CategoryCrypto
Real-timeYes — streaming
AuthAPI key
PricingFree for market data (no per-call or subscription fee); only maker/taker trading fees apply on executed orders — Market data feed: free, no per-message or subscription cost, Public channels (ticker/level2/candles): no API key required, Trading fees (only on executed orders): maker 0.00-0.60%, taker 0.04-0.80% by 30d volume tier, Institutional ($100M+ monthly volume): as low as 0.00% maker / 0.04% taker

What data it provides

  • Real-time ticker / ticker_batch (last trade price, 24h stats)
  • level2 order book depth (bids/asks with incremental updates)
  • candles channel (OHLC candlesticks)
  • market_trades (executed trade tape)
  • status channel (product/market metadata)
  • user channel (authenticated own-order updates)

Features

  • Two endpoints: market data (advanced-trade-ws) and authenticated user data (advanced-trade-ws-user)
  • Public channels need no auth; private channels use short-lived JWT (CDP API key, 2-min expiry per message)
  • Disconnects if no subscribe received within 5s; heartbeat/sequence numbers for gap detection
  • 550+ markets covering BTC, ETH and major altcoins on a US-regulated USD venue
  • Official SDKs incl. coinbase-advanced-py (Python) and Node/TypeScript
  • REST companion endpoints: ~10 req/s public, up to 30 req/s authenticated

Links

Use it in a bot

Other crypto data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord