查詢可借幣種
信息
不需要鑒權
HTTP 請求
GET /v5/crypto-loan/loanable-data
請求參數
參數 | 是否必需 | 類型 | 說明 |
---|---|---|---|
vipLevel | false | string | Vip等級 VIP0 , VIP1 , VIP2 , VIP3 , VIP4 , VIP5 , VIP99 (至尊VIP)PRO1 , PRO2 , PRO3 , PRO4 , PRO5 , PRO6 |
currency | false | string | 幣種名稱 |
響應參數
參數 | 類型 | 說明 |
---|---|---|
vipCoinList | array | Object |
> list | array | Object |
>> borrowingAccuracy | integer | 借貸幣種精度 |
>> currency | string | 幣種名稱 |
>> flexibleHourlyInterestRate | string | 活期每小時利率"" |
>> hourlyInterestRate7D | string | 7天定期每小時利率"" |
>> hourlyInterestRate14D | string | 14天定期每小時利率"" |
>> hourlyInterestRate30D | string | 30天定期每小時利率"" |
>> hourlyInterestRate90D | string | 90天定期每小時利率"" |
>> hourlyInterestRate180D | string | 180天定期每小時利率"" |
>> maxBorrowingAmount | string | 借幣上限 |
>> minBorrowingAmount | string | 單次最低可借金額 |
> vipLevel | string | Vip等級 |
請求示例
- HTTP
- Python
- Node.js
GET /v5/crypto-loan/loanable-data?currency=USDT&vipLevel=VIP0 HTTP/1.1
Host: api.bybit.com
const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getBorrowableCoins({
currency: 'USDT',
vipLevel: 'VIP0',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
響應示例
{
"retCode": 0,
"retMsg": "request.success",
"result": {
"vipCoinList": [
{
"list": [
{
"borrowingAccuracy": 4,
"currency": "USDT",
"flexibleHourlyInterestRate": "0.0000090346",
"hourlyInterestRate14D": "0.0000207796",
"hourlyInterestRate180D": "",
"hourlyInterestRate30D": "0.00002349",
"hourlyInterestRate7D": "0.0000180692",
"hourlyInterestRate90D": "",
"maxBorrowingAmount": "8000000",
"minBorrowingAmount": "20"
}
],
"vipLevel": "VIP0"
}
]
},
"retExtInfo": {},
"time": 1728619315868
}