kalshi-api
Installation
SKILL.md
Kalshi API
CFTC-regulated US event exchange. USD-denominated binary contracts settle at $1.00 (YES wins) or $0.00 (NO wins). REST + WebSocket, RSA-PSS authentication on every request.
For contract semantics and settlement rules, see the kalshi-weather-markets and kalshi-crypto-index-markets skills. For strategy, sizing, and backtesting, see prediction-market-strategy.
VERIFY BEFORE CODING. The Kalshi API has broken backward compatibility before: the host changed (old
trading-api.kalshi.com→ dead), and the order schema changed (integer cents → dollar strings). Always smoke-test signing and order bodies against a live response before shipping.Canonical sources:
- API reference: https://docs.kalshi.com (legacy mirror: https://trading-api.readme.io)
- Official Python starter: https://github.com/Kalshi/kalshi-starter-code-python