Currency Cube API (get price of a Currency aggregated on all chain)

Returns the latest currencie, where currency ID is bid:bitcoin and time duration is 60: currency ID, currency name, currency symbol, start, duration, end, base and 10 more fields.

By Akshat · saved 26 September 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Currencies(
      where: {Currency: {Id: {is: "bid:bitcoin"}}, Interval: {Time: {Duration: {eq: 60}}}}
      limit: {count: 1}
      orderBy: {descending: Block_Time}
    ) {
      Currency {
        Id
        Name
        Symbol
      }
      Interval {
        Time {
          Start
          Duration
          End
        }
      }
      Volume {
        Base
        BaseAttributedToUsd
        Quote
        Usd
      }
      Price {
        IsQuotedInUsd
        Ohlc {
          Open
          High
          Low
          Close
        }
        Average {
          Mean
          ExponentialMoving
        }
      }
    }
  }
}

Similar queries