rack "King of the Hill" Pump.fun tokens

Returns DEX trades on Solana, where buy currency mint address is not 111111…1111, DEX protocol name is pump and trade price asymmetry is at most 0.1: buy price, buy price in USD, buy currency name, buy currency symbol, buy currency mint address, buy decimals, buy fungible and 2 more fields.

By Akshat · saved 19 March 2026 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      where: {
        Trade: {
          Dex: { ProtocolName: { is: "pump" } }
          Buy: {
            Currency: {
              MintAddress: { notIn: ["11111111111111111111111111111111"] }
            } 
          }
          PriceAsymmetry: { le: 0.1 }
          Sell: { AmountInUSD: { gt: "10" } }
        }
        Transaction: { Result: { Success: true } }
        Block: { Time: { since_relative:{minutes_ago:15}} }
      }
    ) {
      Trade {
        Buy {
          Price(maximum: Block_Time)
          recentPrice:PriceInUSD(maximum: Block_Time selectWhere:{ ge: 0.000030, le: 0.000035 })
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      marketcap: calculate(expression:"1000000000 * $Trade_Buy_recentPrice")
    }
  }
}

Similar queries