Skip to main content
The Advanced Trade API is Coinbase’s programmatic interface for spot crypto and derivatives — order entry and management, account and portfolio data, and real-time market data over REST and WebSocket.

Spot & US Derivatives

Spot crypto and CFTC-regulated US futures.
  • Market, limit, stop-limit, bracket and attached take-profit/stop-loss orders.
  • Accounts, portfolios and converts on the same REST host as the order path.
  • The API is REST for request-response and WebSocket for market data and user streams.

REST

Order entry and management, accounts, portfolios, and market data over REST.Download the OpenAPI spec.

WebSocket Streams

Real-time market data and user order, position, and futures balance streams.Download the AsyncAPI spec.

Global Derivatives

Advanced Trade Global Derivatives trade on a Deribit-powered gateway running on the Starbase platform. International derivatives moved there from INTX on October 1, 2026. If you are migrating an INTX integration, see the Migration Overview.
  • New native order types and features — trailing stops, market-limit orders and WebSocket order entry.
  • Deeper liquidity, lower-latency execution and a broader product set. Options and dated futures are not yet available through the gateway.
  • The gateway is JSON-RPC 2.0 over both HTTP and WebSocket.

REST

JSON-RPC request-response over HTTP. Snapshots such as public/get_index_price.Download the OpenAPI spec.

WebSocket

Public market data on the public WebSocket. Order and user channels on the private WebSocket.Download the AsyncAPI spec.

URLs

REST uses one URL for public and private methods. WebSocket uses a public host and a private host.
On Global Derivatives, HTTP methods also run on the private WebSocket. The public WebSocket is subscription-only.