GET
/
api
/
v3
/
brokerage
/
product_book
Get Product Book
curl --request GET \
  --url https://api.coinbase.com/api/v3/brokerage/product_book \
  --header 'Authorization: Bearer <token>'
{
  "pricebook": {
    "product_id": "BTC-USD",
    "bids": [
      {
        "price": "<string>",
        "size": "<string>"
      }
    ],
    "asks": [
      {
        "price": "<string>",
        "size": "<string>"
      }
    ],
    "time": "<string>"
  },
  "last": "<string>",
  "mid_market": "<string>",
  "spread_bps": "<string>",
  "spread_absolute": "<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_id
string
required

The trading pair (e.g. 'BTC-USD').

limit
integer

The number of bid/asks to be returned.

aggregation_price_increment
string

The minimum price intervals at which buy and sell orders are grouped or combined in the order book.

Response

200
application/json

A successful response.

The response is of type object.