API reference
Balances
An account's USD cash and every token it holds, with USD values.
GET
https://api.gum.ag/app/v1/balances/{address}Path parameters
| Parameter | Required | Description |
|---|---|---|
address | Yes | A Solana address, an EVM 0x address or a GUM address. |
Response
| Field | Meaning |
|---|---|
account | The GUM account. For an EVM address, this is the GUM address it maps to. |
usd | Cash you can spend on buys. |
tokens | Everything else you hold, largest first: chainId, address, symbol, amount, valueUsd, priceUsd. Sell with these chainId and address values. |
totalUsd | usd plus your tokens’ value. |
perpsUsd | Your GUM Perps balance, or null when it can’t be read right now. Not included in totalUsd. |