跳到主要内容

获取资金费率

GET

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

限流规则​

1/s/ip
注:此方法不需要签名

请求参数​

参数类型是否必须默认值描述取值范围
symbolstringtrueN/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 //收取时间间隔(时)
}
}