跳到主要内容

获取资金费率记录

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 //收取时间间隔(秒)
}
]
}
}