Check the setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
Live and historical event-contract markets, prices, volume, and order books for building market monitors, alerts, and comparison tools.
From source to product signal
Kalshi exposes public event, market, trade, and order-book data without authentication. Start with one bounded page of open markets and record when you retrieved it. Treat prices as changing market signals, and compare contracts only after checking that their resolution rules match.
Install the packages, then run the notebook cell.
python -m pip install pandas requests
from datetime import datetime, timezone
import pandas as pd
import requests
response = requests.get(
"https://external-api.kalshi.com/trade-api/v2/markets",
params={"limit": 100, "status": "open"},
timeout=30,
)
response.raise_for_status()
markets = pd.json_normalize(response.json()["markets"])
markets["retrieved_at"] = datetime.now(timezone.utc)
print(markets[["ticker", "title", "yes_bid_dollars", "volume_fp"]].head())Test a useful signal
Identify liquid open markets whose price changes could support a useful event alert.
Kalshi is a company source. Last verified 2026-08-11. Temporal coverage: current and historical markets.