Skip to main content
Public and private channels use different hosts on each venue.

API Reference

Channel schemas, subscribe payloads, and examples.

AsyncAPI spec

Download the AsyncAPI spec.

Public

Public market data for spot crypto and US futures.

Public URL

wss://advanced-trade-ws.coinbase.com

Endpoints

Notes

  • A JWT is not required.
  • Most channels close within 60-90 seconds when no updates arrive. Subscribe to heartbeats to keep the connection open.
  • -USDC product IDs other than USDT-USDC and EURC-USDC return the same data as the matching -USD product.

Private

The user’s open orders, positions, and US futures balances.

Private URL

wss://advanced-trade-ws-user.coinbase.com

Endpoints

Notes

  • A CDP JWT is required. See WebSocket authentication.
  • The user channel is the only one that accepts -USDC product IDs.
  • If advanced-trade-ws-user is your primary connection, use advanced-trade-ws as a failover.