Data sets
Onchain trades
Onchain trades are sourced from Polygon. Available since 2026-02-01.
Data type: polygon_trades
Format: Daily ZIP of Parquet files.
import requests
api_key = "<YOUR_API_KEY>"
series = "btc-5m"
data_type = "polygon_trades"
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,
)
Schema
| Field | Type | Description |
|---|---|---|
timestamp | timestamp | Onchain transaction timestamp. |
maker | string | Maker wallet address. |
taker | string | Taker wallet address. |
outcome | string | Outcome token, usually Yes or No. |
maker_side | string | Maker side, BUY or SELL. |
taker_side | string | Taker side, BUY or SELL. |
price | float | Execution price. |
usd_amount | float | Trade notional in USD. |
token_amount | float | Outcome token amount. |
transactionHash | string | Polygon transaction hash. |
