Order Book
Get current order book depth for a symbol
Get Order Book
GET /v1/depth?symbol=BTCUSDT&limit=20Query Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | Yes | - | Trading pair |
limit | number | No | 20 | Number of price levels (max 50) |
Response:
{
"ok": true,
"bids": [
["71034.5", "1.234"],
["71034.0", "0.567"]
],
"asks": [
["71035.0", "2.345"],
["71035.5", "0.890"]
]
}Each entry is [price, quantity]. Bids are sorted descending (highest first), asks ascending (lowest first).
