跳至主要内容

查詢歷史年化利率

信息

無需身份驗證

HTTP 請求

GET/v5/earn/token/history-apr

請求參數

參數必填類型說明
cointruestring代幣幣種。目前僅支援 BYUSDT
rangetrueinteger時間範圍:1 = 7 天,2 = 30 天,3 = 180 天

響應參數

參數類型說明
listarray歷史年化利率列表
> timestampstring日期,秒級 Unix 時間戳
> aprE8stringe8 精度的年化利率。除以 10^8 可得實際利率

請求示例

GET /v5/earn/token/history-apr?coin=BYUSDT&range=1 HTTP/1.1
Host: api.bybit.com

響應示例

{
"retCode": 0,
"retMsg": "",
"result": {
"list": [
{
"timestamp": "1774569600",
"aprE8": "2000000"
},
{
"timestamp": "1774656000",
"aprE8": "2000000"
},
{
"timestamp": "1774742400",
"aprE8": "2000000"
},
{
"timestamp": "1774828800",
"aprE8": "52750000"
},
{
"timestamp": "1774915200",
"aprE8": "60000000"
},
{
"timestamp": "1775001600",
"aprE8": "108070000"
},
{
"timestamp": "1775088000",
"aprE8": "96290000"
}
]
},
"retExtInfo": {},
"time": 1775180579207
}