top pools of a token

Returns 200 DEX trades by token on Base, where currency smart contract is 0xb695…ab07 and block time after 2026-02-15, sorted by USD, highest first: pool ID, smart contract, protocol name, protocol family, owner address, currency symbol, currency name and 9 more fields.

By gaurav · saved 16 February 2026 · Bitquery API v2

What it returns

Filters

The query

query tokenTrades($network: evm_network!, $token: String!, $time_10min_ago: DateTime!, $time_1h_ago: DateTime!, $time_3h_ago: DateTime!, $time_ago: DateTime!) {
  EVM(network: $network) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "usd"}
      where: {TransactionStatus: {Success: true}, Trade: {Currency: {SmartContract: {is: $token}}}, Block: {Time: {after: $time_ago}}}
      limit: {count: 200}
    ) {
      Trade {
        PoolId
        Dex {
          SmartContract
          Pair {
            SmartContract
          }
          ProtocolName
          ProtocolFamily
          OwnerAddress
        }
        Currency {
          Symbol
          Name
          SmartContract
          Fungible
        }
        Side {
          Currency {
            Symbol
            Name
            SmartContract
          }
        }
        price_usd: PriceInUSD(maximum: Block_Number)
        price_last: Price(maximum: Block_Number)
        price_10min_ago: Price(
          minimum: Block_Number
          if: {Block: {Time: {after: $time_10min_ago}}}
        )
        price_1h_ago: Price(
          minimum: Block_Number
          if: {Block: {Time: {after: $time_1h_ago}}}
        )
        price_3h_ago: Price(
          minimum: Block_Number
          if: {Block: {Time: {after: $time_3h_ago}}}
        )
      }
      usd: sum(of: Trade_AmountInUSD)
      vol: sum(of: Trade_Amount)
      count
    }
  }
}

Variables

{
  "network": "base",
  "token": "0xb695559b26bb2c9703ef1935c37aeae9526bab07",
  "time_1h_ago": "2026-02-16T14:12:45Z",
  "time_3h_ago": "2026-02-16T12:12:45Z",
  "time_10min_ago": "2026-02-16T15:02:45Z",
  "time_ago": "2026-02-15T15:12:45Z"
}

Similar queries