Sponsor this directory: one slot per week. Details
Get the weekly digest

Kalshi and Polymarket Python SDKs

Kalshi and Polymarket Python SDKs are libraries that wrap each exchange's API so you can fetch markets and place orders from Python. Both exchanges publish official ones: kalshi_python_sync / kalshi_python_async for Kalshi and polymarket-client for Polymarket.

The short answer: use the official SDKs for new code. Kalshi warns its SDKs "may lag the API" and suggests generating your own client from its OpenAPI spec for production; PyKalshi is a popular unofficial typed alternative. On Polymarket, py-clob-client is the legacy client: still on PyPI, but archived on GitHub, with a migration guide to the unified SDK. pmxt covers several venues in one package.

Last updated .

Python SDKs compared

PackageCoversStatusVersion (PyPI)Install
kalshi_python_sync / kalshi_python_async ↗KalshiOfficial; replaces the deprecated kalshi-python3.34.0pip install kalshi_python_sync
ArshKA/pykalshi ↗KalshiUnofficial; typed, WebSocket streaming, pandas2.0.0pip install pykalshi
Polymarket/py-sdk ↗PolymarketOfficial unified SDK (polymarket-client)0.13.0pip install polymarket-client
Polymarket/py-clob-client ↗Polymarket CLOBLegacy; archived on GitHub0.34.6pip install py-clob-client
pmxt-dev/pmxt ↗Polymarket, Kalshi and moreOpen source, unified2.54.0pip install pmxt

Versions read from PyPI on Oct 17, 2026. Docs: Kalshi SDKs ↗ · Polymarket: Python SDK ↗. pmxt is also listed here.

Listed projects compared (10)

From this directory. GitHub stars and update dates as of Oct 23, 2026.

Comparison table
ProjectPlatformsToolsDifficultyGitHub starsRepo updated
Polymarket Agents frameworkPolymarketPython, LLMsintermediate3,801Nov 5, 2024
Weather temperature market botKalshi & PolymarketPython, weather forecastsintermediate780Mar 2, 2026
Kalshi AI trading toolkitKalshiPython, LLMsintermediate618Oct 13, 2026
Simple Kalshi market makerKalshiPython, Kalshi APIadvanced417Apr 14, 2026
Polymarket's reference market-maker keeperPolymarketPython, Polymarket CLOBadvanced327Jul 5, 2024
PolyWeather weather-quant botPolymarketPythonintermediate315Oct 11, 2026
Cross-venue arbitrage scannerKalshi & PolymarketPythonadvanced289Dec 9, 2025
BTC hourly arbitrage detectorKalshi & PolymarketPythonadvanced254May 9, 2026
ML sports prediction traderPolymarketPython, MLadvanced133Mar 31, 2026
Student market-making research on KalshiKalshiJupyter, Pythonintermediate86May 18, 2023

FAQ

What is the official Kalshi Python SDK?

kalshi_python_sync (and kalshi_python_async for asyncio). Kalshi says the old kalshi-python package is deprecated.

What is the Polymarket Python SDK?

polymarket-client, from GitHub Polymarket/py-sdk. It has public and secure clients in sync and async forms.

Is py-clob-client deprecated?

Its GitHub repository is archived, and Polymarket's docs point to the unified SDK with a migration guide. Many existing bots still use it.

Is there one Python library for Kalshi and Polymarket?

pmxt supports Polymarket, Kalshi and more through one interface.

Not financial advice. Listing is not an endorsement, and we have not checked any profit claims. Read the code before you give any tool an API key or wallet key.

Related: Kalshi trading bots · Polymarket trading bots · Kalshi vs Polymarket · Prediction market APIs · All 66 projects

Get the weekly digest

New public Kalshi & Polymarket builds, each with a source. No spam.

Form not loading? Subscribe on beehiiv. Handled by beehiiv; see privacy. Unsubscribe any time.