Onchain fills
Polymarket historical onchain fill data
Polymarket onchain fills as one Parquet file per UTC day, in one channel: onchain_fills.
Backfill from September 26, 2022, through April 28, 2025 so far
What is recorded
The onchain fills PredBooks holds from Polymarket, and the dates they cover.
- Onchain fills (CTF exchanges, V1 and V2)September 26, 2022 → April 28, 2025
Backfilled from the first exchange deployment; caught up to the present when finished.
onchain_fills
One row per OrderFilled event read from the chain: maker, taker, price, size and fee. One file per UTC day.
| Column | Type | Description |
|---|---|---|
| chain_id | int32 | 137 Polygon, 56 BNB Chain, 8453 Base |
| block | int64 | Block number |
| tx_hash | string | Transaction hash |
| log_index | int32 | Position of the event in the block |
| maker | string | Address whose order was filled |
| taker | string | Counterparty address |
| role | string | maker (resting order) or taker (crossing order) |
| side | string | The order's side: buy or sell |
| price | decimal(18,8) | Collateral per token |
| size | decimal(24,8) | Outcome tokens |
| amount | decimal(24,8) | Collateral |
| fee | decimal(24,8) | Fee charged |
| Plus the 8 shared columns: venue, market_id, event_id, outcome, instrument_id, exch_ts, recv_ts, seq | ||
Load Polymarket onchain fills
One call per channel and day, here onchain_fills for September 26, 2022.
pb := predbooks.New(predbooks.WithAPIKey("pb_..."))
table, err := pb.Load(ctx, "polymarket", "onchain_fills", "2022-09-26", nil)from predbooks import Client
pb = Client("pb_...") # or set PREDBOOKS_API_KEY
df = pb.load("polymarket", "onchain_fills", "2022-09-26")use predbooks::{Client, LoadOptions};
let pb = Client::builder().api_key("pb_...").build()?;
let batches = pb.load("polymarket", "onchain_fills", "2022-09-26", LoadOptions::new())?;import { Client } from "@predbooks/sdk";
const pb = new Client("pb_..."); // or set PREDBOOKS_API_KEY
const table = await pb.load("polymarket", "onchain_fills", "2022-09-26");Every option of load is in the quickstart and the references for the Go SDK, Python SDK, Rust SDK and TypeScript SDK. Any other language can use the API.
Related data
More from Polymarket
Onchain fills from other venues
Load Polymarket onchain fills
Pick a plan, create an API key and load your first day of data with an SDK (Go, Python, Rust or TypeScript) or the API.