realtime price of a pumpswap token

Streams DEX trades by token on Solana as they happen, where DEX program address is pAMMBa…fXEA and currency mint address is CK1vNt…JGMn: block time, currency mint address, currency name, currency symbol, protocol name, protocol family, program address and 6 more fields.

By Alex · saved 5 June 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {
        Trade: {
          Dex: {
            ProgramAddress: {
              is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"
            }
          }
          Currency: {
            MintAddress: { is: "CK1vNtNvSLA3iYxuMVjX3xYV16Shoi8bwQHP1XwBJGMn" }
          }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          MintAddress
          Name
          Symbol
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Side {
          Currency {
            MintAddress
            Symbol
            Name
          }
        }
        Price
        PriceInUSD
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries