# Action Network Odds Scraper - $2.50 / 1000 Games (`scrapeunblocker/action-network-scraper`) Actor

Action Network betting odds as JSON: every game of a league with each sportsbook's moneyline, spread and total, consensus and opening lines, public betting splits and scores. NBA, NFL, MLB, NHL, college and soccer. $2.50 per 1000 games.

- **URL**: https://apify.com/scrapeunblocker/action-network-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

## Action Network Odds Scraper

Scrape **Action Network** (actionnetwork.com) betting odds as clean JSON. One result per game with **each sportsbook's moneyline, spread and total**, the **consensus and opening lines**, the **public betting split** and the score once played.

### Features

- **Every sportsbook's prices** - moneyline, spread and total with American and decimal odds and the line.
- **Consensus and opening lines** - see how the market has moved since it opened.
- **Public betting** - percent of tickets and of money on each side.
- **Best moneyline per side** - across sportsbooks. Prediction markets such as Kalshi and Polymarket stay in the list and carry `exchange: true`.
- **Any league and date** - NBA, NFL, MLB, NHL, college football and basketball, soccer. Pick the sportsbooks by name.

### Use cases

- **Line shopping** - find the best price per side across books.
- **Sharp money research** - compare ticket and money percentages against line movement.
- **Betting models** - build a price history by running on a schedule.
- **Sports media and apps** - show current lines next to fixtures.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `leagues` | array | `nba`, `nfl`, `nhl` | League slugs as used on actionnetwork.com. |
| `date` | string | - | Day to read, as `YYYY-MM-DD`. For leagues listed by week (NFL, college football) it returns that whole week. |
| `books` | array | the league's own list | Sportsbooks by name or Action Network id, such as `draftkings` or `79`. |
| `maxGames` | integer | `100` | Games to take from each league (1-500). |
| `proxyCountry` | string | - | Optional two-letter country code the requests are sent from. |

### Output

One result per game:

```json
{
  "league": "nba",
  "homeTeam": "Atlanta Hawks",
  "awayTeam": "Los Angeles Lakers",
  "id": 295404,
  "status": "scheduled",
  "startTime": "2026-11-10T00:00:00.000Z",
  "consensus": {"moneyline": {"home": {"american": -120, "decimal": 1.833}, "away": {"american": 100, "decimal": 2.0}}},
  "opening": {"spread": {"home": {"line": 2.5, "american": -111, "decimal": 1.901}}},
  "publicBetting": {"moneyline": {"home": {"ticketsPercent": 22, "moneyPercent": 22}}},
  "best": {"moneyline": {"home": {"american": -118, "decimal": 1.847, "books": ["FanDuel NJ"]}}},
  "odds": [{"book": "DK NJ", "bookId": 68, "moneyline": {"home": {"american": -120, "decimal": 1.833}}}]
}
```

A league that cannot be read, or a day with no games, is listed in the run's `ERRORS` key-value record and is not charged.

### Pricing

$2.50 per 1000 games.

# Actor input Schema

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

League slugs as used on actionnetwork.com: nba, nfl, mlb, nhl, ncaaf, ncaab, wnba, soccer.

## `date` (type: `string`):

Optional day to read, as YYYY-MM-DD. Leave empty for the site's current view of each league. For leagues listed by week (NFL, college football) a date returns that whole week.

## `books` (type: `array`):

Optional sportsbooks by name or Action Network id, such as draftkings, fanduel or 79. Leave empty for the books the site shows for each league.

## `maxGames` (type: `integer`):

How many games to take from each league.

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

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

## Actor input object example

```json
{
  "leagues": [
    "nba",
    "nfl",
    "nhl"
  ],
  "maxGames": 100
}
```

# Actor output Schema

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

Collected results

# 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": [
        "nba",
        "nfl",
        "nhl"
    ],
    "maxGames": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/action-network-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": [
        "nba",
        "nfl",
        "nhl",
    ],
    "maxGames": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/action-network-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": [
    "nba",
    "nfl",
    "nhl"
  ],
  "maxGames": 100
}' |
apify call scrapeunblocker/action-network-scraper --silent --output-dataset

```

## MCP server setup

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