Orderbook data
for up/down Polymarket.
Stream and replay historical Polymarket prices with PMData. No collection pipeline to maintain - just connect and backtest.
import pandas as pdimport requestsslug = "btc-updown-5m-1778803200"data_type = "poly_l2" # or "poly_snapshot"url = f"https://api.pmdata.dev/get-download-url/{data_type}/{slug}"resp = requests.get(url, headers={"api_key": "<YOUR_API_KEY>"})download_url = resp.json()["download_url"]df = pd.read_parquet(download_url)print(df.head())
Pricing
Coverage includes all up/down markets.
Free
Explore historical market data with delayed access.
- Snapshot data available after 30 days
- Tick-level data available after 30 days
- All up/down markets included
- Good for research prototypes and dataset exploration
Basic
Access recent and historical snapshot data for recurring analysis.
- Snapshot data available from the latest archive
- All up/down markets included
- All Free tier features included
- Designed for low-frequency strategies and statistical analysis
Pro
Tick-level data for precise replay and high-frequency strategy research.
- Tick-by-tick data
- All up/down markets included
- Full-fidelity market replay
- Designed for high-frequency strategies and detailed backtesting
Historical data, ready to use.
PMData archives Polymarket data in real time and serves it through a simple API for research, replay, and backtesting.
Backtest Any Strategy
Load historical prices for any Polymarket market and test your trading logic against real data.
We Maintain the Archive
We collect and store the full stream so you do not have to run your own scrapers, databases, or sync jobs.
Instant Replay
Replay historical messages at any speed to simulate live market conditions with less setup.
Full Price History
Go back to market creation and inspect how odds moved over time across the contracts you care about.
Flexible Output
Pull snapshots, depth, or ticks into pandas, your database, or your own backtesting engine.
On-Chain Verifiable
Each record is traceable back to source activity when you need to audit the feed.