pair last 24 hour price change problem

Returns 10 pairs, where token address is 0x940e…4663 and time duration is 1, sorted by change, highest first: token address, did, token ID, is native, token name, network, token symbol and 21 more fields.

By gaurav · saved 21 February 2026 · run 35 times · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Pairs(
      limit: {count: 10}
      orderBy: {descendingByField: "change"}
      where: {Token: {Address: {is: "0x940e5fbcaa64cf6a76c9f5ccb726aaa67e7b4663"}}, Block: {Time: {since_relative: {minutes_ago: 3000}}}, Price: {IsQuotedInUsd: true}, Interval: {Time: {Duration: {eq: 1}}}}
    ) {
      
      Token {
        Address
        Did
        Id
        IsNative
        Name
        Network
        Name
        Symbol
        TokenId
      }
      
      Interval {
        VolumeBased
        Time {
          Start
          End
          Duration
        }
      }
      Volume {
        Base
        BaseAttributedToUsd
        Quote
        Usd
      }
      Supply{
        MarketCap
        TotalSupply
      }
      Price {
        IsQuotedInUsd
        Ohlc {
          Close
          High
          Low
          Open
        }
        Average {
          Estimate
          ExponentialMoving
          Mean
          SimpleMoving
          WeightedSimpleMoving
        }
      }
      diff: calculate(expression: "Price_Ohlc_High - Price_Ohlc_Low")
      change: calculate(expression: "round(($diff / Price_Ohlc_Low), 3) * 100")
    }
  }
}

Similar queries