Polymarket history market trades past window

Trades of one Polymarket market from a two-day window that ended 12 days ago.

Returns the latest 50 prediction trades on Polygon, where marketplace protocol name is polymarket and question market ID is 6977205: block time, transaction hash, buyer, seller, outcome trade amount, collateral amount in USD, outcome trade price and label.

By Divyasshree · saved 25 November 2026 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: matic) {
    PredictionTrades(
      where: {
        TransactionStatus: { Success: true }
        Block: {
          Time: {
            after_relative: { days_ago: 14 }
            before_relative: { days_ago: 12 }
          }
        }
        Trade: {
          Prediction: {
            Marketplace: { ProtocolName: { is: "polymarket" } }
            Question: { MarketId: { is: "6977205" } }
          }
        }
      }
      orderBy: { descending: Block_Time }
      limit: { count: 50 }
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        OutcomeTrade {
          Buyer
          Seller
          Amount
          CollateralAmountInUSD
          Price
        }
        Prediction {
          Outcome {
            Label
          }
        }
      }
    }
  }
}