C++23 client for Kalshi's Predictions API. Created from Kalshi's OpenAPI and AsyncAPI specs, it covers every REST operation and WebSocket channel. The WebSocket client reconnects and resubscribes. Optional transports add retries and rate limiting.
Star History
Momentum
+10
STARS · LAST 30 DAYS
1
PER DAY
#379
MOST-STARRED C++
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +10 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +1 | +3 | +10 |
kalshi-cpp gained 10 stars in the last 30 days, about 1 a day, and now has 197. It is about 1 year old and has averaged roughly 197 stars a year. It ranks #379 among C++ repositories and #5,241 across all languages on GitHubRepo.
Trending Record
4
DAYS ON TRENDING
#2907
BEST RANK
Sep 25, 2026
FIRST APPEARANCE
Active
STATUS TODAY
kalshi-cpp has maintained a continuous presence across global trending indexes, peaking at #2907. Below is the 30-day activity profile:
💡 Overview
kalshi-cpp is an open-source project written in C++: Unofficial C++23 client for Kalshi's Predictions API. Generated from Kalshi's OpenAPI and AsyncAPI specs, it covers every REST operation and WebSocket channel. The WebSocket client reconnects and resubscribes. Optional transports add retries and rate limiting.
Engineered for speed, consistency, and developer ease, it solves common hurdles in api-client, asyncapi, cmake. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in C++ for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ git clone https://github.com/Reddimus/kalshi-cpp.git
cd kalshi-cpp
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
C++20 compliant compiler (GCC 11+, Clang 13+, MSVC)
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
kalshi-cpp coordinates its core functionality through a modular C++ pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Command-Line Automation
Execute automated build, deployment, and maintenance tasks directly from the terminal.
CI/CD Workflow Integration
Run non-interactive validation checks in GitHub Actions, GitLab CI, or local pre-commit hooks.
Developer Environment Setup
Standardize local engineering workstations with single-binary utility commands.
Scripting & Pipeline Orchestration
Chain complex multi-stage scripts with reliable error reporting and exits.
🚀 Getting Started
Install kalshi-cpp using your package manager: `git clone https://github.com/Reddimus/kalshi-cpp.git`
Initialize your project workspace or configuration file for kalshi-cpp.
Import kalshi-cpp into your codebase or invoke it directly from your terminal.
Execute your test suite or run `kalshi-cpp --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with C++, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
Reddimus/kalshi-cpp is currently ranked #5,241 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #5,226 | outfox/2dog | C# | ★ 198 | Compare ↗ |
| #5,226 | smartcomputer-ai/lightspeed | Rust | ★ 198 | Compare ↗ |
| #5,226 | datacurve-ai/pier | Python | ★ 198 | Compare ↗ |
| #5,226 | PastFly/Selective-Remote | Swift | ★ 198 | Compare ↗ |
| #5,226 | omdsh-dev/dsh-data-agent | JavaScript | ★ 198 | Compare ↗ |
| #5,241 | Reddimus/kalshi-cpp This Project | C++ | ★ 197 | |
| #5,241 | msoulier/tftpy | Python | ★ 197 | Compare ↗ |
| #5,241 | dejan/espeak-ruby | Ruby | ★ 197 | Compare ↗ |
| #5,241 | lzell/nickel | Ruby | ★ 197 | Compare ↗ |
| #5,241 | senaranya/HL7 | PHP | ★ 197 | Compare ↗ |
| #5,241 | Azure/azure-sdk-for-ios | Swift | ★ 197 | Compare ↗ |
Frequently Asked Questions
What does kalshi-cpp do? +
C++23 client for Kalshi's Predictions API. Created from Kalshi's OpenAPI and AsyncAPI specs, it covers every REST operation and WebSocket channel. The WebSocket client reconnects and resubscribes. Optional transports add retries and rate limiting.
What language is kalshi-cpp written in? +
The primary language is C++. Topics include: api-client, asyncapi, cmake, cpp, cpp23.
Is kalshi-cpp actively maintained? +
Yes, the last recorded push was on Sep 27, 2026 with 0 open issues being tracked.
How many stars does kalshi-cpp have? +
kalshi-cpp has 197 stars and 14 forks on GitHub.
How does kalshi-cpp rank among GitHub repositories? +
With 197 stars, Reddimus/kalshi-cpp is ranked #5,241 globally across all repositories tracked on GitHubRepo and #379 among C++ projects.
What license is kalshi-cpp distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.