The most granular data for prediction markets

Historical tick-level order book data, trades, and onchain data. Access 10B+ tick-level updates across 160k+ markets with up to 3 years of historical data.

from predictiondata import PredictionDataClient, Channel

# Initialize client with your API key
client = PredictionDataClient(api_key="<YOUR_API_KEY>")

# Stream historical data
messages = client.replay(
    exchange="polymarket",
    from_date="2024-11-01",
    to_date="2024-11-15",
    filters=[Channel(
        name="trades",
        symbols=["ramp-ipo-in-2025/YES"]
    )]
)

async for timestamp, message in messages:
    print(f"Time: {timestamp}ms, Trade: {message}")
import { PredictionDataClient, Channel } from 'predictiondata';

const client = new PredictionDataClient({ apiKey: '<YOUR_API_KEY>' });

const messages = client.replay({
  exchange: 'polymarket',
  fromDate: '2024-11-01',
  toDate: '2024-11-15',
  filters: [new Channel({
    name: 'trades',
    symbols: ['ramp-ipo-in-2025/YES']
  })],
});

for await (const [timestamp, message] of messages) {
  console.log(
    `Time: ${timestamp}ms, Trade: ${JSON.stringify(message)}`
  );
}
curl -G "http://datasets.predictiondata.dev/polymarket/onchain/fills/ramp-ipo-in-2025/YES/2025-11-16.csv.gz" \
  --data-urlencode "slug=true" \
  --data-urlencode "apikey=YOUR_API_KEY"

Tick-by-Tick Market Replay

Reconstruct the complete order book at any point in time with tick-level precision. Perfect for backtesting strategies and analyzing market dynamics.

Comprehensive Datasets

Access onchain fills, trades, and reconstructed L2 order books. All data is normalized and ready for analysis with downloadable CSV files.

99.9% Uptime

Redundant WebSocket connections ensure data is never dropped, even when connections fail. Servers colocated with exchanges provide enterprise-grade reliability with real-time updates and historical data on demand.

Simple & Powerful API

Access prediction market data with a straightforward HTTP API. Query by market slug or token ID, with flexible date ranges and gzip-compressed CSV responses. View full documentation →

curl -G "http://datasets.predictiondata.dev/polymarket/onchain/fills/ramp-ipo-in-2025/YES/2025-11-16.csv.gz" \
  --data-urlencode "slug=true" \
  --data-urlencode "apikey=YOUR_API_KEY"

Focus on analysis,
leave data management to us

Save on infrastructure costs and get instant access to the most comprehensive prediction market dataset.

10B+

tick-level order book L2 price updates

3 Years

of historical trades for Polymarket

300M+

datapoints ingested per day

160k+

prediction markets tracked

> 99.9%

uptime guarantee

Real-time

tick-by-tick market replay capability

Pricing to fit your specific needs

Solo

Essential data for individuals and small teams. Lowest cost to get started.

Pricing
$200
per month
Monthly subscription
Get Started
Features
  • Historical trades data
  • Onchain fills data
  • API access
  • CSV file downloads
  • Up to 3 years of history
  • Daily updates

Pro

Frequently-used data. Ideal for individuals and professional traders.

Pricing
$400
per month
Monthly subscription
Get Started
All Solo features, and:
  • Reconstructed L2 order books
  • Tick-level price updates
  • Market replay capability
  • 10B+ data points
  • Priority support

Enterprise

Ideal for investment firms and institutional service providers.

Pricing
$1100
per month
Annual contract
Get Started
All Pro features, and:
  • Daily Parquet exports of all data
  • Dedicated support
  • Custom data delivery formats