List candles for an asset and interval
GET
/candles/{id}/{interval}
Authorizations
ApiKeyAuth
Type
API Key (header: CP-X-API-KEY)
Parameters
Path Parameters
id*
Asset ID, symbol, or supported source ID.
Type
Requiredstring
Examples
"bitcoin""BTC"interval*
Candle interval.
Type
Requiredstring
Valid values
"1h""1d""1w""1M"Query Parameters
from*
Start time in RFC3339 format.
Type
Requiredstring
Format
"date-time"to
End time in RFC3339 format. If omitted, the service returns data through the latest available point.
Type
string
Format
"date-time"Responses
Candles in [open_time_ms, open, high, low, close] format.
application/json
JSON [ ]
[
]
