Top 10 solana tokens by price change in last 1 hr

Returns 10 DEX trades by token on Solana, sorted by price change 1 h, highest first: currency name, currency symbol, currency mint address, price in USD, side currency name, side currency symbol, side currency mint address and 2 more fields.

By gaurav · saved 31 July 2025 · run 182 times · Bitquery API v2

What it returns

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descendingByField: "Price_Change_1h"}
      where: {Block: {Time: {since_relative: {hours_ago: 6}}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Price_5min_ago: PriceInUSD(
          minimum: Block_Time
          if: {Block: {Time: {since_relative: {minutes_ago: 5}}}}
        )
        Price_1h_ago: PriceInUSD(
          minimum: Block_Time
          if: {Block: {Time: {since_relative: {hours_ago: 1}}}}
        )
        Price_6h_ago: PriceInUSD(minimum: Block_Time)
        CurrentPrice: PriceInUSD(maximum: Block_Time)
        Side {
          Currency {
            Name
            Symbol
            MintAddress
          }
        }
        Market {
          MarketAddress
        }
      }
      Price_Change_5min: calculate(
        expression: "(($Trade_CurrentPrice - $Trade_Price_5min_ago) / $Trade_Price_5min_ago) * 100"
      )
      Price_Change_1h: calculate(
        expression: "(($Trade_CurrentPrice - $Trade_Price_1h_ago) / $Trade_Price_1h_ago) * 100"
      )
      Price_Change_6h: calculate(
        expression: "(($Trade_CurrentPrice - $Trade_Price_6h_ago) / $Trade_Price_6h_ago) * 100"
      )
    }
  }
}

Similar queries