AGG is currently in alpha. APIs, components, and docs may change.
cURL
curl --request GET \ --url https://api.agg.market/execution/balances \ --header 'Authorization: Bearer <token>' \ --header 'x-app-id: <api-key>'
{ "cash": [ { "tokenSymbol": "<string>", "totalRaw": "<string>", "decimals": 123, "chains": [ { "chainId": 123, "tokenAddress": "<string>", "balanceRaw": "<string>", "lastSyncedAt": "<string>" } ] } ], "positions": [ { "venue": "kalshi", "balance": 123, "costBasis": 123, "unrealizedPnl": 123, "realizedPnl": 123 } ] }
Returns per-chain token balances and per-venue position balances for the authenticated user.
Your application ID. Required for all app-tier and user-tier routes.
JWT access token returned by POST /auth/verify. Required for user-tier routes.
200
Show child attributes