Query Parameters
| Field | Type | Need | Description | Example |
|---|---|---|---|---|
”symbol” | string | required | Trading pair symbol | BTC |
”agg_level” | integer | no | Aggregation level for price grouping. Defaults to 1 | 1 |
Response
- Status 200: Successfully retrieved book data
| Field | Type | Description |
|---|---|---|
's' | string | Symbol |
'l' | array | Two-dimensional array containing bids (index 0) and asks (index 1). Each index contains up to 10 levels. |
't' | integer | Response timestamp in milliseconds |
'p' | decimal string | Price level |
'a' | decimal string | Total amount at price level |
'n' | integer | Number of orders at level |
- Status 400: Invalid request parameters
- Status 401: Unauthorized access
- Status 500: Internal server error