OHLC of a currency on multiple blockchains

Returns 10000 currencies, where currency ID is bid:eth or bid:bitcoin and time duration is 60, sorted by interval time end, highest first: currency ID, currency name, currency symbol, block date, block time, timestamp, start and 16 more fields.

By Divyasshree · saved 5 September 2025 · run 7 times · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Currencies(
      where: {
        Currency: { Id: { in:[ "bid:eth" ,"bid:bitcoin"]} },
        Interval: { Time: { Duration: { eq: 60 } } }
      },
      limit: { count: 10000 },
      orderBy: { descending: Interval_Time_End }
    ) {
      Currency {
        Id
        Name
        Symbol
      }
      Block {
        Date
        Time
        Timestamp
      }
      Interval {
        Time {
          Start
          Duration
          End
        }
      }
      Volume {
        Base
        BaseAttributedToUsd
        Quote
        Usd
      }
      Price {
        IsQuotedInUsd #The price is shown in USD (`IsQuotedInUsd: true` by default).
        Ohlc {
          Open    # Earliest price across chains in the interval
          High    # Highest price across chains in the interval
          Low     # Lowest price across chains in the interval
          Close   # Latest price across chains in the interval
        }
        Average {
          Estimate
          ExponentialMoving
          Mean
          SimpleMoving
          WeightedSimpleMoving
        }
      }
    }
  }
}

Similar queries