Predict.fun Historical Data

Predict.fun order books and market lifecycle events as daily Parquet files, collected from Predict.fun's WebSocket in AWS Tokyo, colocated with Predict.fun's exchange. Data from 2026-09-10.

3
data types
daily
Parquet file per market
600
free downloads
End point
/v1/predict_fun/l2/{YYYY/MM/DD}/{market_id}.parquet
/v1/predict_fun/onchain_fills/{YYYY/MM/DD}/{market_id}.parquet
/v1/predict_fun/lifecycle/{YYYY/MM/DD}/markets_lifecycle.parquet

Download with Python

import pandas as pd

market_id = 123  # Predict.fun numeric market id
date = "2026/10/01"  # UTC date, YYYY/MM/DD

url = f"https://api.pmdata.dev/v1/predict_fun/l2/{date}/{market_id}.parquet"
# lifecycle_url = f"https://api.pmdata.dev/v1/predict_fun/lifecycle/{date}/markets_lifecycle.parquet"

df = pd.read_parquet(url, storage_options={"api_key": "<YOUR_API_KEY>", "User-Agent": "Mozilla/5.0"})
print(df.head())

Pricing

Free: 600 downloads at sign-up, then 50 per month, for data older than 3 weeks.

Plus: Predict.fun: $49/month for 1M Predict.fun downloads and data from the last 3 weeks. It is separate from Plus: Polymarket; hold one or both.

See pricing

Frequently asked questions