Skip to main content

查询质押借币历史记录(USER_DATA)

接口描述#

查询质押借币历史记录

HTTP请求#

GET /sapi/v1/loan/borrow/history

请求权重(IP)#

400

请求参数#

名称类型是否必需描述
orderIdLONGNOPOST /sapi/v1/loan/borrow 中的 orderId
loanCoinSTRINGNO
collateralCoinSTRINGNO
startTimeLONGNO
endTimeLONGNO
currentLONGNO当前查询页数,从 1 开始。默认值:1;最大:1000。
limitLONGNO默认值:10;最大:100。
recvWindowLONGNO
timestampLONGYES
  • 如果没有发送 startTime 和 endTime,默认返回最近 90 天的数据。
  • startTime 和 endTime 的最大间隔为 180 天。

响应示例#

{  "rows": [    {    "orderId": 100000001,    "loanCoin": "BUSD",    "initialLoanAmount": "10000",    "hourlyInterestRate": "0.000057"    "loanTerm": "7"    "collateralCoin": "BNB",    "initialCollateralAmount": "49.27565492"    "borrowTime": 1575018510000    "status": "Repaid" // Accruing_Interest, Overdue, Liquidating, Repaying, Repaid, Liquidated, Pending, Failed    }  ],  "total": 1}