Skip to main content
GET
Asset candles

Path Parameters

symbol
string
required

Coinbase product id, e.g. BTC-USD

Query Parameters

granularity
string

A width the exchange publishes: 1m, 5m, 15m, 1h, 6h, 1d (default 1m)

to
integer

Page cursor, Unix seconds. Defaults to now

limit
integer

Candles per page, 1-1000 (default 300)

Response

OK

candles
object[]
granularity
string
Example:

"1m"

has_more
boolean
Example:

true

next_to
integer

NextTo is the cursor for the next page back; HasMore is false when the page came back short, meaning the recorded history starts here and the client should stop rather than fire requests into an empty past forever.

Example:

1722950399

symbol
string
Example:

"BTC-USD"