Coinbase Exchange API
cURL
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" }
Gets snapshot information about the last trade (tick), best bid/ask and 24h volume.
The response is of type object.
object
Was this page helpful?