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 free

Balance and USD price of a single token for one wallet.

Parameters

nameintypedescription
walletAddressquerystrrequiredWallet address
example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
blockchainquerystrrequiredBlockchain name or hub alias (ETH, eth, ethereum, matic, solana …)
example: ETH
symbolquerystrrequiredToken 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"