Savings
Get User Investments
Get all active investments for the authenticated user
GET
Active Investments: Retrieve a comprehensive list of all active investments across all your agents with real-time value calculations.
Request Headers
Your API key for authentication
Response
Status Codes
Status Code | Description |
---|---|
200 | List of active investments retrieved successfully |
401 | Unauthorized - Invalid or missing API key |
500 | Internal Server Error |
Active Only: This endpoint returns only active investments; completed or cancelled investments are not included.
Real-time Calculations: Interest values are calculated in real-time based on the current platform interest rate and exact investment duration.
Total Balance: The totalBalance
for each agent includes both the investment value and the regular wallet balance.