Kalshi Scraper — Prediction Market Odds & Probabilities avatar

Kalshi Scraper — Prediction Market Odds & Probabilities

Pricing

from $1.49 / 1,000 results

Go to Apify Store
Kalshi Scraper — Prediction Market Odds & Probabilities

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.

Pricing

from $1.49 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

Kalshi Prediction Market Scraper — Odds, Prices & Implied Probabilities

Apify Actor Maintenance Data Formats Scale Speed

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

FeatureDetails
Target WebsiteKalshi.com (CFTC-Regulated Prediction Market & Event Contracts)
Data ExtractedEvent 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 Modesevents (Event questions with nested priced markets) or markets (Raw individual contracts)
Status Filtersopen (Active / Tradeable), closed, settled (Resolved outcomes), unopened, or all
Deep PaginationUnlocked 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 RequirementDirect connection by default (avoids IP blocks; proxy configurable if required)
Export FormatsDataset 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 settled markets 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

CapabilityKalshi Scraper (This Actor)Manual Dashboard MonitoringGeneric Web ScrapersDirect Exchange API Code
Throughput2,500+ markets in ~3.5 seconds1 market every 30 secondsSlow browser-based renderingRequires 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:

  1. Binary Payoff Structure: Every contract settles to either $1.00 (yes) or $0.00 (no).
  2. Implied Probability Conversion: Because payouts are normalized to $1.00, the dollar price directly indicates market consensus probability ($0.72 = 72% likelihood).
  3. The Role of the Spread: A tight spread between yesBid ($0.71) and yesAsk ($0.73) indicates high institutional liquidity and confidence, whereas wide spreads indicate lower trade volume or elevated uncertainty.
  4. Volume vs. Open Interest:
    • volume measures total trading activity over the lifetime of the contract.
    • volume24h tracks sudden surges in market interest, useful for detecting breaking news catalysts.
    • openInterest reveals 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) and markets (individual binary contracts).
  • ✅ Automated Implied Probability: Normalizes raw dollar quotes ($0.6400) and legacy integer cents into clean impliedProbabilityPct values (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: 0 for unlimited extraction of the entire active exchange.
  • ✅ Selective Targeting: Target specific contract families using seriesTicker (e.g., KXFED, KXINFL) or a single question using eventTicker.
  • ✅ 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

ParameterTypeDefaultDescription
dataTypeString"events"Extraction mode: "events" (questions with nested markets) or "markets" (raw individual contracts).
statusString"open"Market lifecycle filter: "open" (trading now), "closed", "settled" (resolved), "unopened", or "" (all).
seriesTickerString""Filter by specific contract series ticker (e.g., "KXFED" or "KXHIGHNY"). Leave blank for all.
eventTickerString""Target a single event and its related markets by event ticker. Leave blank for all.
maxItemsInteger0Maximum number of events/markets to collect. Set to 0 for unlimited deep pagination.
proxyConfigurationObject{ "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")

FieldTypeCoverageDescription
eventTickerString🟢 HighUnique event question identifier (e.g., "INX-24NOV05").
seriesTickerString🟢 HighUnderlying series classification (e.g., "INX").
titleString🟢 HighFull question title (e.g., "Will the S&P 500 close above 5,900?").
subtitleString🟡 ConditionalAdditional context or resolution criteria details.
categoryString🟢 HighMarket vertical (e.g., "Financials", "Elections", "Economics", "Tech").
mutuallyExclusiveBoolean🟡 ConditionalWhether only one sub-market outcome can settle as "yes".
marketCountNumber🟢 HighNumber of individual tradeable contracts nested under this event.
marketsArray🟢 HighArray of nested market objects with complete pricing and volume fields.
scrapedAtString🟢 HighISO 8601 UTC timestamp of execution.

📈 Market-Level Contract Fields (dataType: "markets" or within markets[])

FieldTypeCoverageDescription
tickerString🟢 HighUnique contract ticker symbol (e.g., "FED-24DEC-T4.50").
eventTickerString🟢 HighParent event ticker.
titleString🟢 HighSpecific contract outcome title.
statusString🟢 HighTrading status: "open", "closed", "settled", or "unopened".
yesBidNumber🟡 ConditionalBest bid price for the "Yes" contract in dollars (e.g., 0.62).
yesAskNumber🟡 ConditionalBest ask price for the "Yes" contract in dollars (e.g., 0.65).
noBidNumber🟡 ConditionalBest bid price for the "No" contract in dollars (e.g., 0.35).
noAskNumber🟡 ConditionalBest ask price for the "No" contract in dollars (e.g., 0.38).
lastPriceNumber🟢 HighMost recent executed trade price in dollars (e.g., 0.64).
impliedProbabilityPctNumber🟢 HighDerived market-implied probability percentage (0 to 100).
volumeNumber🟢 HighTotal contracts traded over the lifetime of the market.
volume24hNumber🟢 HighNumber of contracts traded in the preceding 24-hour window.
openInterestNumber🟢 HighTotal quantity of active, unsettled contracts currently held.
liquidityNumber🟡 ConditionalDollar measure of order book market depth.
openTimeString🟢 HighISO timestamp when contract trading commenced.
closeTimeString🟢 HighISO timestamp when contract trading terminates.
expirationTimeString🟢 HighOfficial settlement and payout determination deadline.
resultString🟡 ConditionalSettled outcome for resolved markets ("yes" or "no").
canCloseEarlyBoolean🟡 ConditionalWhether 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 token
client = ApifyClient("YOUR_APIFY_TOKEN")
# Trigger Kalshi extraction
run = client.actor("haketa/kalshi-scraper").call(
run_input={
"dataType": "events",
"status": "open",
"maxItems": 100
}
)
# Fetch results from dataset
items = client.dataset(run["defaultDatasetId"]).list_items().items
for 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

  1. Log in to your Apify Console workspace.
  2. Search for Kalshi Scraper in the Apify Store.
  3. Select your preferred dataType (events recommended for organized hierarchy).
  4. Choose your status filter (default open for currently tradeable contracts).
  5. Specify maxItems (use 100 for a sample, or 0 to extract all available markets).
  6. Click Start to initiate the scrape.
  7. Download your normalized dataset as JSON, CSV, or Excel.

⚡ Performance, Scaling & Best Practices

  • Zero-Limit Extraction: Set maxItems: 0 to 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).


Complement your quantitative market data pipeline with related actors:


📋 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 (events mode); 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.