HTTP endpoints
Get candles
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| instrumentId | yes | integer (int64) | Instrument ID to fetch candles for |
| interval | yes | string | Candle timeframe (1m, 5m, 15m, 30m, 1h, 4h, 1d) |
| startTime | yes | integer (int64) | Start timestamp in milliseconds (optional, defaults to 24h ago) |
| endTime | yes | integer (int64) | End timestamp in milliseconds (optional, defaults to now) |
| limit | yes | integer | null |
Response fields
| Parameter | Required | Type | Description |
|---|---|---|---|
candles | yes | object[] | List of OHLCV candles |
candles[].close | yes | number (float) | — |
candles[].high | yes | number (float) | — |
candles[].low | yes | number (float) | — |
candles[].open | yes | number (float) | — |
candles[].slot | yes | integer (int64) | — |
candles[].timestamp | yes | integer (int64) | — |
candles[].volume | yes | number (float) | — |
Response example
A sample 200 JSON body is attached to this operation as an OpenAPI example (Mintlify shows it in the example panel, similar to other exchange API docs).
GET
Get candles
Path Parameters
Instrument ID to fetch candles for An instrument identifier (8-byte hash).
Required range:
x >= 0Candle timeframe (1m, 5m, 15m, 30m, 1h, 4h, 1d) Candle timeframe/interval for aggregation
Available options:
1m, 5m, 15m, 30m, 1h, 4h, 1d Start timestamp in milliseconds (optional, defaults to 24h ago)
Required range:
x >= 0End timestamp in milliseconds (optional, defaults to now)
Required range:
x >= 0Maximum number of candles to return (optional, defaults to 500, max 1000)
Required range:
x >= 0Response
Historical OHLCV candles
Response containing historical candles
List of OHLCV candles
Previous
Get global fees### Response fields
| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| `result` | yes | object | — |
| `result.liquidityProviderFeeRanking` | yes | array[] | — |
| `result.liquidityProviderFeeRanking[]` | yes | array[] | Array items. |
| `result.regularFeeLadder` | yes | array[] | — |
| `result.regularFeeLadder[]` | yes | array[] | Array items. |
### Response example
A sample **`200`** JSON body is attached to this operation as an OpenAPI **example** (Mintlify shows it in the example panel, similar to other exchange API docs).
Next
Get candles