top markets by volume for past 24 hours

Returns 100 prediction trades on Polygon, where marketplace protocol name is polymarket, sorted by sum buy and sell, highest first: question ID, image, title, created at, sum of trade outcome trade collateral amount in USD and calculate.

By Kshitij Mahajan · saved 6 May 2026 · Bitquery API v2

What it returns

Filters

The query

query questionsByVolume {
  EVM(network: matic) {
    PredictionTrades(
      where: {
        TransactionStatus: {Success: true}
        Block: {Time: {since_relative: {hours_ago: 24}}}
        Trade: {Prediction: {Marketplace: {ProtocolName: {is: "polymarket"}}}}
      }
      limit: {count: 100}
      orderBy: {descendingByField: "sumBuyAndSell"}
      limitBy: {by: Trade_Prediction_Question_Id}
    ) {
      Trade { Prediction { Question { Id Image Title CreatedAt } } }
      buyUSD: sum(
        of: Trade_OutcomeTrade_CollateralAmountInUSD
        if: {Trade: {OutcomeTrade: {IsOutcomeBuy: true}}}
      )
      sellUSD: sum(
        of: Trade_OutcomeTrade_CollateralAmountInUSD
        if: {Trade: {OutcomeTrade: {IsOutcomeBuy: false}}}
      )
      sumBuyAndSell: calculate(expression: "$buyUSD + $sellUSD")
    }
  }
}

Variables

{
}

Similar queries