Get Interest History (USER_DATA)
#
API DescriptionGet Interest History
#
HTTP RequestGET /sapi/v1/margin/interestHistory
#
Request Weight1(IP)
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
asset | STRING | NO | |
isolatedSymbol | STRING | NO | isolated symbol |
startTime | LONG | NO | |
endTime | LONG | NO | |
current | LONG | NO | Currently querying page. Start from 1. Default:1 |
size | LONG | NO | Default:10 Max:100 |
archived | STRING | NO | Default: false . Set to true for archived data from 6 months ago |
recvWindow | LONG | NO | The value cannot be greater than 60000 |
timestamp | LONG | YES |
- Response in descending order
- If isolatedSymbol is not sent, crossed margin data will be returned
- The max interval between
startTime
andendTime
is 30 days. - If
startTime
andendTime
not sent, return records of the last 7 days by default - Set
archived
totrue
to query data from 6 months ago type
in response has 4 enums:PERIODIC
interest charged per hourON_BORROW
first interest charged on borrowPERIODIC_CONVERTED
interest charged per hour converted into BNBON_BORROW_CONVERTED
first interest charged on borrow converted into BNBPORTFOLIO
interest charged daily on the portfolio margin negative balance