Skip to main content

Query Portfolio Margin Pro Bankruptcy Loan Repay History(USER_DATA)

API Description

Query repay history of pmloan for portfolio margin pro.

HTTP Request

GET /sapi/v1/portfolio/pmLoan-history

Request Weight(IP)

500

Request Parameters

NameTypeMandatoryDescription
startTimeLONGNO
endTimeLONGNO
currentLONGNOCurrently querying page. Start from 1. Default:1
sizeLONGNODefault:10 Max:100
recvWindowLONGNO
timestampLONGYES
  • startTime and endTime cannot be longer than 360 days
  • If startTime and endTime not sent, return records of the last 30 days by default.
  • If startTimeis sent and endTime is not sent, return records of [startTime, startTime+30d].
  • If startTime is not sent and endTime is sent, return records of [endTime-30d, endTime].

Response Example

{
"total": 3,
"rows": [
{
"asset": "USDT",
"amount": "404.80294503",
"repayTime": 1731336427804
},
{
"asset": "USDT",
"amount": "4620.41204574",
"repayTime": 1726125090016
}
]
}