Price change percent for uniswap pair 5 minutes

Returns one pair, where market program is 0xc90b…b62b, market network is Ethereum and market protocol family is Uniswap, sorted by interval time end, highest first: start, end, open, close and calculate.

By Kshitij Mahajan · saved 5 August 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Trading(dataset: realtime) {
    Pairs(
      where: {Market: {Network: {is: "Ethereum"}, ProtocolFamily: {is: "Uniswap"}, Program: {is:"0xc90b20b897a17c28a98c03a8bbc62e03ceccb62b"}}, Interval: {Time: {Duration: {eq: 300}}}}
      orderBy: {descending: Interval_Time_End}
      limit: {count: 1}
    ) {
      Interval {
        Time {
          Start
          End
        }
      }
      Price {
        Ohlc {
          Open
          Close
        }
      }
      calculate(expression: "100 * ( $Price_Ohlc_Close - $Price_Ohlc_Open ) / $Price_Ohlc_Open")
    }
  }
}

Similar queries