Skip to main content

Get depth data

GET: /v1/spot/public/depth

Parameters

ParameterTypemandatoryDefaultDescriptionRanges
symbolstringtruetrading pair eg:btc_usdt
limitnumberfalse501~1000

Limit Flow Rules

1/s/ip

Java
public String depth(){

}
Response
{
"code": 200,
"msg": "SUCCESS",
"msgInfo": [],
"data": {
"timestamp": 1662445330524,
"lastUpdateId": 137333589606963580, //Last updated record
"bids": [ //buy order([?][0]=price;[?][1]=pending order volume)
[
"200.0000", //price
"0.996000" //pending order volume
],
[
"100.0000",
"0.001000"
],
[
"20.0000",
"10.000000"
]
],
"asks": [] //sell order([?][0]=price;[?][1]=pending order volume)
}
}