# ESPN Scores Scraper — Live Scores, Schedules & Standings (`northbell/espn-scores-scraper`) Actor

ESPN (espn.com) scraper for live sports scores: results, upcoming games with odds and broadcasts, team schedules and league tables for NFL, NBA, WNBA, MLB, NHL, college sports and 20+ soccer leagues. Run it again to see which games changed score or status and how standings moved. No login.

- **URL**: https://apify.com/northbell/espn-scores-scraper.md
- **Developed by:** [Northbell](https://apify.com/northbell) (community)
- **Categories:** Sports, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 game or standings lines

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

## ESPN Scores Scraper — Live Scores, Schedules & Standings

**You pay only for what changed:** set *What to return* to *Only what changed since the last run* and a schedule is charged just for games that are new or changed status or score, and standings lines that moved ($0.50 per 1,000 rows), plus $0.01 per run. A run where nothing changed costs nothing.

Name the leagues — NFL, NBA, WNBA, MLB, NHL, college football and basketball, Premier League, La Liga, Bundesliga, Serie A, Ligue 1, MLS, Champions League and 20 more — and get one clean row per game or per standings line: **score, status, clock, teams and records, winner, venue, TV broadcast and betting line**, or **rank, record, points, streak and games behind**. **$0.50 per 1,000 rows**, no login, no API key.

Run it again, or put it on a schedule, and every row also tells you **what changed since the last run**: games that went from scheduled to live to final (`statusChanged`, `previousStatus`), games whose score moved (`scoreChanged`, `previousHomeScore`), games that are new (`isNew`), and for standings the **rank change** of every team (`rankChange`, positive means moved up). ESPN only shows you the table as it is now; the movement comes from your own runs.

**On Apify's free plan:** the $5 of free credit Apify gives every month covers about 300 runs of the input below as filled in (about 10 games at about $0.015 a run); bigger inputs mean fewer runs.

### What you get

Every row has `type` (`event`, `standing` or `error`), `league` and `observedAt`.

**Games** (`"mode": "scores"` or `"schedule"`)

| Field | What it is |
|---|---|
| `eventId`, `url`, `name`, `date`, `gameDay` | the game, its ESPN page, the start time (ISO, UTC) and the ESPN day it belongs to (US Eastern, `YYYY-MM-DD`) |
| `status`, `statusDetail` | `scheduled`, `in progress`, `final`, `postponed`, `canceled`, `delayed` or `suspended`; and ESPN's own wording (`Halftime`, `Bottom 9th`, `18:17 - 2nd Period`, `FT`) once the game has started |
| `period`, `clock` | the quarter, period, half or inning and the game clock — only while the game is live (`clock` is never set for baseball) |
| `homeTeam`, `awayTeam` | each side: `id`, `name`, `abbreviation`, `score` (`null` before the game starts), `record` and, in college sports, the `rank` in the top 25 |
| `winner` | the winning team's name, `draw` for a level final score, `null` otherwise |
| `venue`, `city`, `state`, `country`, `neutralSite` | where it is played, as ESPN lists it |
| `broadcast` | the TV channels ESPN lists (US listing) |
| `odds` | the betting line ESPN shows for the game, labelled with its `provider` (for example DraftKings): `details` (`DAL -8.5`), `overUnder`, and `homeMoneyline`, `awayMoneyline`, `drawMoneyline`. Seen on games that have not started yet, and only where ESPN shows one |
| `note`, `series`, `seasonType` | a note such as `ALDS - Game 3`; the playoff series state (`CHW lead series 2-1`); `preseason`, `regular season` or `postseason` (`null` where ESPN does not say, as in soccer) |
| `leaders`, `teamStats` | with **Include box-score leaders**: the top performers of each team (`team`, `category`, `value`, `player`) and the team totals (`{"IND": {"Rebounds": "43", …}}`). `null` for a game that has not started |
| `isNew`, `previousStatus`, `statusChanged`, `previousHomeScore`, `previousAwayScore`, `scoreChanged` | the change since your previous run (`null` on the first run) |

**Standings** (`"mode": "standings"`)

| Field | What it is |
|---|---|
| `season`, `seasonType`, `group` | the season (`2026-27`, or `2026` where the season is one calendar year), `preseason` / `regular season` / `postseason` (not set for soccer), and the conference, division or league table the team is in |
| `team`, `abbreviation`, `teamId` | the team |
| `rank` | position in its group (how it is decided is in Notes) |
| `played`, `wins`, `losses`, `ties`, `otLosses` | games played and results; `ties` are draws in soccer; `otLosses` is NHL only |
| `points`, `winPercent`, `gamesBehind` | league points (soccer and NHL), win percentage (not for soccer and NHL), games behind the leader (basketball and baseball) |
| `record`, `homeRecord`, `awayRecord`, `conferenceRecord`, `divisionRecord`, `lastTen`, `streak` | the overall record (`W-L`, `W-L-T`, `W-L-OTL` in the NHL, `W-D-L` in soccer), the splits ESPN lists for the league (`null` where it lists none: soccer tables have no splits or streak, only some leagues have divisions or a last-ten), and the current streak (`W4`) |
| `pointsFor`, `pointsAgainst`, `pointDifferential` | points scored and allowed (goals in soccer) |
| `note` | what the position means in soccer tables (`Champions League`, `Qualifies for round of 16`) |
| `previousRank`, `rankChange`, `previousRecord` | the change since your previous run (`null` on the first run, or when the season changed) |

### Use it for

- **Score alerts and dashboards**: poll live games and react when `scoreChanged` or `statusChanged` is `true`
- **Daily results and schedules**: yesterday's finals and tomorrow's games with TV channels, in a sheet or a database
- **Betting-line tracking**: the line ESPN shows for upcoming games, saved every run
- **Standings tracking**: who is climbing and who is falling, week by week (`rankChange`)
- **Sports apps, newsletters and fantasy tools**: a clean feed instead of parsing ESPN's pages

### Input

Today's NBA and Premier League games:

```json
{ "leagues": ["nba", "eng.1"] }
```

Everything on a weekend, with box-score leaders for the games that have started:

```json
{ "leagues": ["nfl", "college-football"], "dates": "2026-10-10 to 2026-10-12", "includeDetails": true }
```

A team's whole season:

```json
{ "leagues": ["nba"], "mode": "schedule", "teams": ["Pacers"] }
```

League tables, by division:

```json
{ "leagues": ["nfl", "mlb"], "mode": "standings", "standingsByDivision": true }
```

Every 15 minutes during game time, only the games that started, ended or changed score since the last run:

```json
{ "leagues": ["nba", "nhl"], "output": "changes" }
```

With **What to return** set to `changes`, a game is returned when it is new, its status changed (scheduled, live, final) or its score changed, and a standings line when its rank or record moved. Lines that did not change are neither returned nor charged. The first run, and the first run of a new season, return everything. The run summary (`OUTPUT`) counts the lines left out in `unchanged`.

Leave **Dates** empty for today. In schedule mode, **Dates** narrows the season to a range. Use `yesterday`, `tomorrow`, `today+3`, a date such as `2026-10-08`, or a range such as `2026-10-08 to 2026-10-14` (scores mode: up to 31 days; schedule mode takes a longer range, since it only filters the season). **Teams** keeps only games or table lines of those teams: give abbreviations or names (`IND`, `Lakers`, `Arsenal`). Schedule mode needs at least one.

What the Actor remembers (to show the change since the last run) is kept in a named key-value store in your Apify account, so the second run already shows changes. Schedule it (Apify → Schedules) to follow live games or a daily table.

### Pricing

**$0.50 per 1,000 rows** (a row is one game or one standings line), plus $0.01 per run. Error rows (an unknown league, a date ESPN could not answer) are free. The $0.01 run-start fee is charged together with the first result; a run that returns nothing costs nothing. For scale: a day of NBA + NHL games is about 15 rows, a full Saturday of Division I college basketball about 150 rows ($0.075).

**Anonymous usage count:** each finished run leaves one record in our own Apify account, so we can see whether people come back: a one-way hash of your Apify account ID (it cannot be turned back into the ID), the date, and how many results were charged. Never your input, your results or your name. Records are deleted after 90 days.

### Notes

- **Public data only.** The Actor reads ESPN's public site API, the same data behind espn.com score pages. It is not affiliated with or endorsed by ESPN or any league. ESPN can change this API without notice.
- **Days are US Eastern time.** ESPN groups games into days in US Eastern time, so a game that starts at 22:30 ET on Oct 8 belongs to Oct 8 even though it is Oct 9 in UTC, Europe and Asia (`gameDay` tells you the day; `date` is the exact start in UTC). **Empty dates mean today in US Eastern time.** There is no country or language setting. A league with no games on the dates simply returns no rows (the run log says so) — leagues such as the NFL play on few days, so give a range.
- **In scores mode a range costs one ESPN request per day** (ESPN rejects date ranges), so it is limited to 31 days. A month of Division I college basketball is several thousand rows: set a maximum charge on the run to cap the cost.
- **Leagues.** Confirmed on 10/8 for scores and standings: `nfl`, `nba`, `wnba`, `mlb`, `nhl`, `college-football` (FBS), `mens-college-basketball` and `womens-college-basketball` (all Division I games), and the soccer leagues `eng.1`, `eng.2`, `esp.1`, `ger.1`, `ita.1`, `fra.1`, `usa.1`, `mex.1`, `ned.1`, `por.1`, `bra.1`, `arg.1`, `jpn.1`, `uefa.champions`, `uefa.europa`, `fifa.world`. More work as well, for example `eng.3`, `esp.2`, `ger.2`, `ita.2`, `fra.2`, `uefa.europa.conf`, `conmebol.libertadores`, `sco.1`, `usa.nwsl`, `ufl`, `college-baseball`, `nba-development`. Any other ESPN code is tried as given (`hockey/nhl` form, or a soccer code like `tur.1`); a code ESPN does not know returns one error row. Individual sports (tennis, golf, F1, MMA) are not supported.
- **Standings rank.** In the NFL, NHL and college sports `rank` is ESPN's own seed when ESPN gives a complete 1..N seeding (so official tiebreakers apply; in college sports this is the order inside the conference). In soccer it is ESPN's table position. Everywhere else (NBA, WNBA, MLB, and any table without a complete seeding) it is computed from win percentage, ties broken by wins and then point difference, so it can differ from the official order when teams are level. Leagues without a table (cups) return no standings rows. Tables show the season and season type ESPN has current (`season` and `seasonType` say which): during the NBA preseason the records are preseason records, and MLB shows the season just played. Ask for another season with **Season**.
- **Odds** are shown the way ESPN shows them, from the provider named in `odds.provider`, and normally only before the game starts. They are information, not advice. Where ESPN shows none (for example NBA preseason games) the field is `null`.
- **Fields that are only filled in some cases:** `odds` (before the game, where ESPN shows a line; `drawMoneyline` in soccer only), `note` and `series` (playoff and special games), `rank` inside a team (ranked college teams), `state`, `country` and `neutralSite` (as ESPN lists the venue), `broadcast` (when ESPN lists a channel), `leaders` and `teamStats` (Include box-score leaders, started games only). Missing values are `null`, never an empty guess.
- **`score`, `period` and `clock`** are set only when they mean something: `score` is `null` for a scheduled, postponed or canceled game, and `period` and `clock` only while the game is live. `winner` is set once ESPN marks one.
- **No recap headlines.** ESPN's game-recap headlines are left out on purpose: they usually name players, and player names appear in this Actor only inside `leaders`. `note` and `series` appear for playoff and special games.
- **Box-score leaders** (`includeDetails`) cost one extra ESPN request per started game, so a big day takes a few minutes. The player names are public sports figures and appear only inside `leaders`, together with the stat line; nothing else about a person is returned. Team totals (`teamStats`) are left out for baseball, whose box score is organised differently.
- **Team names** are matched on ESPN's data: an abbreviation (ESPN's own: `GS`, `NY`, `WSH`), a team name (`Warriors`), or the beginning of a word in the full name (four letters or more: `Denv` finds Denver, `Den` finds only the team whose abbreviation is DEN). A name that fits several teams (`Los Angeles`) is reported in an error row in schedule mode. If a team you listed has no game on the dates, the run log says "No game found".
- **Schedule mode** reads the regular season and the postseason of NFL, NBA, MLB and NHL teams (not the preseason) and, for soccer, results and fixtures together. Games from both teams of a pairing are returned once. Odds are not in team schedules (and soccer fixtures carry no team records); use scores mode on the game's date.
- **Since the last run** compares with your previous run, per league. A game from an earlier run is forgotten after 21 days unless a later run returns it again, so a team's season schedule keeps its old results. On the first run every change field is `null`. From the second run `isNew` is `true` for a game not seen before and `false` for one that was; the other change fields stay `null` for a new game. If you run with different dates each time the games are different each time, so the change fields mostly stay empty: to follow live games, run it several times on the same day with the same dates.
- Broadcast listings are the US ones; venue names, team names and records are exactly as ESPN has them.

