Find Markets by market_slug on Polymarket

Returns the latest 50 prediction managements on Polygon, where marketplace protocol name is polymarket: block time, block number, transaction hash, transaction time, event type, condition ID, question ID and 13 more fields.

By Divyasshree · saved 24 February 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MarketsByMarketId($marketSlug:String!) {
  EVM(network: matic) {
    PredictionManagements(
      limit: { count: 50 }
      orderBy: { descending: Block_Time }
      where: {
        Management: {
          Prediction: {
            Question: { Title: { includesCaseInsensitive:$marketSlug } }
            Marketplace: { ProtocolName: { is: "polymarket" } }
          }
        }
      }
    ) {
      Block {
        Time
        Number
      }
      Transaction {
        Hash
        Time
      }
      Management {
        EventType
        Prediction {
          Condition {
            Id
            QuestionId
            Outcomes {
              Id
              Index
              Label
            }
          }
          Question {
            MarketId
            Title
            Image
            ResolutionSource
            CreatedAt
          }
          CollateralToken {
            Symbol
            Name
          }
          Outcome {
            Id
            Label
          }
          OutcomeToken {
            AssetId
            SmartContract
          }
        }
      }
    }
  }
}

Variables

{
  "marketSlug": "XRP"
}

Similar queries