kalshi

Prediction Markets Open source · MIT Read-only 16 commands 979 installs

Kalshi prediction markets — events, series, markets, trades, and candlestick data.

View source

About

Kalshi prediction markets — events, series, markets, trades, and candlestick data. Public API, no auth required for reads. US-regulated exchange (CFTC). Covers football (EPL, UCL, La Liga), basketball, baseball, tennis, NFL, hockey event contracts.

Commands 16

get_sports_config

Available sport codes and series tickers

get_todays_events
--sport[--limit]

Today's events for a sport with nested markets

search_markets
[--sport][--query][--status][--limit]

Find markets by sport and/or keyword

get_esports_odds
[--game][--status][--limit]

Esports markets (cs2/lol/dota2): prices in cents (0-100) plus implied_probability (0-1) and decimal_odds

get_markets
[--limit][--cursor][--event_ticker][--series_ticker][--status][--tickers]

Market listing (raw API)

get_event
--event_ticker[--with_nested_markets]

Event details

get_market
--ticker

Market details

get_trades
[--limit][--cursor][--ticker][--min_ts][--max_ts]

Recent trades

get_market_candlesticks
--series_ticker--ticker--start_ts--end_ts--period_interval

OHLC price history

get_exchange_status

Registered in the CLI — see SKILL.md for details.

get_exchange_schedule

Registered in the CLI — see SKILL.md for details.

get_series_list
[--category][--tags]

Registered in the CLI — see SKILL.md for details.

get_series
--series_ticker

Registered in the CLI — see SKILL.md for details.

get_events
[--limit][--cursor][--status][--series_ticker][--with_nested_markets]

Registered in the CLI — see SKILL.md for details.

get_market_orderbook
--ticker[--depth]

Registered in the CLI — see SKILL.md for details.

get_sports_filters

Registered in the CLI — see SKILL.md for details.

Example Prompts

  • What NBA markets are on Kalshi?
  • Show me Leeds vs Man City odds on Kalshi
  • What EPL games are available on Kalshi?
  • Who will win the Champions League?
  • Show me the price history for this NBA game

Quick Start

# CLI
sports-skills kalshi get_sports_config
# Python
from sports_skills import kalshi
kalshi.get_sports_config()