Skip to main content

Obtain Max Loan Amount

Permission: "Spot trade"
UID rate limit: 5 req / second

HTTP Request

POST /v5/crypto-loan-common/max-loan

Request Parameters

ParameterRequiredTypeComments
currencytruestringCoin to borrow
collateralListfalsearray<object>
> amounttruestringCollateral amount. Only check funding account balance
> ccytruestringCollateral coin. Both amount & ccy are required, when you pass "collateralList"

Response Parameters

ParameterTypeComments
currencystringCoin to borrow
maxLoanstringBased on your current collateral, and with the option to add more collateral, you can borrow up to maxLoan
notionalUsdstringNontional USD value
remainingQuotastringThe remaining individual platform borrowing limit (shared between main and sub accounts)

Request Example

POST /v5/crypto-loan-common/max-loan HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1768532512103
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
Content-Length: 208

{
"currency": "BTC",
"collateralList": [
{
"ccy": "XRP",
"amount": "1000"
},
{
"ccy": "USDT",
"amount": "1000"
}
]
}

Response Example

{
"retCode": 0,
"retMsg": "ok",
"result": {
"currency": "BTC",
"maxLoan": "0.1722",
"notionalUsd": "16456.06",
"remainingQuota": "9999999.9421"
},
"retExtInfo": {},
"time": 1768533990031
}