HTTP · Public
Get Order Book
Returns order-book depth for a single trading pair.
Public · no authentication
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| symbol query | string | Yes | Trading pair, e.g. “BTCUSDT” |
| type query | string | Optional | Default: step0. Values: step0, step1, step2, step3, step4, step5 |
| limit query | string | Optional | Number of levels, default 150, max 150 |
Response fields
| Field | Type | Description |
|---|---|---|
| code | string | — |
| msg | string | — |
| requestTime | string | integer | — |
| data | object | — |
| asks | array | Ask-side depth, e.g. ["38084.5", "0.5"], where “38084.5” is the price level and “0.5” is the base-coin quantity. |
| bids | array | Bid-side depth |
| ts | string | Matching-engine timestamp, as a Unix timestamp in milliseconds, e.g. 15970263830 |
Response example
{ "code": "00000", "msg": "success", "requestTime": 1768876462312, "data": { "asks": [ [ "900000", "0.1987" ] ], "bids": [ [ "6667", "0.0816" ] ], "ts": "2138817" }}