跳到主要内容

预估利息及可借数量

限速规则 10次/1s (IP)

描述

查询每小时预估利息及可借数量

HTTP请求

  • GET /api/v2/earn/loan/public/hour-interest
请求示例
curl "https://api.bitget.com/api/v2/earn/loan/public/hour-interest?loanCoin=USDT&pledgeCoin=ETH&pledgeAmount=0.2&daily=SEVEN" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
loanCoinString需借币种, BTC
pledgeCoinString质押币种, ETH
dailyString质押天数
SEVEN: 7天
THIRTY: 30天
pledgeAmountString质押数量
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1692433739845,
"data": {
"hourInterest": "0.00133436",
"loanAmount": "216.2654"
}
}

返回参数

返回字段参数类型字段说明
hourInterestString每小时预估利息数量
loanAmountString可借数量

您的阅读体验如何?