Skip to main content

Get Crypto Loans Income History(USER_DATA)

API Description

Get Crypto Loans Income History

HTTP Request

GET /sapi/v1/loan/income

Request Weight(UID)

6000

Request Parameters

NameTypeMandatoryDescription
assetSTRINGNO
typeSTRINGNOAll types will be returned by default. Enum:borrowIn ,collateralSpent, repayAmount, collateralReturn(Collateral return after repayment), addCollateral, removeCollateral, collateralReturnAfterLiquidation
startTimeLONGNO
endTimeLONGNO
limitINTNOdefault 20, max 100
recvWindowLONGNO
timestampLONGYES
  • If startTime and endTime are not sent, the recent 7-day data will be returned.
  • The max interval between startTime and endTime is 30 days.

Response Example

[
{
asset: "BUSD",
type: "borrowIn",
amount: "100",
timestamp: 1633771139847,
tranId: "80423589583",
},
{
asset: "BUSD",
type: "borrowIn",
amount: "100",
timestamp: 1634638371496,
tranId: "81685123491",
},
]