cURL
curl --request GET \ --url https://api.vexara.io/v1/portfolio \ --header 'Authorization: Bearer <token>'
{ "totalValue": 123, "holdings": [ { "agentId": "<string>", "agentName": "<string>", "tokenAddress": "<string>", "balance": 123, "currentPrice": 123, "value": 123, "pnl": 123, "pnlPercentage": 123 } ], "earnedRevenue": 123 }
Retrieve user’s AI Agent token holdings
JWT Bearer token authentication. Include the token in the Authorization header
Portfolio retrieved successfully
Total portfolio value in SOL
Show child attributes
Total revenue earned from holdings