# Pinnacle Odds Scraper - $2.50 / 1000 Games (`scrapeunblocker/pinnacle-scraper`) Actor

Pinnacle sports betting odds as JSON for any sport or league: moneyline, spread and total prices in American and decimal form, every period and alternate line, limits, margin and no-vig probabilities, with player props and futures on request. $2.50 per 1000 games.

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

## Pricing

from $2.50 / 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

## Pinnacle Odds Scraper

Scrape **Pinnacle** (pinnacle.com) public betting odds as clean JSON for any sport or league. Every game comes with **moneyline, spread, total and team total prices** in **American and decimal form**, every **period and alternate line**, the **stake limit**, the **margin** and **no-vig probabilities**. Player props and futures are available on request.

### Features

- **Any sport or league** - basketball, soccer, tennis, hockey, American football, MMA and more, or one league by name or id.
- **Both price formats** - every price is a number in American and decimal form, with the implied probability.
- **Sharp-line analytics** - the book's margin per market, no-vig fair probabilities and the maximum risk stake Pinnacle accepts.
- **Every period and alternate line** when you ask for a league: quarters, halves, sets, alternate spreads and totals, team totals.
- **Player props and futures** as extra results with `includeSpecials`.
- **Public data only** - the odds anyone can see without an account.

### Use cases

- **Betting models** - closing lines and no-vig probabilities from a sharp reference book.
- **Line tracking** - run on a schedule to build a price history.
- **Odds comparison and arbitrage** - compare a sharp price against other books.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `targets` | array | basketball, soccer, hockey | A sport, a well-known league (`nba`, `nfl`, `nhl`, `epl`, `ucl`, `ufc`), or `sport/league` such as `soccer/Spain - La Liga` or `basketball/487`. |
| `maxMatchups` | integer | `20` | Games to take from each target, soonest first (1-2000). |
| `includeSpecials` | boolean | `false` | Also return player props and futures, for leagues. |
| `proxyCountry` | string | - | Optional two-letter country code the requests are sent from. |

A whole sport returns each game's main lines. A league returns every period and alternate line.

### Output

One result per game:

```json
{
  "type": "matchup",
  "target": "nba",
  "sport": "Basketball",
  "id": 1639837683,
  "league": {"id": 487, "name": "NBA", "group": "USA"},
  "name": "Los Angeles Lakers vs Atlanta Hawks",
  "home": "Atlanta Hawks",
  "away": "Los Angeles Lakers",
  "startTime": "2026-11-10T00:10:00Z",
  "live": false,
  "url": "https://www.pinnacle.com/en/basketball/nba/los-angeles-lakers-vs-atlanta-hawks/1639837683/",
  "markets": [{
    "type": "moneyline",
    "period": 0,
    "periodName": "Game",
    "alternate": false,
    "maxRiskStake": 5000,
    "margin": 0.0286,
    "selections": [{"name": "Atlanta Hawks", "side": "home", "american": -120, "decimal": 1.833, "impliedProbability": 0.5456, "fairProbability": 0.5304}]
  }]
}
```

With `includeSpecials`, props and futures are extra results with `"type": "special"`, a `description` and their own `markets`.

Inputs that return nothing are listed in the `ERRORS` key-value record and are not charged. The same game reached from two targets is stored and charged once.

### Pricing

**$2.50 per 1000 games**, each with all of its markets.

# Actor input Schema

## `targets` (type: `array`):

A sport (basketball, soccer, hockey, tennis, football for American football), a well-known league (nba, nfl, nhl, epl, ucl, ufc), or sport/league for any other league by name or id, such as soccer/Spain - La Liga or basketball/487. A league returns every period and alternate line; a whole sport returns each game's main lines.

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

How many games to take from each sport or league, soonest first.

## `includeSpecials` (type: `boolean`):

Also return props and futures as extra results. Only applies to leagues, such as nba or sport/league.

## `proxyCountry` (type: `string`):

Optional two-letter country code the requests are sent from, such as US or GB. Leave empty to let the scraper choose.

## Actor input object example

```json
{
  "targets": [
    "basketball",
    "soccer",
    "hockey"
  ],
  "maxMatchups": 20,
  "includeSpecials": false
}
```

# Actor output Schema

## `items` (type: `string`):

One result per game with all its markets; props and futures on request

## `errors` (type: `string`):

Inputs that returned nothing, with the reason (not billed)

# 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 = {
    "targets": [
        "basketball",
        "soccer",
        "hockey"
    ],
    "maxMatchups": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/pinnacle-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 = {
    "targets": [
        "basketball",
        "soccer",
        "hockey",
    ],
    "maxMatchups": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/pinnacle-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 '{
  "targets": [
    "basketball",
    "soccer",
    "hockey"
  ],
  "maxMatchups": 20
}' |
apify call scrapeunblocker/pinnacle-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeunblocker/pinnacle-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/frpOfeg7naJJIdfb5/builds/7xp2gMi8cZTcohFiU/openapi.json
