# Action Network Odds Scraper — Lines & Public Betting Splits (`hipersoft/actionnetwork-odds-scraper`) Actor

Sports betting odds and public betting splits from Action Network: consensus moneyline, spread and total, % of tickets and % of money on each side, plus DraftKings, FanDuel, BetMGM, Caesars, bet365 lines. NFL, NBA, MLB, NHL, NCAAF, NCAAB, soccer.

- **URL**: https://apify.com/hipersoft/actionnetwork-odds-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.002 / game

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

## Action Network Odds Scraper: Betting Lines & Public Betting Splits

**Action Network Odds Scraper** collects **sports betting odds and public betting splits** from Action Network for the **NFL, NBA, MLB, NHL, college football, college basketball, WNBA, soccer and tennis**. For every game you get the **consensus moneyline, point spread and total**, the **percentage of tickets and percentage of money** on each side, and lines from **DraftKings, FanDuel, BetMGM, Caesars, bet365, BetRivers** and the opening line. Scores, records and status are included too. Export to **CSV, Excel or JSON** for betting models, line shopping and sharp-money tracking.

### What does Action Network Odds Scraper do?

- 🏈 **All major US leagues and more**: NFL, NBA, MLB, NHL, NCAAF, NCAAB, WNBA, MLS, Premier League, soccer and ATP tennis.
- 📊 **Consensus lines**: moneyline, spread (with juice) and total (over/under odds).
- 💸 **Public betting splits**: % of bets (tickets) and % of money on every side of the moneyline, spread and total, which helps you spot sharp-money discrepancies.
- 🏦 **Sportsbook comparison**: lines from DraftKings, FanDuel, BetMGM, Caesars, bet365, BetRivers and the opening line, for line shopping.
- 📅 **Any date range**, or a specific **NFL week**.
- 🏟️ **Game info**: teams, records, start time, status, live or final scores, broadcast network and number of bets tracked.

### What data can you scrape?

| Field | Description |
|---|---|
| `league`, `gameId`, `startTime`, `status` | Game identification |
| `awayTeam`, `homeTeam`, `awayAbbr`, `homeAbbr` | Teams |
| `awayRecord`, `homeRecord` | Team records |
| `awayScore`, `homeScore` | Live/final scores |
| `consensus` | Moneyline home/away, spread home/away with odds, total with over/under odds |
| `publicBetting` | Tickets % and money % for moneyline, spread and total sides |
| `sportsbooks` | Per-book moneyline, spread and total lines |
| `numBets` | Number of bets tracked |
| `broadcast` | TV network |

### Use cases

- **Sports betting models**: daily lines and public splits as model features.
- **Sharp vs. public money**: find games where money % and ticket % diverge (reverse line movement signals).
- **Line shopping**: compare DraftKings, FanDuel, BetMGM and Caesars prices for the best number.
- **Betting content and newsletters**: publish daily odds tables and public betting trends.
- **Historical tracking**: schedule runs to build your own odds history.

### How to scrape betting odds

1. Click **Try for free** to open Action Network Odds Scraper in Apify Console.
2. Pick the **leagues**, a **start date** and **number of days** (or an **NFL week**).
3. Choose the **sportsbooks** to compare.
4. Click **Start** and download the games as **CSV, Excel or JSON**.

### Input

#### Example input

```json
{
  "leagues": ["nfl", "nba", "nhl"],
  "startDate": "2026-10-07",
  "days": 3,
  "sportsbooks": ["draftkings", "fanduel", "betmgm", "caesars"],
  "onlyUpcoming": true
}
```

| Field | Description |
|---|---|
| **Leagues** | NFL, NBA, MLB, NHL, NCAAF, NCAAB, WNBA, soccer, MLS, Premier League, ATP. |
| **Start date / Number of days** | Date range of games. |
| **NFL week** | Collect a specific NFL week instead of dates. |
| **Sportsbooks** | Books to include next to the consensus line. |
| **Only upcoming games** | Skip live and finished games. |

### Output

#### Game example

