Get NFT Balances for Multiple Addresses

Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(network: eth, dataset: combined) archive full history combined archive + realtime in one result Ar

By Akshat · saved 13 November 2025 · Bitquery API v2

What it returns

Filters

The query

# Historical data
#   This query uses the realtime dataset (the default), which holds only a
#   recent window - hours to days depending on the cube.
#
#   For older data add a dataset to the top-level element:
#
#     EVM(network: eth, dataset: combined)
#
#     archive   full history
#     combined  archive + realtime in one result
#
#   Archive and combined need the historical data add-on:
#   https://bitquery.io/pricing
#
# Datasets:  https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#

{
  EVM(network: eth) {
    TransactionBalances(
      orderBy: {descendingByField: "TokenBalance_PostBalanceInUSD_maximum"}
      where: {TokenBalance: {Address: {in: ["0x2906bF2d33bAd2041B31bd22a728724e23F6e764","0x3c6559E241f6A2e15a98f3270bc66447e0B6222b"]}, Currency: {Fungible: false}}}
    ) {
      TokenBalance {
        Address
        Currency {
          Symbol
          Name
          SmartContract
          Decimals
        }
        PostBalance(maximum: Block_Time selectWhere:{ne: "0"})
        PostBalanceInUSD(maximum: Block_Time)
        Address
      }
    }
  }
}

Similar queries