Get Borrow Contract Info
Permission: "Spot trade"
UID rate limit: 5 req / second
HTTP Request
GET /v5/crypto-loan-fixed/borrow-contract-info
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
orderId | false | string | Loan order ID |
loanId | false | string | Loan ID |
orderCurrency | false | string | Loan coin name |
term | false | string | Fixed term 7 : 7 days; 14 : 14 days; 30 : 30 days; 90 : 90 days; 180 : 180 days |
limit | false | string | Limit for data size per page. [1 , 100 ]. Default: 10 |
cursor | false | string | Cursor. Use the nextPageCursor token from the response to retrieve the next page of the result set |
Response Parameters
Parameter | Type | Comments |
---|---|---|
list | array | Object |
> annualRate | string | Annual rate for the borrowing |
> autoRepay | string | "true" : enable auto repay, default; "false" : disable auto repay |
> borrowCurrency | string | Loan coin |
> borrowTime | string | Loan order timestamp |
> interestPaid | string | Paid interest |
> loanId | string | Loan contract ID |
> orderId | string | Loan order ID |
> repaymentTime | string | Time to repay |
> residualPenaltyInterest | string | Unpaid interest |
> residualPrincipal | string | Unpaid principal |
> status | integer | Loan order status 1 : unrepaid; 2 : fully repaid; 3 : overdue |
> term | string | Fixed term 7 : 7 days; 14 : 14 days; 30 : 30 days; 90 : 90 days; 180 : 180 days |
nextPageCursor | string | Refer to the cursor request parameter |
Request Example
- HTTP
- Python
- Node.js
GET /v5/crypto-loan-fixed/borrow-contract-info?orderCurrency=ETH HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1752652691909
X-BAPI-RECV-WINDOW: 5000
Response Example
{
"retCode": 0,
"retMsg": "ok",
"result": {
"list": [
{
"annualRate": "0.022",
"autoRepay": "true",
"borrowCurrency": "ETH",
"borrowTime": "1752633756068",
"interestPaid": "0.002531506849315069",
"loanId": "571",
"orderId": "13007",
"repaymentTime": "1755225756068",
"residualPenaltyInterest": "0",
"residualPrincipal": "1.4",
"status": 1,
"term": "30"
},
{
"annualRate": "0.022",
"autoRepay": "true",
"borrowCurrency": "ETH",
"borrowTime": "1752633696068",
"interestPaid": "0.00018082191780822",
"loanId": "570",
"orderId": "13007",
"repaymentTime": "1755225696068",
"residualPenaltyInterest": "0",
"residualPrincipal": "0.1",
"status": 1,
"term": "30"
}
],
"nextPageCursor": "568"
},
"retExtInfo": {},
"time": 1752652692603
}