HTTP endpoints
Get assets
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| pageNumber | yes | integer | Page index for asset listing pagination. |
| pageSize | yes | integer | Number of assets to return per page. |
Response fields
| Parameter | Required | Type | Description |
|---|---|---|---|
assets | yes | object | — |
assets.* | yes | object (map) | Map — see keys in Example. |
assets.*.haircut | yes | string | — |
assets.*.id | yes | integer | — |
assets.*.markPrice | yes | string | — |
assets.*.ticker | yes | string | — |
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 assets
Previous
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 | Maximum number of candles to return (optional, defaults to 500, max 1000) |
### 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).
Next
Get assets