price by id in hour

Returns 100 prediction trades on Polygon, where question ID is 0xe02e…0606 and block time after 2026-02-19: outcome trade price, price in USD, question ID, image, title, label, outcome ID and 4 more fields.

By Nadia · saved 20 February 2026 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query pairs($time_ago: DateTime!) {
  EVM(network: matic) {
    PredictionTrades(
      where: {TransactionStatus: {Success: true}, Trade: {Prediction: {Question: {Id: {is: "0xe02e1215fa021ebde8838152313f20f0faf8b1413829df7f746e59365e1e0606"}}}}, Block: {Time: {after: $time_ago}}}
      limit: {count: 100}
    ) {
      Trade {
        OutcomeTrade {
          Price
          PriceInUSD
        }
        Prediction {
          Question {
            Id
            Image
            Title
          }
          Outcome {
            Label
            Id
          }
          OutcomeToken {
            SmartContract
            AssetId
            Symbol
          }
        }
      }
      Block {
        Time(interval: {in: hours})
      }
    }
  }
}

Variables

{
  "time_ago": "2026-02-19T11:07:44Z"
}

Similar queries