Auto-Invest
Query Index Linked Plan Position Details(USER_DATA)
Changed onDetails on users Index-Linked plan position details
Weight(IP): 1
get/sapi/v1/lending/auto-invest/index/user-summary
Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/sapi/v1/lending/auto-invest/index/user-summary
- AuthAPI key in header X-MBX-APIKEY
Query parameters
indexIdinteger required
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
Position Details
Example response
{
"indexId": 1,
"totalInvestedInUSD": "114.555",
"currentInvestedInUSD": "101.2",
"pnlInUSD": "101.2",
"roi": "1.023",
"assetAllocation": [
{
"targetAsset": "ADA",
"allocation": "10"
}
],
"details": [
{
"targetAsset": "ADA",
"averagePriceInUSD": "3.4",
"totalInvestedInUSD": "222.21",
"currentInvestedInUSD": "101.2",
"purchasedAmount": "122.2",
"pnlInUSD": "109.2",
"roi": "0.2",
"percentage": "10",
"availableAmount": "122.12345678",
"redeemedAmount": "122",
"assetValueInUSD": "101"
}
]
}Changes
- info
endpoint added
- info