Polymarket provides APIs for accessing prediction market data programmatically. Here's how to get started with Polymarket's data.
API Overview
Polymarket offers several ways to access data:
- REST API: Fetch market data, prices, and order books
- WebSocket: Real-time price updates
- GraphQL: Query historical data
- Subgraph: On-chain data via The Graph
Common Data Points
- Market list: All active prediction markets
- Current prices: Yes/No prices for each outcome
- Order books: Bid/ask depth
- Historical prices: Price charts over time
- Volume: Trading activity per market
Common Use Cases
- Price tracking: Monitor odds across markets
- Arbitrage detection: Compare Polymarket to other platforms
- Data analysis: Historical accuracy research
- Trading bots: Automated market making
- Visualizations: Build custom election maps
Getting Started
Check Polymarket's documentation and GitHub for the latest API specifications. The API is generally permissive for read operations.
Use Alphascope for Aggregated Data
Don't want to build your own integration? Alphascope aggregates data from Polymarket and Kalshi:
- Predictions → View all markets in one place
- News → See news linked to market movements