Read bid and ask depth
Read five displayed bid and ask levels for ETH/USDT.
Endpoint & access
GET
/api/spot/instruments/depthRate limit
- 2 requests / 1 second
Query parameters
| Field | Data type | Required | Meaning |
|---|---|---|---|
| instrument_id | string | YES | the name of a currency pair, such as ETH/USDT. |
| depth | string | YES | the depth gear with values of 5, 10, 50 and 100. |
Returned fields
| Field | Data type | Meaning |
|---|---|---|
| ask | array | seller depth, [price, quantity] |
| bid | array | buyer depth, [price, quantity] |
| timestamp | string | utc timestamp |
Example request
Example result
{
"code": 200,
"message": null,
"data": {
"asks": [
["2450.20", "1.25"],
["2450.21", "2.40"],
["2450.22", "0.75"],
["2450.23", "3.10"],
["2450.24", "1.80"]
],
"bids": [
["2449.80", "1.60"],
["2449.79", "0.90"],
["2449.78", "2.25"],
["2449.77", "1.10"],
["2449.76", "3.45"]
],
"timestamp": 1795161600000
}
}