# Pinnacle Odds Scraper: Kalshi & Polymarket Edge (`datamole/pinnacle-sports-odds-scraper`) Actor

Pinnacle sharp odds for NFL, NBA, NHL, MLB, soccer, tennis, UFC and esports with no-vig fair probabilities, compared line by line with Kalshi and Polymarket prices. Get the edge and expected value of every contract, cross-venue arbitrage and line movement alerts.

- **URL**: https://apify.com/datamole/pinnacle-sports-odds-scraper.md
- **Developed by:** [DataMole](https://apify.com/datamole) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

![DataMole](https://raw.githubusercontent.com/YoiderD/datamole-assets/main/banner.png)

## 🎯 Pinnacle Odds Scraper: Kalshi & Polymarket Edge

> **Get Pinnacle's sharp odds for NFL, NBA, NHL, MLB, soccer, tennis, UFC and esports, with the no-vig fair probability of every outcome, and see the Kalshi and Polymarket price of the same outcome next to it.** Each line tells you how many points a prediction market contract is cheaper or dearer than Pinnacle's fair price, its expected value after Kalshi's fee, and whether buying each side at its cheapest venue is an arbitrage.

> 🕒 **Last updated:** 2026-11-08 · 35 leagues matched to Kalshi and Polymarket · any Pinnacle league by sport or search · monitor mode for line moves · no login, no API key

**Pinnacle Odds Scraper** reads the odds Pinnacle shows on its website: moneyline, spread, total and team totals, for the full game and, if you want, halves, quarters, periods, sets and maps, plus every alternate line. Pinnacle is the sharpest bookmaker in the market, so its prices with the margin removed are the standard estimate of the true probability. The Actor finds the same game on **Kalshi** and **Polymarket**, matches each outcome on the exact same line (a Kalshi "Cincinnati wins by over 3.5 points" contract is Pinnacle's Bengals -3.5), and adds the bid, ask, volume, the **edge in percentage points**, the **expected value** and the **cheapest venue for each side**.

| 🎯 Who uses it | 💡 What for |
|---|---|
| Prediction market traders, sports bettors, quant and trading bots, odds analysts, data journalists, AI agents | Find mispriced Kalshi and Polymarket contracts, fair value for every line, arbitrage scans, line movement alerts, closing line datasets |

### 📋 What it does

- 🏟️ **35 leagues ready to compare.** NFL, college football, NBA, college basketball, WNBA, EuroLeague, NHL, MLB, KBO, NPB, Premier League, Championship, La Liga, Serie A, Bundesliga, Ligue 1, Eredivisie, Primeira Liga, Champions League, Europa League, Conference League, MLS, Liga MX, Brasileirão, Argentina, Libertadores, Sudamericana, UFC, boxing, ATP, WTA, Counter-Strike 2, League of Legends, Dota 2 and Valorant.
- 🌍 **Any other Pinnacle league.** Pick whole sports (all soccer, all tennis...) or search league names, for example "Australia". Leagues no prediction market lists come with Pinnacle data only.
- ⚖️ **No-vig fair odds.** Fair probability, fair decimal and fair American odds for each outcome, and Pinnacle's margin (`holdPercent`).
- 📈 **Kalshi and Polymarket next to Pinnacle.** Bid, ask, last price, mid, volume, open interest or liquidity, ticker and link, on the same outcome and line.
- 🧮 **Edge and expected value.** `edgePoints` = Pinnacle fair probability minus the price you pay. Kalshi's taker fee is included in the cost.
- 🔀 **Arbitrage across venues.** The cheapest way to buy each outcome across Pinnacle, Kalshi and Polymarket, with profit and stake split when the total costs less than the payout.
- 🎚️ **Filters.** Minimum edge, arbitrage only, only lines listed on a prediction market, teams or players, hours ahead, live games.
- 🔔 **Monitor mode.** Schedule it and get only new lines and lines that moved, with the previous line, previous odds and the move in points since the last run and since first seen.
- 💰 **Pinnacle limits.** The maximum stake Pinnacle takes on each line, a good sign of how firm the price is.

> ℹ️ **Free Apify plan:** runs return a preview of up to 10 results. Any paid Apify plan unlocks all results.

### ⚙️ Input

| Field | What it does |
|---|---|
| `leagues` | Leagues from the list above. Default NFL, NBA, NHL and Premier League. |
| `sports` | Every Pinnacle league of these sports, for example `Soccer` or `Tennis`. |
| `leagueSearch` | Any Pinnacle league whose name contains this text. |
| `teamSearch` | Keep only games with these teams or players. |
| `marketTypes` | `moneyline`, `spread`, `total`, `team_total`. Default the first three. |
| `includePeriods` | Halves, quarters, periods, sets, maps, first 5 innings. |
| `includeAlternateLines` | Every alternate spread and total. Gives many more matches with Kalshi and Polymarket, which list many lines per game. |
| `includeLive` / `hoursAhead` | Live games on or off; only games starting within N hours (default 168). |
| `compareKalshi` / `comparePolymarket` | Turn each venue on or off (both on by default). |
| `onlyWithPredictionMarkets` | Skip lines no prediction market lists. |
| `minEdge` | Keep lines where a contract is at least this many points cheaper than Pinnacle's fair price. |
| `onlyArbitrage` | Keep only lines with a cross-venue arbitrage. |
| `monitorMode` / `monitorName` / `minMove` | Only new lines and moves since the previous run; `minMove` is the smallest odds move to report, in points of fair probability. |
| `maxItems` | Maximum lines in total. |

**Example: today's NFL, NBA and NHL with Kalshi and Polymarket**

```json
{
    "leagues": ["nfl", "nba", "nhl"],
    "hoursAhead": 24
}
```

**Example: contracts at least 2 points under Pinnacle's fair price, every line**

```json
{
    "leagues": ["nfl", "nba", "nhl", "epl", "laliga", "ufc", "atp", "cs2"],
    "includeAlternateLines": true,
    "minEdge": 2
}
```

**Example: line movement alerts, scheduled every 10 minutes**

```json
{
    "leagues": ["nfl"],
    "includeAlternateLines": true,
    "monitorMode": true,
    "minMove": 1
}
```

**Example: every soccer league on Pinnacle, moneyline only**

```json
{
    "leagues": [],
    "sports": ["Soccer"],
    "marketTypes": ["moneyline"],
    "compareKalshi": false,
    "comparePolymarket": false
}
```

### 📊 Output

One record per line: one market of one period of one game. A real record from a cloud run on 2026-11-08, Giants at Eagles moneyline:

```json
{
    "sport": "Football",
    "league": "NFL",
    "event": "Philadelphia Eagles vs New York Giants",
    "homeTeam": "Philadelphia Eagles",
    "awayTeam": "New York Giants",
    "startTime": "2026-11-08T18:00:00.000Z",
    "startsInMinutes": 185,
    "isLive": false,
    "period": 0,
    "periodName": "Game",
    "market": "moneyline",
    "marketLabel": "Game · Moneyline",
    "line": null,
    "isAlternateLine": false,
    "maxStake": 20000,
    "holdPercent": 2.47,
    "pinnacleUrl": "https://www.pinnacle.com/en/football/nfl/new-york-giants-vs-philadelphia-eagles/1639104448/",
    "kalshiEvent": { "id": "KXNFLGAME-26NOV08NYGPHI", "title": "New York G vs Philadelphia", "url": "https://kalshi.com/markets/kxnflgame/nfl-game/kxnflgame-26nov08nygphi" },
    "polymarketEvent": { "id": "nfl-nyg-phi-2026-11-08", "title": "Giants vs. Eagles", "url": "https://polymarket.com/event/nfl-nyg-phi-2026-11-08" },
    "predictionMarketsMatched": true,
    "bestEdge": { "outcome": "away", "name": "New York Giants", "venue": "polymarket", "ask": 0.59, "fairProbability": 0.5917, "edgePoints": 0.17, "expectedValuePercent": 0.29 },
    "arbitrage": null,
    "homeOdds": 2.39,
    "homeFairProbability": 0.4083,
    "homeKalshiAsk": 0.4,
    "homePolymarketAsk": 0.42,
    "awayOdds": 1.649,
    "awayFairProbability": 0.5917,
    "awayKalshiAsk": 0.61,
    "awayPolymarketAsk": 0.59,
    "bestEdgePoints": 0.17,
    "outcomes": [
        {
            "outcome": "away",
            "name": "New York Giants",
            "americanOdds": -154,
            "decimalOdds": 1.649,
            "impliedProbability": 0.6063,
            "fairProbability": 0.5917,
            "fairDecimalOdds": 1.69,
            "fairAmericanOdds": -145,
            "kalshi": {
                "bid": 0.6, "ask": 0.61, "last": 0.61, "mid": 0.605,
                "volume": 1587602.93, "openInterest": 1268328.59,
                "ticker": "KXNFLGAME-26NOV08NYGPHI-NYG", "contractSide": "yes",
                "takerFee": 0.0167, "edgePoints": -3.5, "expectedValuePercent": -5.58
            },
            "polymarket": {
                "bid": 0.58, "ask": 0.59, "last": 0.59, "mid": 0.585,
                "volume": 1046832.78, "liquidity": 831966.6, "marketSlug": "nfl-nyg-phi-2026-11-08",
                "edgePoints": 0.17, "expectedValuePercent": 0.29
            }
        }
    ],
    "scrapedAt": "2026-11-08T14:55:14.763Z"
}
```

(The record also has the home outcome, the rotation number, the market key and the cutoff time; shortened here.)

With `minEdge: 1` on 12 leagues and every alternate line, a cloud run on 2026-11-08 kept 21 lines, for example:

| Game | Line | Venue | Ask | Pinnacle fair | Edge |
|---|---|---|---|---|---|
| Bears vs Buccaneers (NFL) | Buccaneers moneyline | Polymarket | 0.29 | 0.3099 | +1.99 pts |
| Bears vs Buccaneers (NFL) | Buccaneers -3.5 | Polymarket | 0.21 | 0.2273 | +1.73 pts |
| Maple Leafs vs Devils (NHL) | Maple Leafs -2.5 | Polymarket | 0.14 | 0.1566 | +1.66 pts |
| Bucks vs Celtics (NBA) | Bucks moneyline | Polymarket | 0.14 | 0.1531 | +1.31 pts |
| RED Canids Academy vs BESTIA Academy (CS2) | BESTIA Academy moneyline | Kalshi (after fee) | 0.33 | 0.3652 | +1.97 pts |

| Field | Meaning |
|---|---|
| `fairProbability` | Pinnacle's implied probability with its margin removed proportionally. |
| `holdPercent` | Pinnacle's margin on the line. Usually 2 to 5% on main lines. |
| `edgePoints` | (Fair probability − price paid) × 100. Positive = the contract is cheaper than Pinnacle's fair price. Kalshi includes its taker fee. |
| `expectedValuePercent` | Expected return per dollar at Pinnacle's fair probability. |
| `contractSide` | Which Kalshi contract gives this outcome: `yes`, or `no` on the opponent's spread or the over. |
| `arbitrage` | When the cheapest legs cost less than 1: `profitPercent` and each leg with its venue, price and `stakeShare`. |
| `change`, `previousLine`, `fairMoveFromPrevious`, `fairMoveFromFirstSeen` | Monitor mode: `new`, `line moved` or `odds moved`, and the moves in points. |

### ✨ Why this one

| | This Actor | Typical odds scrapers |
|---|---|---|
| Pinnacle odds with no-vig fair probability | ✅ | ⚠️ some |
| Kalshi and Polymarket on the same outcome and line | ✅ | ❌ |
| Edge and EV after Kalshi fees | ✅ | ❌ |
| Arbitrage across bookmaker and prediction markets | ✅ | ⚠️ between bookmakers only |
| Alternate lines, periods and team totals | ✅ | ⚠️ main lines only |
| Monitor mode with line moves | ✅ | ⚠️ some |
| Any Pinnacle league, not a fixed list | ✅ | ⚠️ few leagues |
| No proxy cost | ✅ | ⚠️ often residential |

### 🚀 How to use

1. Pick the leagues, or whole sports.
2. Turn on alternate lines if you want the most prediction market matches.
3. Set a minimum edge or arbitrage only, if you want signals instead of the full board.
4. Run it, or schedule it in monitor mode and connect a webhook.

### 💼 Use cases

- 🎯 **Prediction market trading.** Buy Kalshi and Polymarket contracts priced under Pinnacle's fair probability, or sell those priced over it.
- 🔀 **Arbitrage scans.** Across Pinnacle, Kalshi and Polymarket, with the stake split per leg.
- 📉 **Line movement.** Monitor mode reports steam moves and line changes on the sharpest book within minutes.
- 🗃️ **Closing line datasets.** Scheduled runs build a history of fair prices to grade your bets or models.
- 🤖 **Models and bots.** Clean, flat fields ready for Python, Sheets or a trading bot.

### ❓ FAQ

**Do I need a Pinnacle, Kalshi or Polymarket account?** No. The Actor reads the public prices each site shows to visitors, without login or API keys.

**How is the fair probability computed?** From Pinnacle's prices with the margin removed proportionally (each implied probability divided by their sum). It is the common no-vig method; Pinnacle's low margin makes it close to other methods.

**How are games matched?** Both teams or players must match by name (city, nickname or full name) and the start times must be close. Our cloud tests on 2026-11-08 matched 27 of 27 NFL, NBA, NHL and Premier League games on both venues, and 59 and 64 of 64 games across 12 leagues including tennis, UFC and esports.

**Why do some lines have no Kalshi or Polymarket price?** Prediction markets list fewer lines than Pinnacle. Spreads and totals match only on the exact same number, so turn on `includeAlternateLines` to get many more matches. Periods and team totals are not compared.

**How many results does a run give?** One per line. With the default markets a game gives about 3 lines (moneyline, spread, total). Alternate lines, periods and team totals add many more: a cloud run on 2026-11-08 with all of them gave 13,332 lines for 401 games, about 33 per game. Use `maxItems`, `minEdge` or `onlyWithPredictionMarkets` to keep runs small.

**Why does a league return no games?** Pinnacle lists a league only while it has games open, so off-season leagues (for example MLB, KBO, NPB and WNBA in November) return nothing until the season starts. The run log lists every Pinnacle league it found.

**Are Polymarket fees included?** No. Polymarket's edge is before fees; most Polymarket sports markets charge no taker fee, but check the market before trading. Kalshi's taker fee (0.07 × price × (1 − price) per contract) is included.

**Is the arbitrage real?** It is computed from the best ask on each venue at the time of the run. Prices move, order books are thin on small markets, and Pinnacle limits stakes (`maxStake`), so check each leg before you trade.

**Does it need a proxy?** No. The three sources answer Apify servers directly, so runs are fast and cheap. A proxy can still be set.

**How does monitor mode work?** The first run returns every line as new and remembers it. The next runs return only new lines, main lines whose number changed, and lines whose fair probability moved at least `minMove` points. Use `monitorName` to keep separate monitors.

### 🔌 Integrations

Works with the Apify API, schedules, webhooks, Google Sheets, Make, Zapier, n8n, Slack and any tool that reads JSON or CSV.

### 🕳️ More from DataMole

| Actor | What it does |
|---|---|
| [ForexFactory Economic Calendar Scraper](https://apify.com/datamole/forexfactory-economic-calendar) | Economic events with surprise, currency signal and history stats |
| [TradingView Stock Screener & Market Scanner](https://apify.com/datamole/tradingview-stock-screener) | Stock screens and signals across 68 markets |
| [Truth Social Posts Scraper & Trump Monitor](https://apify.com/datamole/truth-social-scraper) | Trump's posts with market topics, for trading alerts |

**Need a league, market or venue we don't cover yet?** Open an issue on this Actor. We read everything.

### ⚖️ Disclaimer

This Actor collects publicly available prices from Pinnacle, Kalshi and Polymarket. It is not affiliated with or endorsed by any of them. The data is for information and research only. It is not betting, trading or investment advice, and no profit is guaranteed. Sports betting and prediction markets are restricted or illegal in some places, and each site's terms may limit how its data is used or shared. You are responsible for using the data in line with the laws where you live and the terms of each source.

# Actor input Schema

## `leagues` (type: `array`):

Leagues to scrape. Each one is matched to its Kalshi and Polymarket markets automatically.

## `sports` (type: `array`):

Every Pinnacle league of these sports with open games, for example all soccer leagues. Leagues outside the list above are scraped without prediction market prices.

## `leagueSearch` (type: `string`):

Any Pinnacle league whose name contains this text, in every sport, for example "Australia" or "Euroleague".

## `teamSearch` (type: `array`):

Keep only games with any of these teams or players, for example Chiefs, Real Madrid or Alcaraz.

## `marketTypes` (type: `array`):

Market types to save. Kalshi and Polymarket are compared on moneyline, spread and total.

## `includePeriods` (type: `boolean`):

1st half, quarters, periods, sets, maps and 1st 5 innings, besides the full game.

## `includeAlternateLines` (type: `boolean`):

Every alternate spread and total Pinnacle offers, not only the main line. Gives many more matches with Kalshi, which lists many lines per game.

## `includeLive` (type: `boolean`):

Games already in play.

## `hoursAhead` (type: `integer`):

Only games starting within this many hours. 0 means no limit.

## `compareKalshi` (type: `boolean`):

Kalshi bid, ask, volume and edge after its taker fee for each matched outcome.

## `comparePolymarket` (type: `boolean`):

Polymarket bid, ask, volume, liquidity and edge for each matched outcome.

## `onlyWithPredictionMarkets` (type: `boolean`):

Skip lines that no prediction market lists.

## `minEdge` (type: `integer`):

Keep only lines where a Kalshi or Polymarket contract is at least this many points cheaper than the Pinnacle fair probability. 2 means a contract at 48¢ when Pinnacle says 50%. Empty keeps all lines.

## `onlyArbitrage` (type: `boolean`):

Keep only lines where buying each outcome at its cheapest venue costs less than the payout.

## `monitorMode` (type: `boolean`):

Schedule the run and get only new lines and lines that moved since the previous run, with the previous and first seen values. The first run returns every line as new.

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

Use different names to keep separate monitors. Runs with the same name share their memory.

## `minMove` (type: `integer`):

In monitor mode, report odds changes when a fair probability moved at least this much. Line changes are always reported. 0 reports every price change.

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

Maximum number of lines to save. Empty means no limit.

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

Not needed: the three sources answer Apify servers directly. Set one only if requests start failing.

## Actor input object example

```json
{
  "leagues": [
    "nfl",
    "nba",
    "nhl",
    "epl"
  ],
  "marketTypes": [
    "moneyline",
    "spread",
    "total"
  ],
  "includePeriods": false,
  "includeAlternateLines": false,
  "includeLive": true,
  "hoursAhead": 168,
  "compareKalshi": true,
  "comparePolymarket": true,
  "onlyWithPredictionMarkets": false,
  "onlyArbitrage": false,
  "monitorMode": false,
  "minMove": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `lines` (type: `string`):

No description

## `edges` (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 = {
    "leagues": [
        "nfl",
        "nba",
        "nhl",
        "epl"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("datamole/pinnacle-sports-odds-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 = {
    "leagues": [
        "nfl",
        "nba",
        "nhl",
        "epl",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("datamole/pinnacle-sports-odds-scraper").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 '{
  "leagues": [
    "nfl",
    "nba",
    "nhl",
    "epl"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call datamole/pinnacle-sports-odds-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datamole/pinnacle-sports-odds-scraper"
        }
    }
}
```

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/1D1JJ9sBhkatBhSwS/builds/LjRF2HSGYMnzEwho3/openapi.json
