跳至主要内容

獲取資金費率記錄

GET

/az/future/market/v1/public/q/funding-rate-record

注:此方法不需要簽名

請求參數​

參數類型是否必須默認值描述取值範圍
symbolstringfalseN/A交易對
idintegerfalseN/Aid
directionstringfalseNEXT方向(PREV:上一頁;NEXT:下一頁)PREV;NEXT
limitintegerfalse10條數

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": {
"hasPrev": false, //是否有上一頁
"hasNext": true, //是否有下一頁
"items": [
{
"id": "554830922718404672", //id
"symbol": "btc_usdt", //交易對
"fundingRate": "-0.000162821857",//最新資金費率
"createdTime": 1761984000000, //時間戳
"collectionInternal": 3600 //收取時間間隔(秒)
}
]
}
}