Coinbase Advanced Trade API
cURL
curl --request GET \ --url https://api.coinbase.com/api/v3/brokerage/products/{product_id}/ticker
{ "trades": [ { "trade_id": "34b080bf-fcfd-445a-832b-46b5ddc65601", "product_id": "BTC-USD", "price": "140.91", "size": "4", "time": "2021-05-31T09:59:59.000Z", "side": "<any>", "exchange": "<string>" } ], "best_bid": "291.13", "best_ask": "292.40" }
Get snapshot information by product ID about the last trades (ticks) and best bid/ask.
Show child attributes
Was this page helpful?