Kalshi Scraper — Prediction Market Odds & Probabilities
Pricing
from $1.49 / 1,000 results
Kalshi Scraper — Prediction Market Odds & Probabilities
Scrape event contracts from Kalshi, the US-regulated prediction market: market title, yes/no prices, implied probability, last price, volume, open interest, liquidity, status and close time. Pull markets or events by series, status or ticker. No login or API key. Export JSON, CSV, Excel.
Kalshi Prediction Market Scraper — Odds, Prices & Implied Probabilities
Extract real-time event contracts, yes/no trading prices, and implied probabilities from Kalshi, the leading US-regulated prediction market — without coding, API keys, or trading accounts. This automated Kalshi scraper harvests complete market boards across politics, presidential elections, central bank interest rate decisions, inflation indicators, macroeconomics, tech milestones, climate trends, entertainment, and sports event contracts.
Collect events with nested yes/no markets or raw individual contracts. Get real-time bid/ask spreads, last traded price, computed implied probability percentage (%), contract volume, 24-hour volume, open interest, order book liquidity, category, resolution status, and settlement timestamps in one clean, normalized dataset.
Export seamlessly to JSON, CSV, Excel, or consume programmatically via the Apify REST API.
⚡ At a Glance
| Feature | Details |
|---|---|
| Target Website | Kalshi.com (CFTC-Regulated Prediction Market & Event Contracts) |
| Data Extracted | Event titles, series tickers, market tickers, yes/no bid & ask prices, last traded price, implied probability (%), 24h & total trading volume, open interest, liquidity, close/expiration times |
| Collection Modes | events (Event questions with nested priced markets) or markets (Raw individual contracts) |
| Status Filters | open (Active / Tradeable), closed, settled (Resolved outcomes), unopened, or all |
| Deep Pagination | Unlocked for 1,000+ items via native cursor pagination (maxItems: 0 for unlimited) |
| Execution Speed | ~500 events (2,500+ nested markets) in 3–5 seconds via lightweight HTTP streaming |
| Proxy Requirement | Direct connection by default (avoids IP blocks; proxy configurable if required) |
| Export Formats | Dataset JSON, CSV, XLSX, XML, or direct REST API / Webhooks |
🔎 Why Scrape Kalshi Prediction Market Data?
Kalshi operates as a CFTC-regulated designated contract market (DCM) where traders buy and sell binary yes/no event contracts based on the real-world probability of specific outcomes. Each contract trades on a 1¢ to 99¢ scale, representing a real-money crowd-sourced forecast of event likelihood: a contract trading at 64¢ represents a market-implied 64% probability.
Unlike opinion polls or editorial commentary, prediction market pricing reflects real financial capital, making Kalshi one of the most reliable leading indicators for macroeconomic shifts, regulatory announcements, and geopolitical events.
Strategic value of automated Kalshi scraping:
- Quantitative Trading & Alpha Signals: Integrate live implied probabilities into algorithmic trading strategies, risk hedging, and alternative data feeds.
- Macroeconomic Forecasting: Track market odds for Federal Reserve interest rate hikes/cuts, CPI inflation releases, and GDP growth reports ahead of official prints.
- Political & Regulatory Intelligence: Monitor live presidential election chances, congressional legislation passage odds, and Supreme Court rulings.
- Historical Backtesting & Calibration: Scrape historical
settledmarkets and terminal resolution states to test forecast accuracy and calibration models. - AI & LLM Enrichment: Feed real-time crowd-sourced probability distributions directly into LLM agent decision loops and automated research workflows.
- Cross-Market Arbitrage: Compare Kalshi event odds against Polymarket, PredictIt, betting exchanges, and traditional financial derivatives.
📊 Comparison Matrix
| Capability | Kalshi Scraper (This Actor) | Manual Dashboard Monitoring | Generic Web Scrapers | Direct Exchange API Code |
|---|---|---|---|---|
| Throughput | 2,500+ markets in ~3.5 seconds | 1 market every 30 seconds | Slow browser-based rendering | Requires custom cursor pagination |
| Implied Probability | ✅ Auto-calculated (0–100%) | 🟡 Manual mental calculation | ❌ Raw price string only | ❌ Manual normalization |
| Nested Event Hierarchy | ✅ Questions with sub-markets | ❌ Fragmented view | ❌ Flat / unlinked text | 🟡 Requires complex data models |
| Settled History Access | ✅ Filter by settled | 🟡 Difficult historical UI | ❌ Pagination breaks | 🟡 Multiple API calls |
| Authentication Needs | ✅ None (Keyless public access) | ❌ Account login | ❌ Cookie handling | 🟡 Auth header setup |
| Deduplication Engine | ✅ Guaranteed 0 duplicates | ❌ Manual data cleanup | ❌ Frequent duplicates | 🟡 Custom Set deduplication |
💡 Prediction Market Microstructure Explained
When analyzing Kalshi dataset outputs, understanding binary contract mechanics helps derive accurate forecasting signals:
- Binary Payoff Structure: Every contract settles to either
$1.00(yes) or$0.00(no). - Implied Probability Conversion: Because payouts are normalized to $1.00, the dollar price directly indicates market consensus probability ($0.72 = 72% likelihood).
- The Role of the Spread: A tight spread between
yesBid($0.71) andyesAsk($0.73) indicates high institutional liquidity and confidence, whereas wide spreads indicate lower trade volume or elevated uncertainty. - Volume vs. Open Interest:
volumemeasures total trading activity over the lifetime of the contract.volume24htracks sudden surges in market interest, useful for detecting breaking news catalysts.openInterestreveals the number of contracts held by market participants overnight, proving genuine capital commitment rather than wash trading.
🏗️ Architecture & Data Transformation Pipeline
The diagram below outlines how the scraper ingests, normalizes, and emits Kalshi prediction market intelligence:
[ Kalshi Public Trade API ]│▼[ Fast HTTP Transport (Direct Connection) ]│├─► Cursor Pagination Loop (Walks 200 items per cursor token)│▼[ Normalization Engine ]├─► Price Parser (Maps *_dollars strings & legacy cents to numeric floats)├─► Implied Probability Engine (Midpoint spread / last price -> percentage)├─► Volume & Liquidity Normalizer (Extracts 24h volume & active open interest)│▼[ Deduplication Layer (Unique Ticker Map) ]│▼[ Apify Dataset Storage (JSON / CSV / XLSX / REST API) ]
✨ Key Features & Capabilities
- ✅ Dual Collection Modes: Switch seamlessly between
events(macro questions containing nested yes/no options) andmarkets(individual binary contracts). - ✅ Automated Implied Probability: Normalizes raw dollar quotes (
$0.6400) and legacy integer cents into cleanimpliedProbabilityPctvalues (e.g.,64%). - ✅ Volume & Open Interest Metrics: Captures cumulative contracts traded, rolling 24-hour transaction volume, and open interest to evaluate market liquidity.
- ✅ 1,000+ Deep Pagination: Walks Kalshi's internal cursor-based pagination seamlessly. Set
maxItems: 0for unlimited extraction of the entire active exchange. - ✅ Selective Targeting: Target specific contract families using
seriesTicker(e.g.,KXFED,KXINFL) or a single question usingeventTicker. - ✅ Historical Outcome Backtesting: Filter by
status: "settled"to harvest resolved questions along with the official winning outcome (result: "yes"/"no"). - ✅ Direct Fast-Path HTTP: Uses optimized HTTP transport to maximize data transfer rates without heavy browser memory footprints.
- ✅ Guaranteed 0 Duplicates: Unique ticker-based hash tracking ensures clean, ready-to-analyze datasets on every execution.
🎯 High-Impact Use Cases
1. Macro Hedge Funds & Systematic Asset Managers
Quantitative portfolio managers ingest live contract prices across inflation, employment numbers, and rate expectations to dynamically adjust FX hedges and fixed-income allocations.
2. Geopolitical & Policy Risk Intelligence
Corporate risk officers and policy research institutes track real-time probability curves for upcoming elections, cabinet appointments, and regulatory votes.
3. Sports Analytics & Prop Betting Models
Sports analysts examine regulated binary event contracts on championship outcomes, MVP awards, and seasonal win totals to identify line discrepancies against traditional sportsbooks.
4. Alternative Data Providers & Media Dashboards
Financial media outlets, newsrooms, and newsletter writers embed live prediction odds and historical probability charts into market coverage.
5. Prediction Market Calibration Research
Academic researchers and data scientists evaluate whether prediction markets suffer from favorite-longshot bias by analyzing settled contracts across varied categories.
6. Event-Driven Alpha Signals
Quant researchers set up automated hourly webhooks to trigger trades when an event's probability moves by more than 10 percentage points within a single trading day.
📥 Input Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
dataType | String | "events" | Extraction mode: "events" (questions with nested markets) or "markets" (raw individual contracts). |
status | String | "open" | Market lifecycle filter: "open" (trading now), "closed", "settled" (resolved), "unopened", or "" (all). |
seriesTicker | String | "" | Filter by specific contract series ticker (e.g., "KXFED" or "KXHIGHNY"). Leave blank for all. |
eventTicker | String | "" | Target a single event and its related markets by event ticker. Leave blank for all. |
maxItems | Integer | 0 | Maximum number of events/markets to collect. Set to 0 for unlimited deep pagination. |
proxyConfiguration | Object | { "useApifyProxy": false } | Direct connection is recommended. Enable custom proxy only if specifically required. |
📤 Output Data Fields
Every dataset record provides clean, normalized fields with zero string garbage.
🎯 Event-Level Record (dataType: "events")
| Field | Type | Coverage | Description |
|---|---|---|---|
eventTicker | String | 🟢 High | Unique event question identifier (e.g., "INX-24NOV05"). |
seriesTicker | String | 🟢 High | Underlying series classification (e.g., "INX"). |
title | String | 🟢 High | Full question title (e.g., "Will the S&P 500 close above 5,900?"). |
subtitle | String | 🟡 Conditional | Additional context or resolution criteria details. |
category | String | 🟢 High | Market vertical (e.g., "Financials", "Elections", "Economics", "Tech"). |
mutuallyExclusive | Boolean | 🟡 Conditional | Whether only one sub-market outcome can settle as "yes". |
marketCount | Number | 🟢 High | Number of individual tradeable contracts nested under this event. |
markets | Array | 🟢 High | Array of nested market objects with complete pricing and volume fields. |
scrapedAt | String | 🟢 High | ISO 8601 UTC timestamp of execution. |
📈 Market-Level Contract Fields (dataType: "markets" or within markets[])
| Field | Type | Coverage | Description |
|---|---|---|---|
ticker | String | 🟢 High | Unique contract ticker symbol (e.g., "FED-24DEC-T4.50"). |
eventTicker | String | 🟢 High | Parent event ticker. |
title | String | 🟢 High | Specific contract outcome title. |
status | String | 🟢 High | Trading status: "open", "closed", "settled", or "unopened". |
yesBid | Number | 🟡 Conditional | Best bid price for the "Yes" contract in dollars (e.g., 0.62). |
yesAsk | Number | 🟡 Conditional | Best ask price for the "Yes" contract in dollars (e.g., 0.65). |
noBid | Number | 🟡 Conditional | Best bid price for the "No" contract in dollars (e.g., 0.35). |
noAsk | Number | 🟡 Conditional | Best ask price for the "No" contract in dollars (e.g., 0.38). |
lastPrice | Number | 🟢 High | Most recent executed trade price in dollars (e.g., 0.64). |
impliedProbabilityPct | Number | 🟢 High | Derived market-implied probability percentage (0 to 100). |
volume | Number | 🟢 High | Total contracts traded over the lifetime of the market. |
volume24h | Number | 🟢 High | Number of contracts traded in the preceding 24-hour window. |
openInterest | Number | 🟢 High | Total quantity of active, unsettled contracts currently held. |
liquidity | Number | 🟡 Conditional | Dollar measure of order book market depth. |
openTime | String | 🟢 High | ISO timestamp when contract trading commenced. |
closeTime | String | 🟢 High | ISO timestamp when contract trading terminates. |
expirationTime | String | 🟢 High | Official settlement and payout determination deadline. |
result | String | 🟡 Conditional | Settled outcome for resolved markets ("yes" or "no"). |
canCloseEarly | Boolean | 🟡 Conditional | Whether the contract can resolve before the stated close time. |
💻 Sample Output Records
Nested Event Example (dataType: "events")
{"eventTicker": "FED-24DEC","seriesTicker": "FED","title": "Federal Reserve target interest rate after December 2024 meeting","subtitle": "Target range upper bound as announced by the FOMC","category": "Economics","mutuallyExclusive": true,"marketCount": 3,"markets": [{"ticker": "FED-24DEC-T4.50","eventTicker": "FED-24DEC","marketType": "binary","title": "4.25% to 4.50%","status": "open","yesBid": 0.62,"yesAsk": 0.64,"noBid": 0.36,"noAsk": 0.38,"lastPrice": 0.63,"impliedProbabilityPct": 63,"volume": 284105,"volume24h": 41200,"openInterest": 152000,"liquidity": 48200.5,"openTime": "2024-09-18T18:00:00Z","closeTime": "2024-12-18T19:00:00Z","expirationTime": "2024-12-18T20:00:00Z","result": null,"canCloseEarly": false,"category": "Economics","scrapedAt": "2026-11-10T13:45:00.000Z"}],"scrapedAt": "2026-11-10T13:45:00.000Z"}
🛠️ Programmatic Integration & Code Examples
Automate prediction market data harvesting via Python, Node.js, or cURL.
Python Integration
from apify_client import ApifyClient# Initialize client with your Apify API tokenclient = ApifyClient("YOUR_APIFY_TOKEN")# Trigger Kalshi extractionrun = client.actor("haketa/kalshi-scraper").call(run_input={"dataType": "events","status": "open","maxItems": 100})# Fetch results from datasetitems = client.dataset(run["defaultDatasetId"]).list_items().itemsfor event in items:print(f"Event: {event.get('title')} ({event.get('eventTicker')})")for market in event.get("markets", []):print(f" - Contract: {market.get('title')} -> Prob: {market.get('impliedProbabilityPct')}%")
Node.js Integration
import { ApifyClient } from 'apify-client';const client = new ApifyClient({token: 'YOUR_APIFY_TOKEN',});const run = await client.actor('haketa/kalshi-scraper').call({dataType: 'events',status: 'open',maxItems: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Successfully scraped ${items.length} Kalshi events.`);
cURL API Request
curl -X POST "https://api.apify.com/v2/acts/haketa~kalshi-scraper/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"dataType": "events","status": "open","maxItems": 100}'
🚀 Quickstart Guide
- Log in to your Apify Console workspace.
- Search for Kalshi Scraper in the Apify Store.
- Select your preferred
dataType(eventsrecommended for organized hierarchy). - Choose your
statusfilter (defaultopenfor currently tradeable contracts). - Specify
maxItems(use100for a sample, or0to extract all available markets). - Click Start to initiate the scrape.
- Download your normalized dataset as JSON, CSV, or Excel.
⚡ Performance, Scaling & Best Practices
- Zero-Limit Extraction: Set
maxItems: 0to ingest the entire live Kalshi catalog across all categories. The scraper paginates through hundreds of cursor pages automatically. - Direct Connection Advantage: Leave proxy configuration turned off unless you operate behind strict enterprise firewalls. Direct connections bypass shared proxy blocks and deliver faster response times.
- Backtesting Pipelines: Set
status: "settled"and run periodic cron tasks to maintain an updated database of completed contracts and verified real-world resolutions. - Arbitrage Tracking: Run frequent small batches on key series tickers (e.g.
KXFED) every 5 minutes to feed live odds tracking models. - Webhook Alerts: Configure Apify webhooks on run completion to trigger downstream alerting pipelines in Slack or Discord whenever significant probability swings occur.
❓ Frequently Asked Questions
Do I need a Kalshi trading account or API key to use this scraper? No. This actor accesses publicly available exchange market data directly without requiring user authentication, login credentials, or private API keys.
How is implied probability calculated?
When available, lastPrice is used directly as the probability benchmark ($0.55 = 55%). If no recent trades have occurred, the midpoint of the active yesBid and yesAsk spread is calculated automatically.
What is the difference between Events mode and Markets mode?
An event represents an overarching topic or question (e.g., "Federal Reserve Interest Rate Decision") that contains multiple outcome options. Events mode groups these sub-markets together inside a nested markets array. Markets mode flattens each contract into its own independent record.
Can I scrape historical markets that have already resolved?
Yes. Select status: "settled" to harvest closed markets, final settlement prices, and terminal result values ("yes" or "no").
How fast does this scraper execute? Because the scraper runs on optimized HTTP protocols without headless browser rendering, it processes up to 1,000 contracts in under 5 seconds.
Can I schedule automated recurring runs? Yes. You can use Apify's built-in Scheduler to trigger runs every hour, daily, or on custom cron intervals to monitor odds movements in real time.
What series tickers are available?
Common tickers include KXFED (Federal Reserve interest rates), KXINFL (Inflation rates), KXHIGHNY (New York temperature), and election series. You can inspect active series directly on Kalshi.
Does this scraper support order placement or trading? No. This actor is strictly a market intelligence and data extraction tool. It reads publicly available market boards and does not execute financial transactions.
How are market close times represented?
All timestamp fields (openTime, closeTime, expirationTime) follow the standard ISO 8601 UTC format (YYYY-MM-DDTHH:mm:ssZ).
🔗 Related Prediction Market & Alternative Data Scrapers
Complement your quantitative market data pipeline with related actors:
- Polymarket Scraper — Crypto Prediction Market Odds
- DraftKings Odds Scraper — Sportsbook Lines & Player Props
- PrizePicks Player Props Scraper — Real-Time DFS Projections
- CoinGecko Crypto Market Scraper — Live Prices & Volume
- SEC Edgar Company Filings Scraper — Institutional Financial Disclosures
📋 Changelog
- v1.2 (2026-11) — Unlocked deep 1,000+ pagination via native cursor loops; optimized prefill execution to complete in under 5 seconds; enhanced dollar-to-cent price normalization; updated schema validation standards and metadata.
- v1.1 (2026-08) — Introduced nested event structure (
eventsmode); added 24-hour volume and open interest tracking; improved direct IP connection handling. - v1.0 (2026-05) — Initial release featuring CFTC prediction market contract extraction, yes/no probability calculation, and multi-format export.