token usd price using trading api

Returns 10 pairs, where token ID is bid:eth:0xa12cc123ba206d4031d1c7f6223d1c2ec249f4f3 and time duration is 1, sorted by interval time start, highest first: token name, token address, token ID, network bid, mean, estimate, exponential moving and 6 more fields.

By Akshat · saved 24 February 2026 · run 2 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries