Skip to main content

Balances API Documentation

This section covers how to fetch balance-related data on Ethereum via Bitquery GraphQL APIs and Streams.

To get started, signup with Bitquery and get your Access Token by following these steps.

If you need help getting balance data, reach out to support.

Modes Supported

  • GraphQL API
  • GraphQL Stream
  • Kafka Stream

Primary APIs

APIDocumentationDescription
BalancesAddress Balance APICurrent and historical token balances for wallet addresses (EVM.Balances).
HoldersToken Holders APITop holders, holder counts, and holder activity (EVM.Holders).
TransactionBalancesTransaction Balance TrackerPer-transaction balance updates with supply, market cap, reason codes, and streams (EVM.TransactionBalances).

What is the Balance API?

On Ethereum, use the Balances cube for address-level balances and the Holders cube for token holder lists and counts. Both support dataset: combined (realtime + archive) and dataset: archive (historical and inactive addresses).

See the Address Balance API, Token Holders API, and Transaction Balance Tracker for queries and IDE examples.

The Transaction Balance Tracker section also covers validator, miner, MEV, gas, NFT, and self-destruct balance tracking.

When to Use Which API or Stream?

Use CaseAPI/StreamDescription
Latest wallet balancesBalances APIToken balances for an address (dataset: combined; use Amount(selectWhere: { gt: "0" }) for non-zero).
Balance on a dateBalances APIPoint-in-time snapshot with Block.Date.till (dataset: archive).
Wallet balance for one token on a dateBalances APIBlock.Date, limit: 1, orderBy: Block_Date.
Balance history over timeBalances APISnapshots ordered by Block_Date.
Top token holdersHolders APIorderBy: Balance_Amount, limit.
Token holder countHolders APIuniq(of: Holder_Address) with dataset: combined.
Holders above a thresholdHolders APIuniq with if: { Balance: { Amount: { gt: "..." } } } }.
Token balance with supply and market capTransaction Balance TrackerEVM.TransactionBalances — post balance, supply, USD value per transaction.
Real-time balance change streamsTransaction Balance TrackerSubscribe to balance updates with reason codes.
Validator / miner / MEV balance trackingTransaction Balance TrackerSpecialized trackers for rewards and MEV.