Get rates for a single product by product ID, grouped in buckets.
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.
The trading pair (e.g. 'BTC-USD').
The UNIX timestamp indicating the start of the time interval.
The UNIX timestamp indicating the end of the time interval.
The timeframe each candle represents.
UNKNOWN_GRANULARITY
, ONE_MINUTE
, FIVE_MINUTE
, FIFTEEN_MINUTE
, THIRTY_MINUTE
, ONE_HOUR
, TWO_HOUR
, FOUR_HOUR
, SIX_HOUR
, ONE_DAY
The number of candle buckets to be returned. By default, returns 350 (max 350).
A successful response.
The response is of type object
.