The Prediction-Market Bot Boom: Polymarket and Kalshi Code on GitHub and PyPI

Last updated: 25 October 2026 How much code is being written for Polymarket and Kalshi? We counted new GitHub repositories by the month they were created and pulled download counts for the main Python clients.

Key findings · GitHub and PyPI, queried 25 October 2026

12,409 new polymarket repos in 2026. GitHub lists 12,409 public repositories created between 1 January and 25 October 2026 that match “polymarket”, up from 1,727 in all of 2025 and 151 in 2024. Kalshi: 4,024, up from 586.

The peak was March. New polymarket repos peaked at 2,207 in March 2026 and have run at roughly 600 to 900 a month since July.

Mostly bots, mostly unstarred. 30% of the 2026 polymarket repos also match “bot”, and 10,365 (84%) have zero stars. Only 229 have 10 or more.

Official clients still lead PyPI. Polymarket’s two official Python CLOB clients were downloaded 619,879 times in the last 30 days, about 12 times Kalshi’s three clients combined (51,797).

Repos by year

Year createdRepos matching “polymarket”Repos matching “kalshi”
202041
2021215
20223016
20232232
202415156
20251,727586
2026 (to 25 Oct)12,4094,024

These are counts of public repositories that still exist today. Deleted repos, and repos taken down by GitHub, aren’t counted, so earlier years may be undercounted more than recent ones.

Repos by month, 2025 to 2026

07501,5002,2503,000J ’25FMAMJJASONDJ ’26FMAMJJASOpolymarketkalshi
New public GitHub repositories per month whose name, description or topics match “polymarket” or “kalshi”, by creation month, January 2025 to 25 October 2026 (October partial). Only repos that still exist are counted. Source: GitHub search API, queried 25 October 2026.
Month createdpolymarketkalshi
2025012610
2025024015
2025034014
202504359
2025054417
2025066222
2025078130
2025088136
2025099043
20251026092
202511356111
202512612187
2026011,071266
2026021,505387
2026032,207520
2026041,811475
2026051,688369
2026061,196362
202607889404
202608701325
202609714485
202610627432

What the 2026 repos are

2026 repos (to 25 Oct) that also match…CountShare of all 2026 polymarket / kalshi repos
polymarket + bot3,72630%
polymarket + arbitrage9187%
polymarket + copy5074%
polymarket + kalshi8677%
kalshi + bot93223%
kalshi + arbitrage3759%

A repo can match more than one row. Most new repos are small trading bots, copy-trading and arbitrage scripts, and templates; many are forks of each other or promote a paid tool. A star count of zero doesn’t mean a repo is harmful, but it does mean almost nobody has vouched for it. Our list of malicious trading packages shows fake Polymarket packages have appeared on npm, so check code before giving it a wallet key.

Python client downloads (PyPI)

PackagePlatformWhat it isDownloads, last 30 days05/2606/2607/2608/2609/26
py-clob-clientPolymarketOfficial Python client (original CLOB API)335,464825,668583,719701,647664,604357,596
py-clob-client-v2PolymarketOfficial Python client for CLOB v2, first released 8 Apr 2026284,415564,816586,097706,050605,643315,873
polymarket-usPolymarketOfficial SDK for Polymarket US55,27115,01520,65845,83262,21251,933
polymarket-apisPolymarketIndependent, community-built wrapper24,56120,00117,30134,28631,35124,392
kalshi-pythonKalshiKalshi’s original Python client, last release Sep 202512,34742,58530,59830,52930,10412,804
kalshi-python-syncKalshiKalshi Python client (sync), first released Dec 202514,73818,86014,74614,02416,66814,194
kalshi-python-asyncKalshiKalshi Python client (async), first released Dec 202524,71220,69321,89835,23428,42525,279

Download counts include automated installs from build servers and bots, so they measure activity, not people. Polymarket’s original client has been losing downloads since it launched a v2 client in April 2026; read the two together. Monthly figures exclude PyPI mirrors.

How this compares with prop firm code

For comparison, see prop firm repositories on GitHub by year and downloads of algo-trading Python packages. For the money and court cases behind the prediction-market boom, see who lobbies on prediction markets and the prediction-market lawsuits tracker.

Download the dataCSV: yearly and monthly GitHub repo counts, keyword breakdowns, star counts and PyPI downloads for seven Polymarket and Kalshi Python packages, retrieved 25 Oct 2026.
Download CSV ↓

Sources

Method

GitHub counts use the repository search API with a single keyword (polymarket or kalshi) and a created: date range, which matches the repo name, description and topics. We took the API’s total_count; every result reported incomplete_results = false. Monthly totals add up to the yearly totals.

PyPI figures come from pypistats.org, which processes PyPI’s public download logs. “Last 30 days” is pypistats’ recent figure; monthly totals sum its daily data without mirror downloads, which starts on 8 April 2026.

Caveats

Only repositories that still exist are counted. Many repos are near-duplicates, bots or promotions, so the counts measure activity, not useful software.

Keyword search misses repos that mention Polymarket or Kalshi only in their code or README, and counts some that only mention the name in passing.

How to cite this

How to cite · CC BY 4.0

Prop Data Lab, “Polymarket and Kalshi code on GitHub and PyPI”, updated 25 October 2026, https://propdatalab.com/polymarket-kalshi-github-bots-pypi-downloads/

The table and the CSV are free to reuse under CC BY 4.0: copy, chart or republish them, commercial use included, as long as you link back to this page. Underlying data: GitHub search API and pypistats.org.

Common questions

How many Polymarket repos are on GitHub?

12,409 public repos created in 2026 to 25 October match “polymarket”, against 1,727 in 2025. These are repos that still exist.

Are Polymarket trading bots on GitHub safe?

Treat them with care. 84% of 2026 polymarket repos have no stars, and fake trading packages have been published before. Read the code and never paste a private key into a tool you haven’t checked.

What is py-clob-client?

Polymarket’s official Python client for its order book (CLOB) API. A v2 client, py-clob-client-v2, was first released on 8 April 2026.

Which Kalshi Python package should I look at?

Kalshi publishes kalshi-python-sync and kalshi-python-async, first released in December 2025. The older kalshi-python package was last updated in September 2025.