查詢帳戶可借貸/抵押的限額
查詢本帳戶支持的最小/最大的借貸和質押額
權限: "現貨交易"
HTTP 請求
GET /v5/crypto-loan/borrowable-collateralisable-number
請求參數
參數 | 是否必需 | 類型 | 說明 |
---|---|---|---|
loanCurrency | true | string | 借貸幣種 |
collateralCurrency | true | string | 質押幣種 |
響應參數
參數 | 類型 | 說明 |
---|---|---|
collateralCurrency | string | 抵押幣種 |
loanCurrency | string | 借貸幣種 |
maxCollateralAmount | string | 最大可質押金額 |
maxLoanAmount | string | 最大可借貸金額 |
minCollateralAmount | string | 最小質押金額 |
minLoanAmount | string | 最小借貸金額 |
請求示例
- HTTP
- Python
- Node.js
GET /v5/crypto-loan/borrowable-collateralisable-number?loanCurrency=USDT&collateralCurrency=BTC HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1728627083198
X-BAPI-RECV-WINDOW: 5000
const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getAccountBorrowCollateralLimit({
loanCurrency: 'USDT',
collateralCurrency: 'BTC',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
響應示例
{
"retCode": 0,
"retMsg": "request.success",
"result": {
"collateralCurrency": "BTC",
"loanCurrency": "USDT",
"maxCollateralAmount": "164.957732055526752104",
"maxLoanAmount": "8000000",
"minCollateralAmount": "0.000412394330138818",
"minLoanAmount": "20"
},
"retExtInfo": {},
"time": 1728627084863
}