GET /wallets/token-balance
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/rango/wallets/token-balanceCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeBalance and USD price of a single token for one wallet.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
walletAddress | query | str | required | Wallet address example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 |
blockchain | query | str | required | Blockchain name or hub alias (ETH, eth, ethereum, matic, solana …) example: ETH |
symbol | query | str | required | Token symbol as listed by /meta/blockchains + /meta/compact example: USDC |
Response
type: object
pagination: none
sample: {
"balance": "str",
"price": "float",
"error": "null",
"errorCode": "null",
"traceId": "null"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/rango/wallets/token-balance?walletAddress=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&blockchain=ETH&symbol=USDC"