The most granular data for prediction markets

Historical tick-level order book data, trades, and onchain data. Access 100B+ tick-level updates across 300k+ 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.

100B+

tick-level order book L2 price updates

3 Years

of historical trades for Polymarket

2B+

data points ingested per day

300k+

prediction markets tracked

> 99.9%

uptime guarantee

Real-Time

tick-by-tick market replay capability

This saved me a month long buildout! You did all the hard work for me.

Solo Trader

Pricing to fit your specific needs

Onchain Data Access

500M+ rows of onchain data downloadable in seconds

Pricing
$450
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

Polymarket Full Access

100B+ rows of tick-by-tick L2 orderbooks + everything in Onchain

Pricing
$1,250
per month
Monthly subscription
Get Started
Everything in Onchain, and:
  • Polymarket only
  • Reconstructed L2 order books
  • Tick-level price updates
  • Market replay capability
  • 100B+ data points

Full Platform Access

All exchanges with 99.9% uptime

Pricing
Custom
Contact Sales
All Polymarket only features, and:
  • Kalshi, Opinion, and 5+ other exchanges
  • 99.9% uptime SLA
  • Market metadata API with 30M+ markets
  • Daily Parquet exports of all data
  • Custom data delivery formats
  • Dedicated support