# Prediction Markets Scraper - Polymarket, Kalshi & Manifold (`webdata_labs/prediction-markets-scraper`) Actor

\[💵 $2.00 / 1K] Scrape live prediction markets across Polymarket, Kalshi, and Manifold in one unified schema: odds, implied probability, prices, volume, and liquidity.

- **URL**: https://apify.com/webdata\_labs/prediction-markets-scraper.md
- **Developed by:** [Open Web Team](https://apify.com/webdata_labs) (community)
- **Categories:** News, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 markets

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Prediction Markets Scraper - Polymarket, Kalshi & Manifold

**Scrape live prediction markets across the three biggest platforms - Polymarket, Kalshi, and Manifold - in one run, one unified schema.** Get markets, implied probabilities, prices, volume, and liquidity for politics, sports, crypto, economics, and more.

Most prediction-market scrapers cover a single platform and hand back that platform's raw shape. This Actor reads all three official public APIs and normalizes everything into one consistent schema - implied probability, favorite outcome, volume, liquidity, and resolution dates - ready for trading research, dashboards, journalism, bots, or "information finance" content.

### ✅ What you get / ❌ what this isn't

| This Actor gives you | This Actor is not |
|---|---|
| Live markets from Polymarket, Kalshi, and Manifold in one unified schema | Not trading or betting advice |
| Implied probability, outcome prices, favorite outcome per market | Not a way to place trades or move funds |
| Volume and liquidity, with an explicit unit per platform | Not affiliated with Polymarket, Kalshi, or Manifold |
| Per-platform roll-up: market count, total volume, top markets | Not a full historical tick/orderbook archive |
| Reliable official-API reads (no anti-bot, no proxy needed) | Not a guarantee a specific market exists at run time |

### 🔎 Why use this Actor

- Compare odds for the same event across multiple prediction markets.
- Track politics, sports, crypto, and economic markets in one dataset.
- Power a dashboard, newsletter, or bot with live implied probabilities.
- Research market sentiment and volume on a topic with a keyword filter.
- Feed normalized market rows into spreadsheets, a warehouse, or an LLM pipeline.

### 🗂️ What data you get

| Field | Type | Description |
|---|---|---|
| `platform` | string | polymarket, kalshi, or manifold |
| `question` | string | The market question |
| `category` | string | Market category when the platform exposes one |
| `outcomes` | array | Outcome labels |
| `outcomePrices` | array | Price per outcome, 0-1 (implied probability) |
| `yesProbability` | number | Implied probability of the Yes/primary outcome (binary markets) |
| `favoriteOutcome`, `favoriteProbability` | string, number | Highest-priced outcome and its probability |
| `volume`, `volumeUnit` | number, string | Traded volume and its unit (USD / contracts / mana) |
| `liquidity`, `openInterest` | number | Platform-native liquidity; open interest (Kalshi) |
| `status` | string | open, closed, resolved, etc. |
| `startDate`, `endDate` | string | Market open and close/resolution dates |
| `url` | string | Link to the market |

Plus a per-platform summary row: market count, total volume, markets with a price, and the top markets by volume.

### 👥 Who it's for

- Traders and quant hobbyists comparing odds across venues.
- Journalists and researchers covering prediction markets.
- Dashboard, newsletter, and bot builders.
- Sports, politics, and crypto analysts tracking sentiment.
- Data teams building normalized prediction-market datasets.

### Example tasks

- [Scrape Polymarket election odds](https://apify.com/webdata_labs/prediction-markets-scraper/examples/scrape-polymarket-election-odds)
- [Track crypto prediction markets](https://apify.com/webdata_labs/prediction-markets-scraper/examples/track-crypto-prediction-markets)
- [Compare odds across Polymarket, Kalshi and Manifold](https://apify.com/webdata_labs/prediction-markets-scraper/examples/compare-odds-across-polymarket-kalshi-and-manifold)

### ⚙️ How to scrape prediction markets

1. Open the Actor on Apify.
2. Choose which platforms to scrape (all three by default).
3. Optionally add a keyword (for example `election`, `bitcoin`, `fed`) and pick open, closed, or all markets.
4. Choose how many markets to collect per platform.
5. Run the Actor.
6. Open the dataset view for `Markets` or `Platform summaries`.
7. Export JSON, CSV, Excel, HTML, RSS, or XML, or call the Actor through the Apify API.

### 📥 Input

```json
{
  "platforms": ["polymarket", "kalshi", "manifold"],
  "status": "open",
  "keyword": "election",
  "maxMarketsPerPlatform": 200
}
````

### 📤 Output

```json
{
  "recordType": "market",
  "platform": "polymarket",
  "question": "Will JD Vance win the 2028 US Presidential Election?",
  "outcomes": ["Yes", "No"],
  "outcomePrices": [0.1925, 0.8075],
  "yesProbability": 0.1925,
  "favoriteOutcome": "No",
  "favoriteProbability": 0.8075,
  "volume": 14374508.43,
  "volumeUnit": "USD",
  "liquidity": 510789.8,
  "status": "open",
  "endDate": "2028-11-07T00:00:00Z",
  "url": "https://polymarket.com/event/will-jd-vance-win-the-2028-us-presidential-election"
}
```

### 💵 How much does it cost?

The launch price is about `$2.00 / 1,000 markets`, tier-discounted for higher Apify plans. One market is one charged result; per-platform summary rows are part of the same output.

### 🔁 Run it on the Apify platform

Schedule recurring odds refreshes, call it from the Apify API, export to CSV/JSON/Excel, or connect the dataset to Make, Zapier, webhooks, a warehouse, or an LLM pipeline.

### ⚠️ Limits and caveats

- This Actor reads the public APIs of Polymarket, Kalshi, and Manifold. It is not affiliated with them and provides no trading advice.
- **Volume units differ by platform** and are not directly comparable: Polymarket is USD, Kalshi is contract count, Manifold is mana (play-money). The `volumeUnit` field on every row makes the unit explicit.
- Manifold multiple-choice markets do not have a single Yes probability, so `yesProbability` is null for them; binary markets are fully priced.
- Kalshi data is read from its events feed (real, categorized markets) rather than the raw markets feed, which is dominated by auto-generated low-volume combinations.
- Markets are a live snapshot at run time; this Actor is not a full historical orderbook archive.

### 🧩 Related Actors

- Website Tech Stack Detector - find the tools a company's site runs.
- Trustpilot Review Scraper - company reviews with themes and sentiment.
- Greenhouse, Lever & Ashby Jobs Scraper - open roles across the top startup ATS.
- Shopify Store Analyzer - catalog and contact intelligence for Shopify stores.

### ❓ FAQ

#### Which markets does it return by default?

Open markets across all three platforms, ordered by popularity/volume where the platform supports it. Use the keyword filter to narrow to a topic.

#### How is implied probability calculated?

For binary markets, the outcome price (0-1) is the implied probability. Kalshi uses the last traded price (or the mid of the yes bid/ask when there is no last trade). Polymarket and Manifold expose the probability directly.

#### Can I compare the same event across platforms?

Yes - run all three platforms with a shared keyword (for example a candidate or team name) and compare `yesProbability` per platform. A built-in cross-platform match key is on the roadmap.

#### Does it need a proxy?

No. These are public official APIs that work without a proxy. Enable Apify Proxy only on very large runs if you hit IP rate limits.

### 🛠️ Support

For bugs or missing fields, open an Actor issue with the run URL, the platform, and the field or behavior you expected.

# Actor input Schema

## `platforms` (type: `array`):

Which prediction markets to scrape. All three are public JSON APIs, so any combination works.

## `status` (type: `string`):

Which markets to include. Open = currently tradable, Closed = no longer trading, All = both.

## `keyword` (type: `string`):

Optional. Only return markets whose question/title contains this text (case-insensitive). Examples: election, bitcoin, fed, super bowl.

## `maxMarketsPerPlatform` (type: `integer`):

Maximum markets to collect from each selected platform.

## `proxyConfiguration` (type: `object`):

Optional. These market APIs are public and work without a proxy; enable Apify Proxy only if you hit IP rate limits on very large runs.

## Actor input object example

```json
{
  "platforms": [
    "polymarket",
    "kalshi",
    "manifold"
  ],
  "status": "open",
  "maxMarketsPerPlatform": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `OUTPUT` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "platforms": [
        "polymarket",
        "kalshi",
        "manifold"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdata_labs/prediction-markets-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "platforms": [
        "polymarket",
        "kalshi",
        "manifold",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("webdata_labs/prediction-markets-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "platforms": [
    "polymarket",
    "kalshi",
    "manifold"
  ]
}' |
apify call webdata_labs/prediction-markets-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=webdata_labs/prediction-markets-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Prediction Markets Scraper - Polymarket, Kalshi & Manifold",
        "description": "[💵 $2.00 / 1K] Scrape live prediction markets across Polymarket, Kalshi, and Manifold in one unified schema: odds, implied probability, prices, volume, and liquidity.",
        "version": "0.1",
        "x-build-id": "Nbh76pnoyO7G3BJpe"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/webdata_labs~prediction-markets-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-webdata_labs-prediction-markets-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/webdata_labs~prediction-markets-scraper/runs": {
            "post": {
                "operationId": "runs-sync-webdata_labs-prediction-markets-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/webdata_labs~prediction-markets-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-webdata_labs-prediction-markets-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "platforms"
                ],
                "properties": {
                    "platforms": {
                        "title": "Platforms",
                        "type": "array",
                        "description": "Which prediction markets to scrape. All three are public JSON APIs, so any combination works.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "polymarket",
                                "kalshi",
                                "manifold"
                            ],
                            "enumTitles": [
                                "Polymarket",
                                "Kalshi",
                                "Manifold"
                            ]
                        },
                        "default": [
                            "polymarket",
                            "kalshi",
                            "manifold"
                        ]
                    },
                    "status": {
                        "title": "Market status",
                        "enum": [
                            "open",
                            "closed",
                            "all"
                        ],
                        "type": "string",
                        "description": "Which markets to include. Open = currently tradable, Closed = no longer trading, All = both.",
                        "default": "open"
                    },
                    "keyword": {
                        "title": "Keyword filter",
                        "type": "string",
                        "description": "Optional. Only return markets whose question/title contains this text (case-insensitive). Examples: election, bitcoin, fed, super bowl."
                    },
                    "maxMarketsPerPlatform": {
                        "title": "Max markets per platform",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum markets to collect from each selected platform.",
                        "default": 200
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Optional. These market APIs are public and work without a proxy; enable Apify Proxy only if you hit IP rate limits on very large runs.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
