GET
/
products
/
{product_id}
/
ticker
curl --request GET \
  --url https://api.exchange.coinbase.com/products/{product_id}/ticker
{
  "trade_id": 86326522,
  "price": "6268.48",
  "size": "0.00698254",
  "time": "2020-03-20T00:22:57.833Z",
  "bid": "6265.15",
  "ask": "6267.71",
  "volume": "53602.03940154",
  "rfq_volume": "123.122",
  "conversions_volume": "0.00"
}

Real-time updates

Coinbase recommends that you get real-time updates by connecting with the WebSocket stream and listening for match messages, rather than polling.

Path Parameters

product_id
string
required

Response

200
application/json

The response is of type object.