Skip to main content
Use Kalshi through Corsair: one client, typed API calls. Kalshi needs two credentials: an API key ID and the matching PEM private key (RSA or Ed25519). Generate them together in your Kalshi account settings; the private key is shown only once. Demo and production use separate accounts and separate keys. What you get:
  • 21 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

Get a market
Cancel a resting order (demo environment)
See the full list on the API page.

What’s next

API reference

Every kalshi.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.