Skip to main content
Kalshi publishes Python and TypeScript SDKs to help you get started quickly.
SDKs are updated periodically and may lag the API. Active traders should treat the REST OpenAPI specification and WebSocket AsyncAPI specification as the source of truth. For production, we recommend generating your own client from those specs — or integrating directly — for full control over your implementation.

Packages

Python (sync)

pip install kalshi_python_sync

Python (async)

pip install kalshi_python_async

TypeScript

npm install kalshi-typescript
The old kalshi-python package is deprecated — use kalshi_python_sync or kalshi_python_async.
SDK releases track the OpenAPI specification and are generally published Tuesday–Wednesday each week, ahead of the corresponding API changes; check the package pages and the API Changelog for updates. All SDKs authenticate with an API key and RSA-PSS request signing — see API Keys for setup.