# Pinnacle Odds Scraper: Sharp Lines, No-Vig Fair Odds & Limits (`sports-odds-lab/pinnacle-odds`) Actor

Pinnacle odds for NBA, NFL, NHL, MLB, soccer, tennis, MMA and esports: moneyline, spread, total and team totals for every period, with no-vig fair probabilities, the bookmaker margin and the maximum stake. The sharp reference line for value betting and closing line value. No proxy, no account.

- **URL**: https://apify.com/sports-odds-lab/pinnacle-odds.md
- **Developed by:** [Min Maxxxer](https://apify.com/sports-odds-lab) (community)
- **Categories:** Sports, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 games

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

## Pinnacle Odds Scraper: Sharp Lines, No-Vig Fair Odds & Limits

> 💰 **$4 per 1,000 games** — every main market of a game in one row. Press **Start**: the prefilled input returns today's and tomorrow's **NBA** games in a few seconds.

**Pinnacle** is the sharpest bookmaker in the world: low margins, high limits, and the line the market moves to. Bettors use its prices as the **fair reference** for **value betting (+EV)** and **closing line value (CLV)**. This Actor gives you Pinnacle's current lines for **NBA, NFL, NHL, MLB, soccer (Premier League, Champions League and 100+ leagues), tennis, MMA/UFC and esports** — clean JSON, CSV or Excel, no proxy and no account.

### What you get for each game

- **Moneyline** (home / away, and **draw** for soccer — 1X2)
- **Spread / handicap** and **total (over/under)** — the main line, optionally **every alternate line**
- **Team totals** for each side
- **Halves, quarters, hockey periods, first 5 innings, sets** (optional)
- For every market: **decimal and American odds**, **no-vig fair probability** of each side, the **margin %** and Pinnacle's **maximum stake** (how much they let you bet — high limits mean a confident line)
- League, country, start time (UTC), teams, live flag and Pinnacle's matchup ID

### Example input

```json
{
  "sports": ["basketball", "soccer"],
  "leagues": ["NBA", "England - Premier League", "Champions League"],
  "hoursAhead": 48,
  "includePeriods": true
}
```

### Example output (shortened)

```json
{
  "league": "NBA",
  "startTime": "2026-10-22T23:10:00Z",
  "homeTeam": "Philadelphia 76ers",
  "awayTeam": "Cleveland Cavaliers",
  "moneyline": {"home": {"odds": 1.775, "american": -129, "fairProb": 0.5523},
                "away": {"odds": 2.19, "american": 119, "fairProb": 0.4477}, "marginPct": 1.99, "maxStake": 30000},
  "spread": {"line": -2.0, "home": {"odds": 1.909, "american": -110, "fairProb": 0.5116},
             "away": {"odds": 2.0, "american": -100, "fairProb": 0.4884}, "marginPct": 2.38, "maxStake": 30000},
  "total": {"line": 236.5, "over": {"odds": 1.917, "american": -109, "fairProb": 0.5069},
            "under": {"odds": 1.971, "american": -103, "fairProb": 0.4931}, "marginPct": 2.89, "maxStake": 10000},
  "teamTotal": {"home": {"line": 118.5, "over": {"odds": 1.917}, "under": {"odds": 1.952}}},
  "periods": {"1st half": {"moneyline": {}, "spread": {}, "total": {}}}
}
```

### How people use it

- **Value betting / +EV**: compare your bookmaker's price with Pinnacle's **no-vig fair probability** — a price above it is a value bet
- **Closing line value**: run it just before the start (e.g. on a schedule) and keep Pinnacle's **closing lines** to measure your bets
- **Models and dashboards**: the sharpest market probability for every NBA, NFL, NHL, MLB, soccer and tennis game
- **Limits as a signal**: a rising maximum stake shows Pinnacle is confident in its line

### Options

- **Sports**: basketball, soccer, hockey, american football, baseball, tennis, mma, esports, golf, handball, volleyball, darts, cricket, rugby, snooker, formula 1 (aliases nba, nfl, nhl, mlb, ufc)
- **Leagues**: as written on Pinnacle (`NBA`, `England - Premier League`, `UEFA - Champions League`) or just the part after the country (`Premier League` = every country's Premier League)
- **Teams**: part of a team's or player's name
- **Hours ahead**, **live games**, **team totals**, **periods**, **alternate lines**, **max games**

### Pricing

**$4 per 1,000 games** (pay per event: one game = one row with all its markets). No proxy and no separate platform usage to pay for.

### Notes

- Player props (points, rebounds, yards, shots on goal) with the same fair probabilities: [NBA & NFL Player Props Odds](https://apify.com/sports-odds-lab/player-props-odds).
- Current lines only: for past games use our [NBA, NFL, MLB & NHL odds](https://apify.com/sports-odds-lab/nba-nfl-mlb-nhl-odds) and [Soccer odds](https://apify.com/sports-odds-lab/football-odds-results) Actors (opening and closing odds of 25-40 bookmakers since 2005).
- Data from Pinnacle's public website feed; not affiliated with Pinnacle. Odds change all the time — the `scrapedAt` field says when they were read.

# Actor input Schema

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

basketball (NBA, Euroleague…), soccer, hockey, american football, baseball, tennis, mma, esports, golf, handball, volleyball, darts, cricket, rugby league, rugby union, snooker, formula 1. Aliases: nba, nfl, nhl, mlb, ufc.

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

Only these leagues: a name as on Pinnacle (NBA, Premier League, England - Premier League, Champions League, NHL…) or a Pinnacle league ID. Empty = every league of the chosen sports.

## `teams` (type: `array`):

Only games of these teams or players (part of the name is enough, e.g. Lakers).

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

Only games starting within this many hours. 0 = every listed game.

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

Games already in play (Pinnacle's live lines).

## `includeTeamTotals` (type: `boolean`):

Each team's own points/goals total.

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

The same markets for every period Pinnacle lists (1st half, quarters, hockey periods, first 5 innings, sets).

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

Every alternate spread and total, not only the main line.

## `maxMatchups` (type: `integer`):

Stop after this many games (0 = no limit).

## Actor input object example

```json
{
  "sports": [
    "basketball"
  ],
  "leagues": [
    "NBA"
  ],
  "hoursAhead": 48,
  "includeLive": false,
  "includeTeamTotals": true,
  "includePeriods": false,
  "includeAlternateLines": false,
  "maxMatchups": 0
}
```

# Actor output Schema

## `games` (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 = {
    "sports": [
        "basketball"
    ],
    "leagues": [
        "NBA"
    ],
    "hoursAhead": 48
};

// Run the Actor and wait for it to finish
const run = await client.actor("sports-odds-lab/pinnacle-odds").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 = {
    "sports": ["basketball"],
    "leagues": ["NBA"],
    "hoursAhead": 48,
}

# Run the Actor and wait for it to finish
run = client.actor("sports-odds-lab/pinnacle-odds").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 '{
  "sports": [
    "basketball"
  ],
  "leagues": [
    "NBA"
  ],
  "hoursAhead": 48
}' |
apify call sports-odds-lab/pinnacle-odds --silent --output-dataset

```

## MCP server setup

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

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/XgrddMJx0bLZxbnPs/builds/Ykp4O3cdSdFNXdmBF/openapi.json
