Skip to main content

Get Index Price for All Trading Pairs

GET

/az/future/market/v1/public/q/index-price

Note:This method does not require a signature.

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": "eth_usdt", //Trading pair
"p": "3857.579503",//Price
"t": 1761980457446 //Timestamp
}
]
}