Skip to main content
GET
Get Agent Investments
Investment History: Retrieves all investments (both active and completed) associated with a specific agent. For active investments, calculates the current value and interest earned based on the principal amount, interest rate, and investment duration. Returns detailed information including investment status and creation timestamp.

Path Parameters

string
required
The short ID or UUID of the agent

Request Headers

string
required
Your API key for authentication

Response

array

Status Codes

All Investment Statuses: This endpoint returns all investments for the agent regardless of status (active, completed, cancelled).
Real-time Calculations: For active investments, current values and interest earned are calculated in real-time based on the current interest rate and investment duration.
Completed Investments: For completed investments, the values shown represent the final amounts at the time of withdrawal.