Skip to main content

Query Margin Interest Rate History (USER_DATA)

API Description#

Query Margin Interest Rate History

HTTP Request#

GET /sapi/v1/margin/interestRateHistory

Request Weight#

1(IP)

Request Parameters#

NameTypeMandatoryDescription
assetSTRINGYES
vipLevelINTNODefault: user's vip level
startTimeLONGNODefault: 7 days ago
endTimeLONGNODefault: present. Maximum range: 1 months.
recvWindowLONGNONo more than 60000
timestampLONGYES

Response Example#

[    {        "asset": "BTC",        "dailyInterestRate": "0.00025000",        "timestamp": 1611544731000,        "vipLevel": 1        },    {        "asset": "BTC",        "dailyInterestRate": "0.00035000",        "timestamp": 1610248118000,        "vipLevel": 1        }]