top markets discovery

Returns 50 prediction trades on Polygon, where marketplace protocol name is polymarket, sorted by volume USD, highest first: question ID, market ID, title, created at, sum of trade outcome trade collateral amount in USD and count.

By Akshat · saved 29 April 2026 · Bitquery API v2

What it returns

Filters

The query

query TopPolymarketMarkets($limit: Int!) {
  EVM(dataset: realtime, network: matic) {
    PredictionTrades(
      where: {TransactionStatus: {Success: true}, Block: {Time: {since_relative: {days_ago: 4}}}, Trade: {Prediction: {Marketplace: {ProtocolName: {is: "polymarket"}}}}}
      limit: {count: $limit}
      limitBy: {by: Trade_Prediction_Question_Id, count: 1}
      orderBy: {descendingByField: "volume_usd"}
    ) {
      Trade {
        Prediction {
          Question {
            Id
            MarketId
            Title
            CreatedAt
          }
        }
      }
      volume_usd: sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)
      trades: count
      buyers: count(distinct: Trade_OutcomeTrade_Buyer)
      sellers: count(distinct: Trade_OutcomeTrade_Seller)
    }
  }
}

Variables

{
  "limit": 50
}

Similar queries