Coinbase Advanced Trade API
cURL
curl --request GET \ --url https://api.coinbase.com/api/v3/brokerage/best_bid_ask
{ "pricebooks": [ { "product_id": "BTC-USD", "bids": [ { "price": "<string>", "size": "<string>" } ], "asks": [ { "price": "<string>", "size": "<string>" } ], "time": "<string>" } ] }
Get the best bid/ask for all products. A subset of all products can be returned instead by using the product_ids input.
The list of trading pairs (e.g. 'BTC-USD').
A successful response.
The response is of type object.
object
Was this page helpful?