v26

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

Get Loan LTV Adjustment History (USER_DATA)

If startTime and endTime are not sent, the recent 90-day data will be returned. The max interval between startTime and endTime is 180 days.

Weight(IP): 400

get/sapi/v1/loan/ltv/adjustment/history

Query parameters

orderIdinteger
Example:10

Order ID

loanCoinstring
Example:BUSD

Coin loaned

collateralCoinstring
Example:BNB

Coin used as collateral

startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

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

LTV Adjustment History

totalinteger required

Example response

{
  "rows": [
    {
      "loanCoin": "BUSD",
      "collateralCoin": "BNB",
      "direction": "ADDITIONAL",
      "amount": "5.235",
      "preLTV": "0.78",
      "afterLTV": "0.56",
      "adjustTime": 1575018510000,
      "orderId": 756783308056935400
    }
  ],
  "total": 1
}