Order Book
GETπ Public
Retrieve the level 2 order book for a symbol.
This API can be publicly accessed (without any security headers). If you
access with Read permission authentication, the result will be much more
accurate by account setting.
Request Parametersβ
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | String | Yes | Symbol |
| depth | Integer | No | The depth of order book |
Response Contentβ
Successful response
example
GET
https://api.btse.com/public-api/market/v1/orderbookResponse
{
"success": true,
"code": 1,
"msg": "Success",
"time": 1624989977940,
"data": {
"timestamp": 1624989977940,
"bids": [
[
"20334.2",
"7.67500"
]
],
"asks": [
[
"20339.0",
"0.60200"
]
]
}
}