Get Mark Price for All Trading Pairs
GET
/az/future/market/v1/public/q/mark-price
Note:This method does not require a signature.
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | false | N/A | Trading pair |
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": [
{
"s": "btc_usdt", //Trading pair
"p": "110099.3", //Price
"t": 1761981389615 //Timestamp
}
]
}