API
Day API
Download a daily PMData archive.
Use the Day API to download a daily ZIP archive for one market series and data type.
import requests
api_key = "<YOUR_API_KEY>"
series = "btc-5m" # btc-15m, btc-1h
data_type = "poly_l2" # or "poly_trade", "onchain_fills"
data_date = "2026-07-11"
file_name = f"{series}_{data_type}_{data_date}.zip"
url = f"https://api.pmdata.dev/polymarket/{series}/{data_type}/{file_name}"
# Chainlink daily streams use the same Day API shape:
# https://api.pmdata.dev/chainlink/BTCUSD/streams/BTCUSD_streams_2026-07-11.parquet
response = requests.get(
url,
headers={"api_key": api_key},
timeout=300,
)
Set data_type to poly_l2 for order book snapshots and price changes, poly_trade for trades, or onchain_fills for on-chain fills.
