Auto-Invest
Get list of plans
Query plan lists
Weight(IP): 1
get/sapi/v1/lending/auto-invest/plan/list
Query parameters
planTypestring required
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
Plan result
Example response
{
"planValueInUSD": "123",
"planValueInBTC": "0.1",
"pnlInUSD": "120",
"roi": "2.3",
"plan": [
{
"planId": 12345,
"planType": "SINGLE",
"editAllowed": "true",
"creationDateTime": 1648378800000,
"firstExecutionDateTime": 1648378800000,
"nextExecutionDateTime": 1648378800000,
"status": "ONGOING",
"lastUpdatedDateTime": 1648378800000,
"targetAsset": "BTC",
"totalTargetAmount": "0.111",
"sourceAsset": "BUSD",
"totalInvestedInUSD": "4.555",
"subscriptionAmount": "0.1",
"subscriptionCycle": "WEEKLY",
"subscriptionStartDay": "1",
"subscriptionStartWeekday": "MON",
"subscriptionStartTime": "1",
"sourceWallet": "SPOT_WALLET",
"flexibleAllowedToUse": "false",
"planValueInUSD": "101.2",
"pnlInUSD": "101.2",
"roi": "1.02"
}
]
}