GetOHLC1sAFTER

Returns 50 DEX trades by token on Solana, where currency mint address is 5w3srH…pump and block time after 2026-03-29, sorted by block time: block time, price in USD, average of trade price in USD and sum of trade amount in USD.

By Juan David Gonzalez Samudio · saved 29 March 2026 · Bitquery API v2

What it returns

Filters

The query

query GetOHLC1sAfter($token: String!, $after: DateTime!) {
  Solana {
    DEXTradeByTokens(
      where: {
        Block: { Time: { after: $after } }
        Trade: { Currency: { MintAddress: { is: $token } } }
      }
      orderBy: { ascending: Block_Time }
      limit: { count: 50 }
    ) {
      Block {
        Time(interval: { in: seconds, count: 1 })
      }
      Trade {
        open: PriceInUSD(minimum: Block_Time)
        high: PriceInUSD(maximum: Trade_PriceInUSD)
        low: PriceInUSD(minimum: Trade_PriceInUSD)
        close: PriceInUSD(maximum: Block_Time)
      }
      meanPrice: average(of: Trade_PriceInUSD)
      volumeUsd: sum(of: Trade_AmountInUSD)
    }
  }
}

Variables

{
  "token": "5w3srHLuR8TQmZLd19T71FZkVFHMZtDPdAexjSeJpump",
  "after": "2026-03-29T20:03:19.050Z"
}

Similar queries