Kalshi Scraper — Kalshi Prediction Market Odds & Volume avatar

Kalshi Scraper — Kalshi Prediction Market Odds & Volume

Pricing

$5.00 / 1,000 results

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

Kalshi Scraper — Kalshi Prediction Market Odds & Volume

Extract live Kalshi prediction markets, event contracts, Yes/No bid-ask spreads, implied probabilities, 24h volume, open interest & expiration timestamps via official public API.

Pricing

$5.00 / 1,000 results

Rating

0.0

(0)

Developer

PROOFNEXA

PROOFNEXA

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Features

Limited permissions

Share

Extract live Kalshi prediction markets, event contracts, Yes/No bid-ask spreads, implied probabilities, 24h volume, open interest & expiration timestamps via official public API.


1. Architecture & Extraction Pipeline

  • Extraction Mechanism: Computes live Yes/No bid-ask spread in cents, mid-market implied probability %, volume-to-open-interest turnover ratio & arbitrage readiness metrics.
  • Proxy Overhead: None required for standard runs. Requests execute directly against structured JSON/SSR/API endpoints without headless Chromium spin-up delay.
  • Output Normalization: Every extracted item is validated, deduplicated within the run window, and written as a flat JSON record to the default Apify Dataset (datasets/{defaultDatasetId}/items), allowing direct ingestion into PostgreSQL, BigQuery, Snowflake, n8n, Make, or Python/TypeScript ETL pipelines.
  • Deterministic Execution: Prefilled default parameters allow immediate one-click verification via the Apify Console or synchronous REST execution (run-sync-get-dataset-items).

2. Verified Production Dataset Sample

The following JSON record was captured directly from a live production execution of vivid_astronaut/kalshi-prediction-market-scraper on Apify Cloud:

[
{
"platform": "kalshi.com",
"ticker": "KXMVECROSSCATEGORY-S2026IF3IMJXMIM5QO3SO-QTWYRNW4T",
"eventTicker": "KXMVECROSSCATEGORY-S2026IF3IMJXMIM5QO3SO",
"title": "yes Martin Damm Jr,yes Ryan Seggerman / Learner Tien,yes Francisco Cabral / James Tracy,yes Over 19.5 games,yes Daniil Medvedev,yes Ben Shelton,yes Madhwin Kamath,yes Tuncay Duran,yes Adhithya Ganesan,yes Benito Sanchez Martinez,yes Ioannis Xilas,yes Benjamin Pietri,yes Aziz Ouakaa,yes Robert Strombachs,yes Iveta Dapkute,yes Chenting Zhu,yes Federica Urgesi,yes Marie Vogt,no Over 21.5 games",
"subtitle": "",
"status": "active",
"yesBidCents": 0,
"yesAskCents": 0,
"noBidCents": 0,
"noAskCents": 0,
"bidAskSpreadCents": null,
"impliedProbabilityPct": 0,
"lastPriceCents": 0,
"volume24h": 0,
"totalVolume": 0,
"openInterest": 0,
"closeTime": "2026-11-13T01:30:00Z",
"scrapedAt": "2026-10-29T07:44:00.807Z"
},
{
"platform": "kalshi.com",
"ticker": "KXMVECROSSCATEGORY-S202633JZTZTUVTWPPDGM-NLD7E2XO4",
"eventTicker": "KXMVECROSSCATEGORY-S202633JZTZTUVTWPPDGM",
"title": "yes Atlanta,yes Portland,yes New Orleans,yes Charlotte,yes Boston,yes Detroit,yes Dallas,yes Indiana,yes Minnesota,yes Philadelphia,yes Toronto",
"subtitle": "",
"status": "active",
"yesBidCents": 0,
"yesAskCents": 0,
"noBidCents": 0,
"noAskCents": 0,
"bidAskSpreadCents": null,
"impliedProbabilityPct": 0,
"lastPriceCents": 0,
"volume24h": 0,
"totalVolume": 0,
"openInterest": 0,
"closeTime": "2026-11-02T00:00:00Z",
"scrapedAt": "2026-10-29T07:44:00.807Z"
}
]

3. Input Parameter Specification

ParameterTypeDefaultTechnical Specification
keywordsarray["", "Fed", "Bitcoin"]Enter Market Filter Keywords (leave empty or enter topics like Fed, CPI, BTC, Election) to extract structured records.
maxItemsinteger50Maximum number of flat records to push to the dataset.

Example Input Payload (application/json)

{
"keywords": [
"",
"Fed",
"Bitcoin"
],
"maxItems": 50
}

4. Measured Runtime & Unit Economics

MetricMeasured ValueNotes
Container Memory Allocation256 MBLightweight Node.js 20 container (apify@^3.2.6)
Median Execution Latency1.53 sCold start to dataset commit for default batch
External Proxy Requirement$0.00No residential proxy bandwidth surcharge required
Primary Billing Eventapify-default-dataset-itemCharged strictly per committed dataset record
Unit Price (Pay-Per-Event)$0.0050 / recordEquivalent to $5.00 per 1,000 records

5. Production Integration (cURL, Python, Claude Code MCP)

5.1 Synchronous REST Execution (cURL)

Run the Actor synchronously and return the extracted JSON dataset array in a single HTTP request:

curl -s -X POST \
"https://api.apify.com/v2/acts/vivid_astronaut~kalshi-prediction-market-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords": ["", "Fed", "Bitcoin"], "maxItems": 50}'

5.2 Python Pipeline Integration (urllib.request)

import json
import os
import urllib.request
APIFY_TOKEN = os.environ["APIFY_TOKEN"]
url = (
"https://api.apify.com/v2/acts/vivid_astronaut~kalshi-prediction-market-scraper/"
f"run-sync-get-dataset-items?token={APIFY_TOKEN}"
)
payload = {
"keywords": [
"",
"Fed",
"Bitcoin"
],
"maxItems": 50
}
req = urllib.request.Request(
url,
data=json.dumps(payload).encode("utf-8"),
headers={"Content-Type": "application/json"},
method="POST",
)
with urllib.request.urlopen(req, timeout=120) as resp:
records = json.loads(resp.read().decode("utf-8"))
print(f"Extracted {len(records)} records from kalshi-prediction-market-scraper")

5.3 Claude Code / Cursor MCP Configuration (.mcp.json)

Expose vivid_astronaut/kalshi-prediction-market-scraper as a callable tool inside Claude Code, Cursor, or any Model Context Protocol client:

{
"mcpServers": {
"apify-kalshi-prediction-market-scraper": {
"command": "npx",
"args": [
"-y",
"@apify/actors-mcp-server",
"--actors",
"vivid_astronaut/kalshi-prediction-market-scraper"
],
"env": {
"APIFY_TOKEN": "YOUR_APIFY_TOKEN"
}
}
}
}