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 100 DEX pools on Solana, 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, quote post amount in USD and token.

By sxs · saved 7 October 2025 · Bitquery API v2

What it returns

The query

query ($base: String, $quote: String, $time_ago: DateTime) {
  Solana {
    DEXPools(
      orderBy: {descendingByField: "Pool_Quote_PostAmountInUSD_maximum"}
      where: {Transaction: {Result: {Success: true}}, Pool: {}, Instruction: {Accounts: {}}}
      limit: {count: 100}
    ) {
      Pool {
        Dex {
          ProtocolFamily
        }
        Market {
          MarketAddress
        }
        Base {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
        Quote {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
      }
      Instruction {
        Accounts(if: {}) {
          Token
        }
      }
    }
  }
}

Variables

{
  "base": "9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump",
  "quote": "So11111111111111111111111111111111111111112",
  "time_ago": "2025-06-13T04:46:49Z"
}

Similar queries