Crypto Loans
Get Loan Repayment 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/repay/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
Loan Repayment History
Example response
{
"rows": [
{
"loanCoin": "BUSD",
"repayAmount": "10000",
"collateralCoin": "BNB",
"collateralUsed": "0",
"collateralReturn": "49.27565492",
"repayType": "1",
"repayStatus": "Repaid",
"repayTime": 1575018510000,
"orderId": 756783308056935400
}
],
"total": 1
}