Order Book
GET
/api/v1/public/depthOrder Book offers a real-time snapshot of the current market depth, providing information about the existing buy (bids) and sell (asks) orders on our platform.
请求参数
Specifies the trading pair symbol for which the order book is requested. (e.g., WBTCUSDT).
Limits the number of order book entries returned for both asks (sell orders) and bids (buy orders). Default 100; max 5000.If limit > 5000, then the response will truncate to 5000.
示例代码
Responses
Indicates whether the API request encountered any errors.
A timestamp representing the moment when the order book snapshot was taken (Unix timestamps in milliseconds & UTC).
An array containing information about sell orders (asks).
The price at which the asset is offered for sale.
The amount of the asset available at the specified price.
The number of individual orders at this price level.
An array containing information about buy orders (bids).
The price at which buyers are willing to purchase the asset.
The amount of the asset buyers are willing to purchase at the specified price.
The number of individual orders at this price level.
{
"error": false,
"timestamp": 1700642219216,
"asks": [
{
"price": 35493.83,
"volume": 0.02,
"orderCount": 1
},
{
"price": 35504.16,
"volume": 0.02,
"orderCount": 1
}
],
"bids": [
{
"price": 30000,
"volume": 0.22,
"orderCount": 1
},
{
"price": 29975.44,
"volume": 0.22,
"orderCount": 1
}
]
}