Get Depth Data of Trading Pairs
GET
/az/future/market/v1/public/q/depth
Limit Flow Rules
10/s/ip
Note:This method does not require a signature.
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | true | N/A | Trading pair | |
| level | integer | true | N/A | Level(min:1,max:50) |
Java
public void getKLine() {
String text = HttpUtil.get(URL + "/data/api/az/future/market/v1/getKLine?market=btc_usdt&type=1min&since=0");
System.out.println(text);
}
Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "success",
"returnCode": 0,
"result": {
"t": 1761979495332, //Timestamp
"s": "btc_usdt", //Trading pair
"u": 1761965792147, //updateId
"b": [ //BID
[
"109923.4",
"18679"
]
],
"a": [ //ASK
[
"109923.5",
"1773"
]
]
}
}