v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
VIP Loans

Get VIP Loan Ongoing Orders (USER_DATA)

VIP loan is available for VIP users only.

Weight(IP): 400

get/sapi/v1/loan/vip/ongoing/orders

Query parameters

orderIdinteger

Order id

collateralAccountIdinteger
loanCoinstring
Example:BUSD

Coin loaned

collateralCoinstring
Example:BNB

Coin used as collateral

currentinteger
Example:1

Current querying page. Start from 1. Default:1

limitinteger
Example:10

Default 10; max 100.

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Ongoing VIP Loan Orders

totalinteger required

Example response

{
  "rows": [
    {
      "orderId": 100000001,
      "loanCoin": "BUSD",
      "totalDebt": "10000",
      "residualInterest": "10.27687923",
      "collateralAccountId": "12345678, 23456789",
      "collateralCoin": "BNB,BTC,ETH",
      "collateralValue": "25000.27565492",
      "totalCollateralValueAfterHaircut": "25000.27565492",
      "lockedCollateralValue": "25000.27565492",
      "currentLTV": "0.57",
      "expirationTime": 1575018510000,
      "loanDate": "1676851200000",
      "loanRate": "0.0123",
      "loanTerm": "30days"
    }
  ],
  "total": 1
}