Skip to main content

Borrow

Permission: "Spot trade"

info
  • The loan funds are released to the Funding wallet.
  • The collateral funds are deducted from the Funding wallet, so make sure you have enough collateral amount in the Funding wallet.

HTTP Request

POST /v5/crypto-loan/borrow

Request Parameters

ParameterRequiredTypeComments
loanCurrencytruestringLoan coin name
loanAmountfalsestringAmount to borrow
  • Required when collateral amount is not filled
loanTermfalsestringLoan term
  • flexible term: null or not passed
  • fixed term: 7, 14, 30, 90, 180 days
collateralCurrencytruestringCurrency used to mortgage
collateralAmountfalsestringAmount to mortgage
  • Required when loan amount is not filled

Response Parameters

ParameterTypeComments
orderIdstringLoan order ID

Request Example

POST /v5/crypto-loan/borrow HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1728629356551
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
Content-Length: 140

{
"loanCurrency": "USDT",
"loanAmount": "550",
"collateralCurrency": "BTC",
"loanTerm": null,
"collateralAmount": null
}

Response Example

{
"retCode": 0,
"retMsg": "request.success",
"result": {
"orderId": "1794267532472646144"
},
"retExtInfo": {},
"time": 1728629357820
}