Market Candles
GET/:tick_type/:symbol/:resolution
Candles for specified tick type, market, and resolution.
List of available tick types can be fetched from the tick types endpoint. List of available markets can be fetched from the markets endpoint. List of available resolutions can be fetched from the resolutions endpoint.
Request
Path Parameters
tick_type Tick Typesrequired
Possible values: [spot
, mark
, trade
]
symbol stringrequired
Market symbol
resolution Resolutionrequired
Possible values: [1m
, 5m
, 15m
, 30m
, 1h
, 4h
, 12h
, 1d
, 1w
]
Query Parameters
from number
From date in epoch seconds
to number
To date in epoch seconds
Responses
- 200
OHLC candles
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
candles object[]required
OHLC candles
time int64required
Epoch in ms
high big-decimalrequired
low big-decimalrequired
open big-decimalrequired
close big-decimalrequired
volume int64required
more_candles booleanrequired
True if there are more candles in time range
{
"candles": [
{
"time": 1620816960000,
"high": "56475.00000000000",
"low": "55935.00000000000",
"open": "56294.00000000000",
"close": "56250.00000000000",
"volume": 10824
}
],
"more_candles": true
}
Loading...