Get Wallet Balance
Get cryptocurrency balances for any blockchain wallet
Multipliers
Multipliers
Details
Details
- Token balances on one or more blockchains
- Current USD price, BTC price, and 24h change
- Token contract addresses and decimals (ERC20-style tokens)
- Market data: rank, 24h volume
Required
Required
- address: Wallet address to query
Optional
Optional
- One of connectionId or blockchain (if both provided, connectionId is used):
- Single value (e.g., “ethereum”)
- Comma-separated values (“ethereum,polygon”)
- “all” — every supported network (top-tier EVM chains forced; other chains bounded by a per-chain latency limit and may be skipped)
- “forceall” — every supported network, no latency limit (the response is delayed by the slowest chain)
- Omit both and the networks are detected from the address itself — see “Address-only requests”.
Address-only requests
Address-only requests
- If you send just an address, the networks are worked out from the address format.
- An EVM address (0x…, or an ENS name) is queried on every EVM chain, exactly like “all” — and costs the same as “all”.
- Any other address is queried on the first network its format is valid for (e.g. a bc1… address on Bitcoin), and costs a single-network request.
- An address that matches no supported network returns 400.
Notes
Notes
- The top-tier EVM chains forced under “all” are: ethereum, binacesmartchain, base-wallet, polygon-wallet, arbitrum-wallet, optimism-wallet, avalanche-wallet, hyperevm-wallet, monad-wallet, plasma-wallet. In rare cases a slow non-top-tier chain may be omitted; use “forceall” to wait for everything.
Authorizations
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
Query Parameters
The blockchain wallet address to query balances for
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
The identifier of connection from /wallet/blockchains call response. If both connectionId and blockchain are provided, connectionId will be used. On the balance endpoints both may be omitted, in which case the networks are detected from the address: an EVM address (0x… or ENS) is queried on every EVM chain and billed like "all", any other address is queried on the first network its format is valid for. Accepts "all" — top-tier EVM chains (ethereum, binacesmartchain, base-wallet, polygon-wallet, arbitrum-wallet, optimism-wallet, avalanche-wallet, hyperevm-wallet, monad-wallet, plasma-wallet) are always included; other chains are subject to a per-chain latency limit and may be skipped from the response. Use "forceall" instead to wait for every supported chain regardless of latency.
"base-wallet"
The blockchain network identifier from /wallet/blockchains call response. If both connectionId and blockchain are provided, connectionId will be used. On the balance endpoints both may be omitted, in which case the networks are detected from the address: an EVM address (0x… or ENS) is queried on every EVM chain and billed like "all", any other address is queried on the first network its format is valid for. Accepts "all" — top-tier EVM chains (ethereum, binacesmartchain, base-wallet, polygon-wallet, arbitrum-wallet, optimism-wallet, avalanche-wallet, hyperevm-wallet, monad-wallet, plasma-wallet) are always included; other chains are subject to a per-chain latency limit and may be skipped from the response. Use "forceall" instead to wait for every supported chain regardless of latency.
"base"
Response
Get wallet balance
Unique identifier for the cryptocurrency
"ethereum"
The total balance amount of this cryptocurrency in the wallet
1.5
Full name of the cryptocurrency
"Ethereum"
Trading symbol of the cryptocurrency
"ETH"
Current price in USD
2000.5
Current price in BTC
0.05
URL of the cryptocurrency logo image
"https://static.coinstats.app/coins/1650455629727.png"
Price change percentage in the last 24 hours
5.25
Market cap rank of the cryptocurrency
2
24-hour trading volume in USD
15000000000
The blockchain network where this token exists
"ethereum"
The blockchain network identifier that was used in the query
"ethereum"
Number of decimal places for token precision (mainly for ERC20 tokens)
18
Smart contract address for tokens (e.g. ERC20, BEP20)
"0xdac17f958d2ee523a2206206994597c13d831ec7"