Get multiple Token Prices

Returns the latest DEX trades by token on Solana, where currency mint address is 6p6xgH…GiPN or EPjFWd…Dt1v and side currency mint address is So1111…1112: block time, currency name, currency symbol, currency mint address, trade price, price in USD, side currency name and side currency mint address.

By phạm thanh tùng · saved 10 November 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {MintAddress: {in: ["6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
      limitBy: {by: Trade_Currency_MintAddress, count: 1}
    ) {
      Block {
        Time(
          if: {Block: {Time: {till_relative: {months_ago: 10, years_ago: 10}}}, ChainId: {}}
        )
      }
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        PriceInSol: Price
        PriceInUSD
        Side {
          Currency {
            Name
            MintAddress
          }
        }
      }
    }
  }
}

Similar queries