### For AI agents

`{"leagues": ["nba"], "mode": "standings"}` returns the league table: one `standing` row per team with `group`, `rank`, `record`, `winPercent`, `gamesBehind`, `streak`. `{"leagues": ["nfl"], "dates": "2026-10-11"}` returns the `event` rows of that day: `status`, `homeTeam` and `awayTeam` (`name`, `score`, `record`), `odds`, `broadcast`. Rows have `type`: `event`, `standing` or `error`; error rows carry `step` and `message` and are free.

# Actor input Schema

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

One league per line: nfl, nba, wnba, mlb, nhl, college-football, mens-college-basketball, womens-college-basketball, eng.1 (Premier League), esp.1, ger.1, ita.1, fra.1, usa.1 (MLS), uefa.champions, uefa.europa, mex.1, jpn.1 and more. Any ESPN soccer code works, and so does sport/league such as hockey/nhl.

## `mode` (type: `string`):

scores: every game on the dates you give (live, final or upcoming, with odds and broadcasts). schedule: the whole season of the teams you name. standings: the league table.

## `dates` (type: `string`):

Scores mode: a date (2026-10-08 or 20261008), a range (2026-10-08 to 2026-10-12, at most 31 days), or today, yesterday, tomorrow, today+3. Empty means today. Days follow ESPN's calendar, which is US Eastern time. In schedule mode it narrows the season to that range; standings ignore it.

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

