How to Get Polymarket Trade Data
- Every Polymarket CLOB fill from 2020 to April 2026 is free on Hugging Face under CC-BY-4.0. 1.17 billion fills, 2.63 million makers and $59.9 billion of volume. At the time of writing that is the largest public Polymarket dataset available.
- You query it with DuckDB over HTTPS. No download, no Envio API token, no Polygon node.
- For data at head, both Polymarket indexers are open source HyperIndex projects. Clone the v2 indexer for live v2 markets, or the v1 indexer for both generations, and run it locally or on Envio Cloud. The v1 indexer is what produced the snapshot.
- 2 things that catch people out. Addresses are EIP-55 checksummed, so wrap filters in
lower(). And an account can trade from a proxy and directly from its signer, so query both or you can miss 99.7% of a wallet with no error, as Example 3 shows. - The worked examples are Co-Founder Jonjon's findings, with the queries that check them against the data. All of them reproduce.
2,684,676 wallets hold a position on Polymarket. Roughly 81% of them finished within $1,000 of where they started. 21 cleared more than $10 million each, and the top 100 took $853 million between them. Those figures are from Co-Founder Jonjon's realized-PnL distribution and his Top Hundred series.
Polymarket settles on Polygon, and a position there is just a token that pays $1 if the outcome happens and $0 if it does not, so entry, exit and settlement all leave a record onchain that outlives the market itself. The site shows you the odds. The chain shows you who took the other side of them, what they paid, and how it ended.
We indexed every order-book fill Polymarket has settled from its 2020 launch through 24 April 2026, plus the positions, splits, merges and redemptions around them, and published the lot as a free dataset on Hugging Face under CC-BY-4.0. That is 1.17 billion fills on the central limit order book, the CLOB, plus 2.63 million distinct makers and $59.9 billion of lifetime volume. Reading it needs no indexer, no API key and no Polygon node. It needs DuckDB and one query.
We start with the snapshot, since it needs nothing installed. Then we walk through 5 of the wallets pulled out of these tables, with queries you can run yourself to check every number. If you want markets at head rather than history, our open indexers are the last section.
How to Query the Public Snapshot with DuckDB
The public v1 snapshot is Polygon data indexed with HyperIndex and released under CC BY 4.0. You can use it for anything, including commercially, subject to the licence terms, which include crediting Envio and linking the licence.
Every CLOB fill is in it, plus splits, merges, redemptions, resolutions, and trades from the FPMM era, the automated market maker Polymarket used before the order book, going back to Sep 2020. It is a point-in-time export, not a live feed. SNAPSHOT.json records the cutoff as Polygon block 85,948,287 on 24 April 2026. Anything after it needs the live indexer.
SNAPSHOT.json on Hugging Face. Cutoff for the v1 snapshot.
Hugging Face dataset card. What is inside the v1 snapshot.
| Metric | Value | How |
|---|---|---|
CLOB fills (order_filled) | 1,172,658,611 | count(*) |
| Distinct CLOB makers | 2,630,334 | count(DISTINCT maker) on order_filled |
| Lifetime CLOB volume | $59.899B | cash-leg sum, USDC 6 decimals |
user_position rows | 303,955,230 | count(*) |
Distinct user_position users | 2,684,676 | count(DISTINCT user) |
wallet.parquet rows | 7,362,437 | proxy + Safe rows. Not the trader count. |
Figures from the Hugging Face dataset card. The queries below are how you read them.
Lifetime CLOB volume:
SELECT sum(
CASE WHEN makerAssetId = '0' THEN CAST(makerAmountFilled AS HUGEINT)
ELSE CAST(takerAmountFilled AS HUGEINT) END
) / 1e6 AS volume_usd
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/order_filled/**/*.parquet';
-- 59899137953.107475
The 2,684,676 distinct users on user_position are position-holders, and that is the population the realized-PnL distribution covers.
The dataset card lists 2.74 billion records across the entity tables, about 127 GB.
Step 1: Install DuckDB
Grab it from the DuckDB installation docs if you do not have it. The queries below were run on DuckDB 1.5.5, and they need a version new enough to support hf:// paths natively.
Step 2: Query the Parquet over HTTPS
No Envio API token needed. DuckDB range-reads the file.
duckdb -c "
SELECT count(*)
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/order_filled/**/*.parquet'
"
-- 1172658611
Distinct CLOB makers:
SELECT count(DISTINCT maker)
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/order_filled/**/*.parquet';
-- 2630334
Position-holders:
SELECT count(DISTINCT user), count(*)
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/user_position.parquet';
-- 2684676, 303955230
Hive partitions prune by year. This 2025 monthly-volume query is one of the examples on the dataset card.
SELECT strftime(to_timestamp(CAST(timestamp AS BIGINT)), '%Y-%m') AS month,
sum(CASE WHEN makerAssetId = '0' THEN CAST(makerAmountFilled AS HUGEINT)
ELSE CAST(takerAmountFilled AS HUGEINT) END) / 1e6 AS volume_usd
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/order_filled/year=2025/**/*.parquet'
GROUP BY 1
ORDER BY 1;
-- one row per month of 2025
Addresses in the snapshot are stored EIP-55 checksummed. order_filled.maker looks like 0x63CE342161250D705dC0b16dF89036C8E5F9Ba9a, and the casing is not consistent between tables either. A lowercase filter matches nothing and returns zero rows with no error, which reads like the wallet is missing rather than like a bad filter.
Wrap the column, not the literal.
-- returns nothing
WHERE maker = '0x63ce342161250d705dc0b16df89036c8e5f9ba9a'
-- returns the fills
WHERE lower(maker) = '0x63ce342161250d705dc0b16df89036c8e5f9ba9a'
Everything else is straightforward. Amounts are BigInt in smallest units, so USDC divides by 1e6. The CLOB cash leg is assetId = '0'.
5 Wallets You Can Verify
Numbers are from the original posts, linked in each section. There are 4 posts and 5 wallets, because Example 3 covers 2 of them. They are unrelated operators running different strategies, so there is no point adding their PnL together.
Checking most of them is the same 2 queries. Filter order_filled on maker or taker for the fills, and user_position on user for the positions, both wrapped in lower(). Example 3 is the exception and takes longer, because that wallet does not sit where the rule says it should.
One thing worth knowing before you start. Most Polymarket accounts are a proxy or Safe contract that does the trading, controlled by a signer address that never appears in order_filled at all. If a wallet from a post returns no fills, look it up in wallet.parquet first.
SELECT id, signer, type
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/wallet.parquet'
WHERE lower(signer) = '0xdb15373c33adb64de90f23f90c0d8b86ef65497b';
-- 0xbddf61af533ff524d27154e589d2d7a81510c684 | 0xdb15373c33ADb64de90f23f90c0d8B86eF65497B | proxy
The id is the address that trades. Query both it and the signer, though, not just the id. Most signers never appear in order_filled, but some trade directly as well as through their proxy, and querying only the id on one of those returns a number that is far too small, with no error to tell you.
Example 1: Buying Both Sides and Merging for $1
This wallet posts buy orders on every outcome token of every binary market, at every price level. When it holds both the YES and the NO token of the same market, it merges them for one dollar. That is the entire strategy.
The proxy that trades is 0x2005d16a84ceefa912d4e380cd32e7ff827875ea, controlled by 0x5d4fd194c4181ad61b1b5cb72dab8f9c4f9a2edc. Both are linked in the post. The article reports rank #24 by realized PnL, about $24 million net after fees, 2,698,796 fills, 44,954 markets traded simultaneously and 289 active days. Maker share is 90% of fills, and the maker book is BUY-only, 243 sells out of 2.43 million maker fills. Query the proxy. The controller address has no fills of its own.
Maker BUY price distribution from the original post. Example 1.
Step 1: Pull the fills
SELECT count(*)
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/order_filled/**/*.parquet'
WHERE lower(maker) = '0x2005d16a84ceefa912d4e380cd32e7ff827875ea'
OR lower(taker) = '0x2005d16a84ceefa912d4e380cd32e7ff827875ea';
-- 2698796
Step 2: Pull the positions
SELECT count(*), sum(CAST(realizedPnl AS DOUBLE)) / 1e6 AS realized_usd
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/user_position.parquet'
WHERE lower(user) = '0x2005d16a84ceefa912d4e380cd32e7ff827875ea';
-- 111318, 8553975.64
user_position carries position-level realized PnL, which on its own does not reach the $24M headline. The post breaks that $24M into 3 parts. Roughly $8M of riskless profit from the merge engine, 41,642 merges across $100.2 million of merge volume. Longshot redemptions, where bids resting at a cent or two occasionally win and redeem at $1. And post-event taker sells of tokens that have clearly won, at prices near $0.99. The merge activity has its own table in the snapshot, merge/.
Example 2: NBA Live Model, and the Same-Day Correction
This wallet watches NBA games live, updates a probability model as the score moves, and buys the side its model says has the game in hand.
The post links 0xdb15373c33adb64de90f23f90c0d8b86ef65497b. In the snapshot that address is a signer with no fills of its own, and the figures below land on its proxy, 0xbddf61af533ff524d27154e589d2d7a81510c684. That is the one to query.
The article reports $23.6M realized, 95.4% (417/437 closed bets), 116,086 fills, $60.3M volume, 523 markets, and an active period of 168 days, present on 79% of them. That 79% is 133 days of actual trading, which is what the snapshot shows.
The same-day correction says 95% is a selection artifact. Across all 864 positions opened, 47.3% were on the eventual winner. The closed-bets count drops 427 positions flattened pre-resolution at about zero PnL. Its read on the real edge is tiny mispricing at the bid, flattening bad bets fast enough to turn 38 cent losses into 2 cent ones, and holding winners to $1. What makes it work is how fast it gets out of a losing position, not what it predicts.
Activity dashboard from the original post. Example 2.
Step 1: Pull the fills
SELECT count(*)
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/order_filled/**/*.parquet'
WHERE lower(maker) = '0xbddf61af533ff524d27154e589d2d7a81510c684'
OR lower(taker) = '0xbddf61af533ff524d27154e589d2d7a81510c684';
-- 116086
Step 2: Pull the positions
SELECT count(*), sum(CAST(realizedPnl AS DOUBLE)) / 1e6 AS realized_usd
FROM 'hf://datasets/moose-code/polymarket-onchain-v1/user_position.parquet'
WHERE lower(user) = '0xbddf61af533ff524d27154e589d2d7a81510c684';
-- 1301, 23630117.10
Both figures land on the numbers in the post, 116,086 fills and $23.6M realized. Note that user_position holds one row per token the wallet ever touched, so its 1,301 rows are not the same measure as the 864 positions opened in the correction, or the 437 that reached resolution.
Jordyn Laurier