Copy of All Liquidity pairs of a token and current liquidity on solana

All Liquidity pairs of a token and current liquidity on solana

Returns 100000 DEX pools on Solana, where block time after 2025-01-01, sorted by pool quote post amount in USD maximum, highest first: protocol family, market address, base post amount, base post amount in USD, quote post amount and quote post amount in USD.

By Bie Yaqing · saved 26 January 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($program_id: String, $base: String, $quote: String, $time_ago: DateTime) {
  Solana {
    DEXPools(
      orderBy: {descendingByField: "Pool_Quote_PostAmountInUSD_maximum"}
      where: {Transaction: {Result: {Success: true}}, Pool: {Dex: { ProgramAddress: {is: $program_id} }, Market: {BaseCurrency: {MintAddress: {is: $base}}, QuoteCurrency: {MintAddress: {is: $quote}}}}, Block: {Time: {after: $time_ago}}}
      limit: {count: 100000}
    ) {
      Pool {
        Dex {
          ProtocolFamily
        }
        Market {
          MarketAddress
        }
        Base {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
        Quote {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
      }
    }
  }
}

Variables

{
  "program_addresses": ["whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc", "CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK"],
  "sol_tokens": ["So11111111111111111111111111111111111111112"],
  "strat_hop_tokens": ["So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"],
  "time_ago": "2025-01-01T00:00:00Z"
}

Similar queries