check token pools liquidity

Returns DEX pools on Solana, sorted by pool quote post amount, highest first: market address, base currency mint address, quote currency mint address, protocol family, protocol name, quote post amount and base post amount.

By Divyasshree · saved 2 March 2026 · run 1 time · Bitquery API v2

What it returns

The query

query GetLatestLiquidityForPool($tokens: [String!]) {
  Solana(dataset: realtime) {
    DEXPools(
      where: {Pool: {Market: {BaseCurrency: {Name: {not: ""}}, QuoteCurrency: {Name: {not: ""}}}}, any: [{Pool: {Market: {BaseCurrency: {MintAddress: {in: $tokens}}}}}, {Pool: {Market: {QuoteCurrency: {MintAddress: {in: $tokens}}}}}], Transaction: {Result: {Success: true}}}
      orderBy: {descending: Pool_Quote_PostAmount}
    ) {
      Pool {
        Market {
          MarketAddress
          BaseCurrency {
            MintAddress
          }
          QuoteCurrency {
            MintAddress
          }
        }
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Quote {
          PostAmount(maximum: Block_Slot)
        }
        Base {
          PostAmount(maximum: Block_Slot)
        }
      }
    }
  }
}

Variables

{
  "tokens": [
    "BTr5SwWSKPBrdUzboi2SVr1QvSjmh1caCYUkxsxLpump"
  ]
}

Similar queries