OHLCV of a trends fun token

Returns the latest 10 currencies, where currency ID is bid:solana:CY1P83KnKwFYostvjQcoR2HJLyEJWRBRaVQmYyyD3cR8 and time duration is 1: currency ID, currency name, currency symbol, block date, block time, timestamp, start and 16 more fields.

By Divyasshree · saved 28 October 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Currencies(
      where: {
        Currency: { Id: { is: "bid:solana:CY1P83KnKwFYostvjQcoR2HJLyEJWRBRaVQmYyyD3cR8" } },
        Interval: { Time: { Duration: { eq: 1 } } }
      },
      limit: { count: 10 },
      orderBy: { descending: Block_Time }
    ) {
      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