Home / Guides / Kalshi Python

Guide · updated 2026-11-25

Kalshi Python

Install kalshi_python_sync or kalshi_python_async. The package named kalshi-python is deprecated.

The SDK overview lists two current Python distributions:

pip install kalshi_python_sync
pip install kalshi_python_async

TypeScript is npm install kalshi-typescript. The same page says the old kalshi-python package is deprecated.

Two caveats are printed there, and they matter more than the install line. SDKs are updated on a delay and can lag the API. Kalshi tells active traders to treat the REST OpenAPI file and the WebSocket AsyncAPI file as the source of truth, or to generate a client from those specs. And key types are not equal: RSA keys work on every SDK version, Ed25519 keys need SDK 3.31.0 or later.

The clients authenticate with an API key and a signed request. The path you sign is the one described in the Kalshi API guide: full path from the API root, no query string, no hostname.

This is not the Polymarket client. polymarket-client talks to Polymarket. See Polymarket Python.

Listings: Kalshi Python SDK, Kalshi TypeScript SDK.

Not trading, tax, or legal advice. Vendor figures were read from the linked pages on 2026-11-25 and can change.