Team abbreviations or names, one per line, for example IND, Lakers, Arsenal. Scores and standings keep only these teams. Schedule mode needs at least one team. Up to 50. ESPN abbreviations are not always the usual ones (GS for the Warriors, not GSW), so a name is the safer choice.

## `includeDetails` (type: `boolean`):

Adds the top performers (player name and stat line) and the team totals for every game that has started. One extra request per game, so the run takes longer. Team totals are not available for baseball.

## `season` (type: `integer`):

Schedule and standings only: ESPN's season number. NBA, NHL and WNBA name a season by the year it ends (2026 is 2025-26); NFL, MLB and soccer by the year it starts (2025 is 2025-26 in soccer). Empty means the current season.

## `standingsByDivision` (type: `boolean`):

Standings mode: one table per division (NFL, MLB, NHL and NBA) instead of one per conference or league.

## `output` (type: `string`):

Only what changed: games that are new, changed status (scheduled, live, final) or changed score, and standings lines whose rank or record moved. The first run, and the first run of a new season, return everything. Lines that did not change are not returned and not charged.

## Actor input object example

```json
{
  "leagues": [
    "nba",
    "eng.1"
  ],
  "mode": "scores",
  "includeDetails": false,
  "standingsByDivision": false,
  "output": "all"
}
```

# Actor output Schema

## `events` (type: `string`):

Scores, status, teams, odds, broadcasts and the change since the last run.

## `standings` (type: `string`):

League tables with rank, record, points and the rank change since the last run.

# 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",
        "eng.1"
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("northbell/espn-scores-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",
    "eng.1"
  ]
}' |
apify call northbell/espn-scores-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,northbell/espn-scores-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/4aBsSrMDpc550fHmK/builds/8fjEekfoVvaMkK19c/openapi.json
