historical Solana trades

Returns 100 trades, where market network is Solana, sorted by block date: base, quote, block time, market address, program, pool address, pool ID and 17 more fields.

By Kshitij Mahajan · saved 1 May 2026 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Trading {
    Trades(
      limit: {count: 100}
      where: {Pair: {Market: {Network: {is: "Solana"}}}, Block: {Date: {before_relative: {days_ago: 15}}}}
      orderBy: {ascending: Block_Date}
    ) {
      Amounts {
        Base
        Quote
      }
      AmountsInUsd {
        Base
        Quote
      }
      Block {
        Time
      }
      Pair {
        Market {
          Address
          Program
        }
        Pool {
          Address
          Id
        }
        QuoteToken {
          Name
          Symbol
          Address
        }
        Token {
          Name
          Symbol
          Address
        }
      }
      Price
      PriceInUsd
      Ranking {
        Position
        Weight
      }
      Side
      Supply {
        MarketCap
        FullyDilutedValuationUsd
        CirculatingSupply
      }
      Trader {
        Address
      }
      TransactionHeader {
        Fee
        Hash
      }
    }
  }
}

Similar queries