Authorizations
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.
Path Parameters
The trading pair (e.g. 'BTC-USD').
Query Parameters
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.
Available options:
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).
Response
A successful response.