PMData LogoPMDataDocs

Quick start

Create an API key and download a daily PMData archive.

1. Create an API key

Open the PMData dashboard and create an API key.

2. Download a daily archive

import requests

api_key = "<YOUR_API_KEY>"
series = "btc-5m"
data_type = "poly_l2"
data_date = "2026-06-22"

file_name = f"{series}_{data_type}_{data_date}.zip"
url = f"https://api.pmdata.dev/polymarket/{series}/{data_type}/{file_name}"

response = requests.get(
    url,
    headers={"api_key": api_key},
    timeout=300,
)