Prediction Market data is currently in beta. It is actively being worked on and improved, but may be unreliable.At least for the time being, these endpoints require a Growth or Enterprise plan. Learn more.
Platform Information
| Property | Value |
|---|---|
| Platform | Polymarket |
| Network | Polygon |
| Chain ID | 137 |
| Protocol Filter | POLYMARKET |
| Status | Live |
Understanding Events and Markets
Events are collections of related markets. For example:- Event: “Champions League Final 2026”
- Market 1: “Will Team A win?”
- Market 2: “Will the score be over 2.5 goals?”
- Market 3: “Will there be a penalty?”
filterPredictionEvents to find trending high-level topics. Use filterPredictionMarkets to find trending markets.
ID Formats
Polymarket uses specific ID formats to uniquely identify markets, events, and traders across the platform:Market ID
Format:<marketAddress>:Polymarket:<exchangeAddress>:<networkId>
Example: 0x25aa90b3cd98305e849189b4e8b770fc77fe89bccb7cf9656468414e01145d38:Polymarket:0xc5d563a36ae78145c45a50134d48a1215220f80a:137
marketAddress: The unique contract address for this specific market outcomePolymarket: The protocol identifierexchangeAddress: The Polymarket exchange contract address (typically0xc5d563a36ae78145c45a50134d48a1215220f80a)networkId: The blockchain network ID (137for Polygon)
Event ID
Format:<eventSlug>:Polymarket:<exchangeAddress>:<networkId>
Example: 67284:Polymarket:0xc5d563a36ae78145c45a50134d48a1215220f80a:137
eventSlug: The Polymarket event identifier (venue ID)Polymarket: The protocol identifierexchangeAddress: The Polymarket exchange contract addressnetworkId: The blockchain network ID (137for Polygon)
Trader ID
Format:<address>:Polymarket
Example: 0x742d35cc6634c0532925a3b844bc9e7595f0beb6:Polymarket
address: The trader’s wallet addressPolymarket: The protocol identifier
Supported APIs
Market & Event API
- Filter Prediction Events — Query Polymarket events with advanced filtering
- Filter Prediction Markets — Search and filter Polymarket markets by volume, liquidity, category, and other criteria
- Get Detailed Event Stats — Fetch detailed statistics for Polymarket events
- Get Detailed Market Stats — Retrieve comprehensive trading metrics for any Polymarket market
- Get Event Price Bars — Retrieve event-level price history for charting
- Get Market Price Bars — Fetch OHLC price data for Polymarket markets
Trading & Activity API
- Get Prediction Trades — Query trade history and trading activity on Polymarket
- Get Trader Stats — Retrieve comprehensive trader performance metrics
- Filter Traders — Discover top Polymarket traders by volume, PnL, win rate, and other metrics
- Get Trader Market Stats — Analyze trader performance across specific markets
- Get Trader Bars — Track trader activity over time with time-series data
- Filter Trader Markets — Query markets a specific trader has participated in
Market Discovery API
- Get Prediction Categories — Browse Polymarket categories (Politics, Crypto, Sports, etc.)
- Get Token Holders — Query outcome token holders and current positions
Example Queries
Find Trending Polymarket Events
Find Top Polymarket Markets by 24h Volume
Find Polymarket Markets in Politics Category
Find Top Polymarket Traders
Get Price History for a Market
Try It in the Explorer
Test any Polymarket query directly in the Codex GraphQL Explorer.Related Resources
- Supported Prediction Markets Overview — All supported platforms
- Supported Networks Overview — All supported blockchain networks