Auto-Invest
Query subscription transaction history
Query subscription transaction history of a plan
Weight(IP): 1
get/sapi/v1/lending/auto-invest/history/list
Query parameters
planIdinteger
startTimeinteger
UTC timestamp in ms
endTimeinteger
UTC timestamp in ms
targetAssetnumber
planType'SINGLE' | 'PORTFOLIO' | 'INDEX' | 'ALL'
sizeinteger
Example:100
Default:10 Max:100
currentinteger
Example:1
Current querying page. Start from 1. Default:1
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
Plan result
Example response
[
{
"id": 12345,
"targetAsset": "BTC",
"planType": "SINGLE",
"planName": "BTC",
"planId": 1234,
"transactionDateTime": 1648378800000,
"transactionStatus": "SUCCESS",
"failedType": "INSUFFICIENT_BALANCE",
"sourceAsset": "BUSD",
"sourceAssetAmount": "297.12345",
"targetAssetAmount": "297.12345",
"sourceWallet": "SPOT_WALLET",
"flexibleUsed": "false",
"transactionFee": "0.002",
"transactionFeeUnit": "BUSD",
"executionPrice": "2342",
"executionType": "RECURRING",
"subscriptionCycle": "WEEKLY"
}
]