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.
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 created | Repos matching “polymarket” | Repos matching “kalshi” |
|---|---|---|
| 2020 | 4 | 1 |
| 2021 | 21 | 5 |
| 2022 | 30 | 16 |
| 2023 | 22 | 32 |
| 2024 | 151 | 56 |
| 2025 | 1,727 | 586 |
| 2026 (to 25 Oct) | 12,409 | 4,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
| Month created | polymarket | kalshi |
|---|---|---|
| 202501 | 26 | 10 |
| 202502 | 40 | 15 |
| 202503 | 40 | 14 |
| 202504 | 35 | 9 |
| 202505 | 44 | 17 |
| 202506 | 62 | 22 |
| 202507 | 81 | 30 |
| 202508 | 81 | 36 |
| 202509 | 90 | 43 |
| 202510 | 260 | 92 |
| 202511 | 356 | 111 |
| 202512 | 612 | 187 |
| 202601 | 1,071 | 266 |
| 202602 | 1,505 | 387 |
| 202603 | 2,207 | 520 |
| 202604 | 1,811 | 475 |
| 202605 | 1,688 | 369 |
| 202606 | 1,196 | 362 |
| 202607 | 889 | 404 |
| 202608 | 701 | 325 |
| 202609 | 714 | 485 |
| 202610 | 627 | 432 |
What the 2026 repos are
| 2026 repos (to 25 Oct) that also match… | Count | Share of all 2026 polymarket / kalshi repos |
|---|---|---|
| polymarket + bot | 3,726 | 30% |
| polymarket + arbitrage | 918 | 7% |
| polymarket + copy | 507 | 4% |
| polymarket + kalshi | 867 | 7% |
| kalshi + bot | 932 | 23% |
| kalshi + arbitrage | 375 | 9% |
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)
| Package | Platform | What it is | Downloads, last 30 days | 05/26 | 06/26 | 07/26 | 08/26 | 09/26 |
|---|---|---|---|---|---|---|---|---|
| py-clob-client | Polymarket | Official Python client (original CLOB API) | 335,464 | 825,668 | 583,719 | 701,647 | 664,604 | 357,596 |
| py-clob-client-v2 | Polymarket | Official Python client for CLOB v2, first released 8 Apr 2026 | 284,415 | 564,816 | 586,097 | 706,050 | 605,643 | 315,873 |
| polymarket-us | Polymarket | Official SDK for Polymarket US | 55,271 | 15,015 | 20,658 | 45,832 | 62,212 | 51,933 |
| polymarket-apis | Polymarket | Independent, community-built wrapper | 24,561 | 20,001 | 17,301 | 34,286 | 31,351 | 24,392 |
| kalshi-python | Kalshi | Kalshi’s original Python client, last release Sep 2025 | 12,347 | 42,585 | 30,598 | 30,529 | 30,104 | 12,804 |
| kalshi-python-sync | Kalshi | Kalshi Python client (sync), first released Dec 2025 | 14,738 | 18,860 | 14,746 | 14,024 | 16,668 | 14,194 |
| kalshi-python-async | Kalshi | Kalshi Python client (async), first released Dec 2025 | 24,712 | 20,693 | 21,898 | 35,234 | 28,425 | 25,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.
Sources
- GitHub REST API, search repositories (total_count for each query and creation-date range), queried 25 October 2026.
- pypistats.org recent and overall download endpoints, data to 24 October 2026, retrieved 25 October 2026.
- PyPI project pages for package authors and first release dates, accessed 25 October 2026.
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
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.