v26

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

Get Loan Ongoing Orders (USER_DATA)

Weight(IP): 300

get/sapi/v1/loan/ongoing/orders

Query parameters

orderIdinteger
Example:10

orderId in POST /sapi/v1/loan/borrow

loanCoinstring
Example:BUSD

Coin loaned

collateralCoinstring
Example:BNB

Coin used as collateral

currentinteger
Example:1

Current querying page. Start from 1; default:1, max:1000

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 Orders

totalinteger required

Example response

{
  "rows": [
    {
      "orderId": 100000001,
      "loanCoin": "BUSD",
      "totalDebt": "10000",
      "residualInterest": "10.27687923",
      "collateralCoin": "BNB",
      "collateralAmount": "49.27565492",
      "currentLTV": "0.57",
      "expirationTime": 1575018510000
    }
  ],
  "total": 1
}