```json
{
  "gameId": "303097",
  "league": "MLB",
  "startTime": "2026-10-07T20:00:00.000Z",
  "status": "scheduled",
  "awayTeam": "Cleveland Guardians",
  "homeTeam": "Chicago White Sox",
  "consensus": { "moneylineHome": -121, "moneylineAway": 100, "spreadHome": 1.5, "spreadHomeOdds": -207, "total": 8, "overOdds": -102, "underOdds": -116 },
  "publicBetting": { "moneylineHomeTicketsPct": 70, "moneylineHomeMoneyPct": 83, "overTicketsPct": 66, "overMoneyPct": 58 },
  "sportsbooks": [
    { "book": "DK NJ", "moneylineHome": -122, "moneylineAway": 101, "total": 7.5, "overOdds": -118, "underOdds": -102 },
    { "book": "FanDuel NJ", "moneylineHome": -124, "moneylineAway": 106, "total": 7.5, "overOdds": -130, "underOdds": 106 }
  ],
  "numBets": 555,
  "broadcast": "TBS"
}
```

Odds are in American format. Lines may be missing for games far in the future until books post them.

### How much does it cost?

Action Network Odds Scraper uses **pay-per-game** pricing: a small fixed price per game row, with automatic discounts on higher Apify plans. See the **Pricing** tab for the exact price.

### More sports data

- [TennisExplorer Scraper](https://apify.com/hipersoft/tennisexplorer-scraper): ATP/WTA results, fixtures and odds.
- [ESPN Sports Scraper](https://apify.com/hipersoft/espn-sports-scraper): scores, schedules and standings.
- [Flashscore Scraper](https://apify.com/hipersoft/flashscore-scraper): live scores and results.

### FAQ

**What are public betting splits?**
The share of bets (tickets) and the share of money placed on each side of a market. When money % is much higher than tickets %, larger bettors are on that side.

**Which sportsbooks are included?**
DraftKings, FanDuel, BetMGM, Caesars, bet365, BetRivers and the opening line, plus the consensus line.

**Can I get historical odds?**
You can set past dates to get the lines shown for those games. To build a full odds history, schedule the scraper to run regularly.

**Why are some lines empty?**
Books haven't posted lines yet for games far in the future, or the market isn't offered for that league.

**What formats can I export?**
CSV, Excel, JSON, XML, HTML and RSS, or read the results through the Apify API.

**Can I integrate Action Network Odds Scraper with other apps?**
Action Network Odds Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JS/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

**Is it legal?**
The scraper collects publicly displayed odds information. You are responsible for using it in line with Action Network's terms and your local gambling laws.

### Related Actors

- [TennisExplorer Scraper](https://apify.com/hipersoft/tennisexplorer-scraper)
- [ESPN Sports Scraper](https://apify.com/hipersoft/espn-sports-scraper)

### Notes

Original clean-room implementation. Returns only public data; you are responsible for compliance with Action Network's terms. Not affiliated with Action Network.

# Actor input Schema

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

Leagues to collect.

## `startDate` (type: `string`):

First day of games (YYYY-MM-DD). Defaults to today.

## `days` (type: `integer`):

How many days of games to collect from the start date.

## `nflWeek` (type: `integer`):

Optional: collect a specific NFL week instead of dates (e.g. 6).

## `sportsbooks` (type: `array`):

Sportsbooks to include alongside the consensus line.

## `onlyUpcoming` (type: `boolean`):

Skip games that are live or finished.

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

Not required for normal use.

## Actor input object example

```json
{
  "leagues": [
    "nfl",
    "nba"
  ],
  "days": 1,
  "nflWeek": 0,
  "sportsbooks": [
    "draftkings",
    "fanduel",
    "betmgm",
    "caesars"
  ],
  "onlyUpcoming": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

The results as 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 = {
    "leagues": [
        "nfl",
        "nba"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/actionnetwork-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",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/actionnetwork-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"
  ]
}' |
apify call hipersoft/actionnetwork-odds-scraper --silent --output-dataset

```

## MCP server setup

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