ohlc of a solana token pair 1 hour interval

Returns 10 pairs, where token ID is bid:solana:8jiVXftnn2ZG6bugK7HAH5j2G3D6TpsG521gqsWwpump, quote token ID is bid:solana:So11111111111111111111111111111111111111112 and time duration is 3600, sorted by interval time start, highest first: token name, token address, token ID, network bid, quote token name, quote token address, quote token ID and 9 more fields.

By Akshat · saved 24 February 2026 · Bitquery API v2

What it returns

Filters

The query

query MyQuery { 
  Trading {
    Pairs(
      where: {Token: {Id: {is: "bid:solana:8jiVXftnn2ZG6bugK7HAH5j2G3D6TpsG521gqsWwpump"}}, QuoteToken: {Id: {is: "bid:solana:So11111111111111111111111111111111111111112"}}, Interval: {Time: {Duration: {eq: 3600}}}, Price: {IsQuotedInUsd: true}}
      limit: {count: 10}
      orderBy: {descending: Interval_Time_Start}
    ) {
      Token {
        Name
        Address
        Id
        NetworkBid
      }
      QuoteToken{
        Name
        Address
        Id
        NetworkBid
      }
      Price {
        Average {
          Mean
          Estimate
          ExponentialMoving
          SimpleMoving
          WeightedSimpleMoving
        }
        Ohlc {
          Open
          High
          Low
          Close
        }
      }
    }
  }
}

Similar queries