Kalshi

Kalshi

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Kalshi to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Kalshi's market data endpoints are public, so this source needs no API key.

It syncs markets, events, series, trades, and milestones. Portfolio data (your own orders, fills, and positions) needs a signed API key and is not supported yet.

Linking Kalshi to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Kalshi
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
markets

One row per tradeable event contract, carrying its rules, current quotes, and settlement outcome.

Full refresh
events

Groups the markets that resolve the same real-world question, such as one election or one game.

Full refresh
series

Recurring templates that events are minted from, along with their fee structure and settlement sources.

Full refresh
trades

Every public trade printed on the exchange, append-only, one row per execution.

Incremental, Full refreshcreated_time
milestones

Scheduled real-world happenings, such as a court date or a data release, that Kalshi ties markets to.

Full refresh