DeveloperJanuary 25, 20266 min read

Polymarket API: Developer Guide for Prediction Market Data

Learn how to use the Polymarket API to access prediction market data. Get real-time odds, historical prices, and market information programmatically.

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:

Alphascope uses AI to surface the signals that move prediction markets — so you can act before the crowd does. Try it out for free today.