latest liquidity of pools of a token

Returns the latest DEX pools on Solana, where base currency mint address is 22Dkgh…bonk: base post amount, base price in USD, quote post amount, protocol family, market address, base currency name, base currency symbol and 4 more fields.

By gaurav · saved 9 July 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery($token: String!) {
  Solana {
    DEXPools(
      where: {Pool: {Market: {BaseCurrency: {MintAddress: {is: $token}}}}, Transaction: {Result: {Success: true}}}
      orderBy: {descending: Block_Time}
      limitBy: {by: Pool_Market_MarketAddress, count: 1}
    ) {
      Pool {
        Base {
          BaseLiquidity: PostAmount
          PriceInUSD
        }
        Quote {
          QuoteLiquidity: PostAmount
        }
        Dex {
          ProtocolFamily
        }
        Market {
          MarketAddress
          BaseCurrency {
            Name
            Symbol
            MintAddress
          }
          QuoteCurrency {
            Name
            Symbol
            MintAddress
          }
        }
      }
    }
  }
}

Variables

{
  "token": "22DkghkVTeHZvPDPx7j8gAQFMinsfCy16oTPcVaZbonk"
}

Similar queries