Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

Deployment

The deployment schedules for different components vary and may change without notice.
APISchedule
FIXMonday, Wednesday, Thursday at 2PM ET
WebSocketMonday, Wednesday, Thursday at 2PM ET
RESTMonday, Wednesday, Thursday at 2PM ET

Production URLs

Use the following URLs to connect to Coinbase Exchange production APIs. See Sandbox URLs for testing.
APIURL
REST APIhttps://api.exchange.coinbase.com
Websocket Feedwss://ws-feed.exchange.coinbase.com
Websocket Direct Feedwss://ws-direct.exchange.coinbase.com
FIX 5.0 API - Order Entrytcp+ssl://fix-ord.exchange.coinbase.com:6121
FIX 5.0 API - Market Data Snapshot Enabledtcp+ssl://fix-md.exchange.coinbase.com:6121
FIX 5.0 API - Market Data Snapshot Disabledtcp+ssl://fix-md.exchange.coinbase.com:6122
FIX 5.0 API - Dedicated Drop Copytcp+ssl://fix-dc.exchange.coinbase.com:6122

MiCA Production URLs

MiCA clients must use the following URLs to connect to Coinbase Exchange production APIs. See Sandbox URLs for testing.
APIURL
REST APIhttps://api-us.dma.prime.coinbase.com
Websocket Feedwss://ws-us.dma.prime.coinbase.com
Websocket Direct Feedwss://ws-us-direct.dma.prime.coinbase.com
FIX 5.0 API - Order Entrytcp+ssl://fix-us.dma.prime.coinbase.com:7110
FIX 5.0 API - Market Data Snapshot Enabledtcp+ssl://fix-us.dma.prime.coinbase.com:7120
FIX 5.0 API - Market Data Snapshot Disabledtcp+ssl://fix-us.dma.prime.coinbase.com:7121
FIX 5.0 API - Dedicated Drop Copytcp+ssl://fix-dc.dma.prime.coinbase.com:7122

Availability Zones

The infrastructure for the US Spot Exchange is hosted in US-EAST-1 (AWS) within multiple availability zones.
The following information is subject to change without notification, and there is no guarantee that it will remain static over time.
ProductAvailability Zone ID
FIX Order Gatewaysuse1-az4
Order Entry Gatewayuse1-az4
Trade Engineuse1-az4
Web Socket Market Datause1-az4
FIX Market Datause1-az4

System Components

REST Entry Gateways

  • Requests are routed through Cloudflare.
  • Requests are processed on a FIFO basis with no queuing.
  • REST requires additional authentication because it’s stateless (as opposed to FIX order gateways, which authenticate during login).

FIX Order Gateways

  • The gateway forwards orders to the engine without waiting for an acknowledgement of the previous order, so multiple orders may be in transit to the engine concurrently.
  • Orders are not guaranteed to reach the engine in the order the client sent them, and acknowledgements are not guaranteed to be returned in the order requests were submitted. Clients should correlate responses by ClOrdID.
  • Inbound messages are subject to per-session rate limits. See FIX API Rate Limits.

Order Entry Gateway (Risk System)

  • Each instance processes requests from FIX Order Gateways and REST in real time with no queuing.
  • System performs real-time risk checks and account collateralization.

Trade Engine

  • Clustered service that guarantees FIFO sequencing at a product level.
  • Processes all requests from Order Entry Gateway.
  • Publishes market data to WebSocket / FIX Market Data.

Market Data (Websocket & FIX)

  • Each instance can process all market data requests across all products.
  • Messages are distributed to customers randomly, and there is no intended benefit to being “first to subscribe”.