Candles

The Candles endpoint provides OCHL (Open, Close, High, Low) and volume data for the specified funding currency or trading pair. The endpoint provides the last 100 candles by default, but a limit and a start and/or end timestamp can be specified.

Path Params
string
required
Defaults to trade:1m:tBTCUSD

Check Available candles table to understand how to compose this argument.

string
required
Defaults to hist

Available values: "last", "hist".

Query Params
int32

+1: sort in ascending order | -1: sort in descending order (by MTS field).

int64

If start is given, only records with MTS >= start (milliseconds) will be given as response.

int64

If end is given, only records with MTS <= end (milliseconds) will be given as response.

int32

Number of records in response (max. 10000).

Response

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json