Polymarket & Kalshi Prediction Markets Unified Scraper avatar

Polymarket & Kalshi Prediction Markets Unified Scraper

Pricing

from $1.00 / 1,000 prediction markets

Go to Apify Store
Polymarket & Kalshi Prediction Markets Unified Scraper

Polymarket & Kalshi Prediction Markets Unified Scraper

Real-time prediction market odds, implied probabilities, bid-ask spreads, volume, and cross-market arbitrage hints from Polymarket & Kalshi.

Pricing

from $1.00 / 1,000 prediction markets

Rating

0.0

(0)

Developer

Khan

Khan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Fetch live prediction market Yes/No prices, implied probabilities, bid-ask spreads, 24-hour trading volume, open interest/liquidity, and automatic cross-exchange matching across both Polymarket and Kalshi — no crypto wallet, no API keys, no proxies required.

Instead of writing two separate integrations for Polymarket's Gamma API and Kalshi's Elections v2 API, get one normalized schema with built-in cross-venue probability gap detection (crossMarketMatch).


Key Features & Why Use This Actor

  • 2 Leading Venues in 1 Unified Schema: Combines Polymarket and Kalshi open markets with consistent fields (yesPrice, noPrice, impliedProbPct, volume24h, liquidity, closeTime).
  • Automatic Cross-Exchange Matching (crossMarketMatch): Compares market questions across Polymarket and Kalshi using token similarity to surface matching tickers and exact probGapPctPts spreads.
  • Kalshi Spread & Liquidity Metrics: Calculates exact spreadBps (bid-ask spread in basis points) from live orderbook top-of-book prices alongside open interest.
  • Keyword & Volume Filtering: Filter by topic (Fed, BTC, election, AI, inflation) and minVolume24h to ignore illiquid markets.
  • Zero Credentials & Ultra-Low Latency: Queries public REST market endpoints directly without wallets, auth tokens, or proxies.

  • Prediction Market Arbitrage & Discrepancy Alerts: Monitor crossMarketMatch.probGapPctPts on scheduled runs to detect probability divergences between Polymarket and Kalshi.
  • Quant & Macro Forecasting Pipelines: Stream live implied probabilities for Fed rate decisions, CPI, elections, crypto targets, and geopolitics into Python/SQL research databases.
  • AI Forecasting Agents & Newsrooms: Feed real-time crowd probabilities into dashboards, Slack bots, or LLM reasoning chains via Apify MCP.

Input Parameters

ParameterTypeRequiredDefaultDescription
platformsstring[]No["polymarket", "kalshi"]Prediction venues to query ("polymarket", "kalshi").
keywordstringNo""Case-insensitive substring filter applied to market question, category, and ticker.
minVolume24hnumberNo0Exclude markets whose 24-hour trading volume is below this threshold.
maxMarketsPerPlatformintegerNo100Maximum matching markets collected per exchange (1–2,000).
includeCrossMarketMatchesbooleanNotrueMatch similar questions across Polymarket and Kalshi and attach probability spread metadata.

Example Input

{
"platforms": [
"polymarket",
"kalshi"
],
"keyword": "Fed",
"minVolume24h": 100,
"maxMarketsPerPlatform": 100,
"includeCrossMarketMatches": true
}

Sample Output (Live Verified JSON)

Polymarket Market Record

{
"platform": "polymarket",
"marketId": "559651",
"ticker": "xi-jinping-out-before-2027",
"question": "Xi Jinping out before 2027?",
"category": "",
"yesPrice": 0.015,
"noPrice": 0.985,
"impliedProbPct": 1.5,
"spreadBps": null,
"volumeTotal": 17367788.104742,
"volume24h": 6551.6,
"liquidity": 334693.09104,
"closeTime": "2027-01-01T04:59:00Z",
"url": "https://polymarket.com/event/xi-jinping-out-before-2027",
"crossMarketMatch": null
}

Kalshi Market Record (with Spread in Basis Points)

{
"platform": "kalshi",
"marketId": "KXELONMARS-99",
"ticker": "KXELONMARS-99",
"question": "Will Elon Musk visit Mars in his lifetime? — Will Elon Musk visit Mars before Aug 1, 2099?",
"category": "Science and Technology",
"yesPrice": 0.11,
"noPrice": 0.89,
"impliedProbPct": 11,
"spreadBps": 200,
"volumeTotal": 127577.67,
"volume24h": 12.09,
"liquidity": 40097.75,
"closeTime": "2099-08-01T04:59:00Z",
"url": "https://kalshi.com/markets/kxelonmars",
"crossMarketMatch": null
}

(When includeCrossMarketMatches is true and a strong question overlap is found across venues, crossMarketMatch populates with matchedPlatform, matchedTicker, matchedQuestion, matchedProbPct, probGapPctPts, and similarity.)


Pricing (Pay-Per-Event)

This Actor uses Pay-Per-Event (PPE) billing:

  • Primary Event: result-item
  • Suggested Rate: $0.001 per market ($1.00 per 1,000 markets)
  • Compute Cost: Minimal — runs in under 1 second for small queries with zero proxy cost.

Integrations & Exports

  • Export Formats: JSON, CSV, Excel (XLSX), JSONL.
  • API & Schedules: Schedule hourly/daily snapshots via Apify Console or REST API for time-series probability tracking.
  • Automation & AI: Integrate with n8n, Make, Zapier, or Apify MCP to trigger Discord/Telegram/Slack alerts when odds cross a threshold.

FAQ

Do I need a Polymarket wallet or Kalshi API key?
No. Both exchanges expose public market metadata and pricing endpoints queried directly by the Actor.

How is Kalshi's yesPrice calculated?
When both bid and ask exist, the Actor computes the midpoint (yes_bid + yes_ask) / 2 and reports spreadBps as round((ask - bid) * 10,000), falling back cleanly to last_price when the book is one-sided.

Can I run only Polymarket or only Kalshi?
Yes. Pass ["polymarket"] or ["kalshi"] in platforms.