獲取資金費率
GET
/az/future/market/v1/public/q/funding-rate
限流規則
1/s/ip
注:此方法不需要簽名
請求參數
| 參數 | 類型 | 是否必須 | 默認值 | 描述 | 取值範圍 |
|---|---|---|---|---|---|
| symbol | string | true | N/A | 交易對 |
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": {
"symbol": "btc_usdt", //交易對
"fundingRate": -1.53695081E-4, //最新資金費率
"nextCollectionTime": 1761984000000,//下次收取時間
"collectionInternal": 1 //收取時間間隔(時)
}
}