Get Ask Bid Market Information for Specific Trading Pair
GET
/az/future/market/v1/public/q/ticker/book
Note:This method does not require a signature.
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | true | N/A | Trading pair |
Java
public void getTickerBokk() {
String text = HttpUtil.get(URL + "/data/api//az/future/market/v1/public/q/ticker/book?symbol=btc_usdt");
System.out.println(text);
}
Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "success",
"returnCode": 0,
"result": {
"s": "btc_usdt", //Trading pair
"ts": 1761983754635, //Timestamp
"u": 137333589606963580, //matching book updateId
"ap": "110045.0", //ask price
"aq": "13619", //ask amount
"bp": "110044.9", //bid price
"bq": "9667" //bid amount
}
}