Skip to main content

Create Borrow Order

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

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-fixed/borrow

Request Parameters

ParameterRequiredTypeComments
orderCurrencytruestringCurrency to borrow
orderAmounttruestringAmount to borrow
annualRatetruestringCustomizable annual interest rate, e.g., 0.02 means 2%
termtruestringFixed term 7: 7 days; 14: 14 days; 30: 30 days; 90: 90 days; 180: 180 days
autoRepayfalsestringEnable Auto-Repay to have assets in your Funding Account automatically repay your loan upon Borrowing order expiration, preventing overdue penalties. Ensure your Funding Account maintains sufficient amount for repayment to avoid automatic repayment failures.
"true": enable, default; "false": disable
collateralListfalsearray<object>Collateral coin list, supports putting up to 100 currency in the array
> currencyfalsestringCurrency used to mortgage
> amountfalsestringAmount to mortgage

Response Parameters

ParameterTypeComments
orderIdstringLoan order ID

Request Example

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

{
"orderCurrency": "ETH",
"orderAmount": "1.5",
"annualRate": "0.022",
"term": "30",
"autoRepay": "true",
"collateralList": {
"currency": "BTC",
"amount": "0.1"
}
}

Response Example

{
"retCode": 0,
"retMsg": "ok",
"result": {
"orderId": "13007"
},
"retExtInfo": {},
"time": 1752633650147
}