# Prediction Markets: Kalshi, Polymarket & PredictIt Odds (`tacps126/prediction-markets`) Actor

Kalshi, Polymarket, Manifold and PredictIt markets in one table: probability, bid/ask, 24h change, volume, liquidity, open interest, close date, result, daily price history. Search, categories, move alerts.

- **URL**: https://apify.com/tacps126/prediction-markets.md
- **Developed by:** [Tapaswai Choudhary](https://apify.com/tacps126) (community)
- **Categories:** Business, News, Developer tools
- **Security:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 markets

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

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Prediction Markets: Kalshi, Polymarket & PredictIt Odds

Live odds from the four biggest prediction markets in one table: **Kalshi**, **Polymarket**, **Manifold** and **PredictIt**. Every market comes back with its **probability**, bid and ask, **24-hour change**, **volume**, **liquidity**, open interest, close date and, once settled, the **result**. Search by keyword or category, paste market links, add **daily price history**, and schedule it to get an **alert row whenever a market moves** by the points you choose.

**Built for** traders and forecasters, journalists and newsletters, quant and research teams, app and bot builders, and AI agents.

### What you get

One row per contract: a yes/no market, or one outcome of a multi-outcome event (each candidate in an election, each rate decision at a Fed meeting).

| Field | Meaning |
|---|---|
| `platform`, `marketId`, `eventId`, `eventTitle`, `question`, `outcome`, `url` | The market |
| `probability` | Market-implied chance of "yes", 0 to 1 (midpoint of a tight book, else the last trade) |
| `lastPrice`, `yesBid`, `yesAsk`, `noBid`, `noAsk`, `spread` | Quotes, 0 to 1 (a $0.62 contract = 62%) |
| `change24h`, `change7d` | Probability change over 24 hours and 7 days (where shown) |
| `volume`, `volume24h`, `volumeUnit`, `openInterest`, `liquidity`, `traders` | Activity |
| `outcomes` | Every outcome with its price (Polymarket) |
| `category`, `openTime`, `closeTime` | When it trades |
| `status` (open, closed, resolved), `result`, `resolutionStatus`, `rules` | How it settles |
| `priceHistory` | `[{date, probability, volume}]`, one point per day, with **History days** set (Kalshi, Polymarket) |
| `previousProbability`, `movePoints` | On alert runs: the price last delivered and the move since, in percentage points |

```json
{
  "platform": "kalshi",
  "eventTitle": "Fed decision in Dec 2026? (On Dec 9, 2026)",
  "question": "Will the Federal Reserve Hike rates by 0bps at their December 2026 meeting?",
  "outcome": "Fed maintains rate",
  "probability": 0.29,
  "yesBid": 0.28,
  "yesAsk": 0.3,
  "change24h": 0.01,
  "volume": 841358.21,
  "volume24h": 85959.14,
  "volumeUnit": "contracts",
  "openInterest": 462480.26,
  "closeTime": "2026-12-09T18:59:00Z",
  "status": "open",
  "url": "https://kalshi.com/markets/kxfeddecision"
}
```

### Why this Actor

- **Four platforms, one shape.** Compare the same question across Kalshi, Polymarket, Manifold and PredictIt without four parsers.
- **Search and categories.** Keywords (`fed rate`, `bitcoin`, `world cup`) or 14 categories: politics, elections, economics, finance, crypto, sports, tech and science, AI, climate and weather, culture, world, companies, health, mentions.
- **Paste links.** Kalshi tickers or links, Polymarket event or market links, Manifold links, PredictIt links or ids.
- **Move alerts.** Set *Alert on moves* to e.g. `5` and schedule hourly: each run returns only markets whose probability moved 5+ points since you last got them, with the old and new price.
- **Price history.** Daily probability for up to a year per market, ready to chart.
- **Settled markets too.** Status *closed* returns resolved markets with the winning outcome.
- **For AI agents.** Callable as an MCP tool.

### How to use it

Busiest markets on Kalshi and Polymarket right now:

```json
{ "platforms": ["kalshi", "polymarket"], "maxItems": 50 }
```

Every Fed-rate market on all four platforms, with 30 days of history:

```json
{ "platforms": ["kalshi", "polymarket", "manifold", "predictit"], "search": "fed rate", "historyDays": 30 }
```

Elections closing in the next 14 days, biggest movers first:

```json
{ "categories": ["elections"], "closesWithinDays": 14, "sortBy": "move24h" }
```

Alert when any big crypto market moves 5 points (schedule hourly):

```json
{ "platforms": ["kalshi", "polymarket"], "categories": ["crypto"], "minVolume24h": 10000, "alertMovePoints": 5 }
```

Specific markets by link:

```json
{ "markets": ["https://polymarket.com/event/fed-decision-in-december-20260729232808632", "KXFEDDECISION-26DEC"] }
```

### Options

| Option | What it does |
|---|---|
| **Platforms** (`platforms`) | `kalshi`, `polymarket`, `manifold`, `predictit` (default Kalshi + Polymarket) |
| **Search** (`search`) | Keywords in the question, event or outcome, e.g. `fed rate`, `bitcoin` |
| **Categories** (`categories`) | politics, elections, economics, finance, crypto, sports, tech-science, ai, climate-weather, culture, world, companies, health, mentions |
| **Markets** (`markets`) | Links from any of the four sites, Kalshi tickers, Polymarket slugs or condition ids, PredictIt ids |
| **Status** (`status`) | `open` (default), `closed` (includes resolved, with result) or `all` |
| **Sort by** (`sortBy`) | `volume24h`, `volume`, `liquidity`, `closingSoon`, `newest`, `move24h` |
| **Minimum total / 24-hour volume** (`minVolume`, `minVolume24h`) | Each platform's own unit: contracts (Kalshi), US dollars (Polymarket), MANA (Manifold) |
| **Minimum liquidity** (`minLiquidity`) | In US dollars |
| **Closes within (days)** (`closesWithinDays`) | Only markets settling within this many days |
| **History days** (`historyDays`) | Daily price history, up to 365 days |
| **Max markets** (`maxItems`) | Most rows per run |
| **Only new** (`onlyNew`, `monitorName`) | With a schedule, each run returns only markets earlier runs did not deliver |
| **Alert on moves** (`alertMovePoints`) | Return only markets whose probability moved at least this many percentage points since last delivered |

### Pricing

**$3 per 1,000 markets**, plus a small start fee per run. Price history is included. On the Apify free plan a run returns up to 100 markets.

### Good to know

- **Volume units differ**: Kalshi counts contracts, Polymarket US dollars, Manifold play money (MANA). `volumeUnit` says which; the volume filters apply in each platform's own unit.
- **Manifold is play money**; its probabilities are still a useful crowd forecast.
- **PredictIt** lists politics only and shows no volume, so it is left out when a volume or liquidity minimum is set.
- Sorting by volume or liquidity takes the top of each platform in turn, since units differ; closing soon, newest and biggest move sort across all.
- The first alert run returns every match as the baseline; later runs return only moves (and markets that are new to the search).
- Prices are delayed snapshots for research, not a trading feed.
- Questions: **tacps126@gmail.com**.

# Actor input Schema

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

Which prediction markets to read. Kalshi and Polymarket trade real money; Manifold uses play money (MANA); PredictIt covers US politics.

## `search` (type: `string`):

Keywords, e.g. `fed rate`, `bitcoin`, `election`, `Super Bowl`. Leave empty for the busiest markets.

## `categories` (type: `array`):

Only markets in these categories (any match). Ignored when Search is set on Polymarket.

## `markets` (type: `array`):

Specific markets: links (kalshi.com, polymarket.com, manifold.markets, predictit.org), Kalshi tickers (market, event or series, e.g. `KXFEDDECISION`), Polymarket slugs or condition ids.

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

Open markets (default), closed and settled markets with their result, or both.

## `sortBy` (type: `string`):

Order of results. Volume and liquidity take the top of each platform in turn, since units differ.

## `minVolume` (type: `number`):

In dollars on Polymarket, contracts on Kalshi (each pays $1), MANA on Manifold. PredictIt shows no volume, so it is left out when this is set.

## `minVolume24h` (type: `number`):

Same units as total volume.

## `minLiquidity` (type: `number`):

Order-book or pool liquidity (Polymarket, Manifold).

## `closesWithinDays` (type: `integer`):

Only markets that close within this many days.

## `historyDays` (type: `integer`):

Add a daily price history (`priceHistory`) for Kalshi and Polymarket markets. 0 = none.

## `maxItems` (type: `integer`):

Most markets to return (each outcome of a multi-outcome event counts as one).

## `onlyNew` (type: `boolean`):

Schedule the Actor and each run returns only markets earlier runs did not deliver.

## `alertMovePoints` (type: `number`):

Return only markets whose probability moved at least this many percentage points since they were last delivered, with `previousProbability` and `movePoints`. The first run returns every market as the baseline. Pair with a schedule and the Slack or webhook delivery below.

## `monitorName` (type: `string`):

Optional name for the monitoring history, so several monitors can run side by side.

## `tenantId` (type: `string`):

Optional label used to keep separate histories for different clients or teams.

## `debug` (type: `boolean`):

Save extra diagnostics with the run (for support requests).

## `delivery` (type: `object`):

Webhook: {"webhookUrl": "https://…", "format": "json" | "slack" | "discord", "onlyWhenResults": true, "includeItems": 10}. Google Sheets: {"spreadsheetId": "<id from the sheet URL>", "sheetName": "Sheet1"} plus the service account key below; share the sheet with the service account's e-mail first. Leave empty to only save results in the dataset.

## `googleServiceAccountJson` (type: `string`):

Only for Google Sheets delivery: paste the service account's JSON key. Stored encrypted; the account sees only sheets you share with it.

## Actor input object example

```json
{
  "platforms": [
    "kalshi",
    "polymarket"
  ],
  "search": "fed rate",
  "status": "open",
  "sortBy": "volume24h",
  "historyDays": 0,
  "maxItems": 100,
  "onlyNew": false,
  "debug": false
}
```

# Actor output Schema

## `results` (type: `string`):

The produced items (default dataset items).

# 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": [
        "kalshi",
        "polymarket"
    ],
    "search": "fed rate"
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/prediction-markets").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": [
        "kalshi",
        "polymarket",
    ],
    "search": "fed rate",
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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": [
    "kalshi",
    "polymarket"
  ],
  "search": "fed rate"
}' |
apify call tacps126/prediction-markets --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tacps126/prediction-markets"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/lgxslK2hm38AWYFKH/builds/ardUsndl4my4FZ4Ld/openapi.json
