GET
/
api
/
v3
/
brokerage
/
best_bid_ask
Get Best Bid/Ask
curl --request GET \
  --url https://api.coinbase.com/api/v3/brokerage/best_bid_ask \
  --header 'Authorization: Bearer <token>'
{
  "pricebooks": [
    {
      "product_id": "BTC-USD",
      "bids": [
        {
          "price": "<string>",
          "size": "<string>"
        }
      ],
      "asks": [
        {
          "price": "<string>",
          "size": "<string>"
        }
      ],
      "time": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Creating API Keys section of our Coinbase App Authentication docs for information on how to generate your Bearer Token.

Query Parameters

product_ids
string[]

The list of trading pairs (e.g. 'BTC-USD').

Response

200
application/json

A successful response.

The response is of type object.