cURL
curl --request GET \ --url https://api.lpagent.io/open-api/v1/token/balance \ --header 'x-api-key: <api-key>'
{ "status": "success", "data": [ { "tokenAddress": "So11111111111111111111111111111111111111112", "balance": 1.5, "rawBalance": "1500000000", "symbol": "SOL", "decimals": 9, "logo": "https://example.com/logo.png", "balanceInUsd": 150.75, "price": 100.5 } ] }
Returns all token balances (SOL and SPL tokens) for the specified wallet address
API key for authentication
The wallet address to get balances for
Comma-separated list of token contract addresses to filter by
Token balances retrieved successfully
"success"
Show child attributes