# ESPN Scores Scraper - Games, Standings and Injuries (`scrape_api/espn-scores`) Actor

Collect ESPN scores, schedules, standings and current injury reports for NFL, NBA, MLB, NHL, NCAA and major soccer leagues. Filter by date, team and status, with available odds on each game row.

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

## Pricing

$1.00 / 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

## ESPN Scores Scraper

ESPN Scores Scraper collects scores, schedules, standings and current injury reports from ESPN. Choose your leagues, select a mode and export structured records for fantasy tools, sports news coverage, research and dashboards.

The actor supports NFL, NCAAF, CFL, UFL, NBA, WNBA, NCAA men's and women's basketball, MLB, college baseball, NHL, MLS, NWSL, English Premier League, Championship, La Liga, Bundesliga, Serie A, Ligue 1, Eredivisie, Liga MX and UEFA Champions League. CFL supports games only: ESPN does not provide CFL standings. Injury reporting has narrower coverage, described below.

### What ESPN Scores Scraper returns

Every record has a source, collection timestamp, sport, league and record type. Games use `row_type: match`; standings use `standing`; injury reports use `injury`. The `_type` field repeats that discriminator. The stable `row_id` distinguishes records across leagues and record types.

Match records contain the ESPN game ID, scheduled UTC start, both teams, normalized status and available scores. Additional columns include venue, broadcasts, season, football week, team records and period scores. Scheduled games have null scores, even when ESPN supplies zero before play begins. Live games retain the score available when collected.

When ESPN shows a betting line, the same match record includes its provider, spread, total and available American moneyline prices. These are optional columns, rather than additional records. Lines often disappear after a game finishes, so this actor does not promise historical odds or continuous price history. Missing odds remain null. Availability and timing depend on ESPN.

Standing records contain team, competition, season, reported group, wins, losses, draws and the reported rank or playoff seed. The season label comes from the standings themselves, such as 2026 or 2026-27. When ESPN splits a conference into divisions, `group` remains the conference in which the seed applies, and `division` preserves the division name. Rank comes from the source statistic, rather than the order ESPN lists teams. Competition points are populated for soccer and ice hockey; unrelated statistics from other sports are retained separately. The `stats` object preserves ESPN's displayed standings statistics.

Injury records contain player, team, availability status, injury type, report update time, expected return date and source commentary when available. Player IDs are extracted from ESPN's player links. ESPN's `Active` status means the player remains on the report while available to play; it does not mean every player on the team is returned.

### Input

The required `leagues` array accepts one to ten league names. Select `mode: games`, `standings` or `injuries`. The default mode is games. For example, this input selects the NFL game day represented in the included source fixture:

```json
{"leagues":["nfl"],"date":"2026-10-29"}
```

For games, `date` is a US Eastern calendar day. Omitting dates selects today in America/New_York. A game starting after midnight UTC can therefore belong to the previous date in the input. Output timestamps are UTC. Supply both `start_date` and `end_date` for an inclusive range of up to 92 days. Date and range inputs cannot be combined.

Football leagues additionally accept `week`, optional `season` and `season_type` with preseason, regular or postseason. A week cannot be combined with date fields. Standings accept a season year. Injury feeds describe current availability and do not support historical dates.

The optional `team` accepts an ESPN team ID or abbreviation. The filter applies within each selected league. `status` filters games to scheduled, live or final results. `injury_status` accepts case insensitive source statuses, and `include_active_injuries: false` removes Active entries. NCAA games use Division I basketball or FBS football by default; disable `ncaa_division_1` to use ESPN's default coverage.

### Example output

This is a real row from a live NFL game collected with the input shown above (trimmed to the main columns; every record also carries the odds, record and period-score columns):

```json
{
  "row_type": "match",
  "match_id": "401873023",
  "name": "Carolina Panthers at Green Bay Packers",
  "start_time": "2026-10-30T00:15:00Z",
  "status": "live",
  "status_detail": "7:43 - 3rd Quarter",
  "venue_name": "Lambeau Field",
  "home": "Green Bay Packers",
  "home_score": 20,
  "away": "Carolina Panthers",
  "away_score": 10,
  "broadcasts": ["Prime Video"]
}
```

### Use cases

- **Fantasy tools:** refresh Questionable and Out statuses before kickoff and join them to your own player tables through the player ID.
- **News desks:** pull the day's finished games, final scores and venues for recaps, or standings for weekly league tables.
- **Betting models:** collect the spread, total and moneyline columns that ESPN displays alongside each scheduled game, and keep your own timestamped history.
- **Dashboards and research:** export a date range of games for one team to build schedules, form tables and season summaries.

### Compared with other ESPN scrapers

Many Store actors cover a single feed: only scores, only injuries or only standings. This actor returns all three record types from one input, in one dataset, with a shared `row_type` and `row_id`, so a single schedule needs no extra joins. It charges per delivered row only, and an empty search costs nothing. It does not offer play-by-play, box scores or historical odds.

### Output and continuation

Results are written as dataset rows and can be exported in formats supported by Apify. `max_items` limits delivered rows across the whole run and defaults to 500, with a maximum of 5,000. Reaching the requested limit completes the request even if additional source records exist.

Large date ranges are collected in bounded portions. Apify follows continuation automatically with the original input and stops at the total row limit. API consumers using a returned `next_cursor` must repeat the original filters and limit unchanged. A warning and `partial: true` indicate unfinished work. If a source request fails after earlier rows were collected, those earlier rows remain available and continuation retries the missing portion.

These feeds change during play and as injury reports are updated. A continuation run is a fresh source read, rather than a frozen historical snapshot. Previously delivered record identities are retained to avoid duplicate delivery within that request.

### Pricing

One result event corresponds to one delivered dataset row, whether it is a match, standing or injury. Odds columns do not create additional billable rows. Empty searches deliver no rows and incur no result events. Consult the actor's displayed pricing for the current event price. The free user limit is ten delivered rows per run. Larger collections require a paid Apify account and remain subject to the requested `max_items` limit.

### FAQ

#### Which leagues provide injury reports?

Injury mode supports NFL, NCAAF, NBA, WNBA, MLB and NHL. NCAA football coverage can be sparse. Soccer, NCAA basketball and college baseball injury feeds are not offered by this actor because the source does not supply a usable report there.

#### Can I get a complete season in one run?

Use inclusive date ranges of up to 92 days, or football week selection. Split longer seasons into separate ranges. Standings can select a season directly. The dataset limit applies to the whole run, so choose a sufficient `max_items` value for the requested collection.

#### Are the scores and injury statuses guaranteed to be current?

They reflect ESPN's public response at collection time. ESPN can cache, revise or remove records. The collection timestamp identifies when the actor read the feed; an injury's reported timestamp identifies the source's update time. This actor is not an official ESPN service and provides no guaranteed update interval.

#### Why did a team search return no results?

The team may have no game on the selected US Eastern day, no matching injury status or no report in that league. Confirm the league and ESPN abbreviation or team ID, then widen the filters. Missing data is not filled with estimated rows.

# Actor input Schema

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

Select games, standings or current injury reports. ESPN does not provide CFL standings.

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

One to ten supported league names. NCAA games include Division I by default.

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

Games on one US Eastern calendar day, YYYY-MM-DD. Defaults to today in America/New_York.

## `start_date` (type: `string`):

First US Eastern game day, inclusive. Requires end_date; at most 92 days.

## `end_date` (type: `string`):

Last US Eastern game day, inclusive. Requires start_date.

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

ESPN season year for standings or football week selection. NBA/NHL game seasons use the ending year.

## `season_type` (type: `string`):

Football week season type; used with week.

## `week` (type: `integer`):

Football week for NFL, NCAAF, CFL or UFL. Cannot be combined with date fields.

## `team` (type: `string`):

ESPN team ID or abbreviation, such as 9 or GB. Applies independently within every selected league.

## `status` (type: `string`):

Games filter. final selects finished matches; scheduled and live select those normalized statuses.

## `injury_status` (type: `array`):

Current injury status filter, case insensitive. Empty includes all statuses.

## `include_active_injuries` (type: `boolean`):

Include players still on the report with ESPN status Active.

## `ncaa_division_1` (type: `boolean`):

Use Division I for NCAA basketball and FBS for NCAAF. False uses ESPN default top-25 coverage.

## `max_items` (type: `integer`):

Maximum delivered rows across the complete request, including all continuation pages. Keep unchanged when continuing.

## `cursor` (type: `string`):

Opaque next_cursor. Repeat the original input unchanged. Apify follows continuation automatically.

## Actor input object example

```json
{
  "mode": "games",
  "leagues": [
    "nba"
  ],
  "date": "2026-10-29",
  "season_type": "regular",
  "status": "all",
  "injury_status": [],
  "include_active_injuries": true,
  "ncaa_division_1": true,
  "max_items": 500
}
```

# Actor output Schema

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

No description

## `output` (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 = {
    "leagues": [
        "nba"
    ],
    "date": "2026-10-29"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrape_api/espn-scores").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"],
    "date": "2026-10-29",
}

# Run the Actor and wait for it to finish
run = client.actor("scrape_api/espn-scores").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"
  ],
  "date": "2026-10-29"
}' |
apify call scrape_api/espn-scores --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrape_api/espn-scores"
        }
    }
}
```

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/fwhygMv0yH3bG7NQX/builds/vo4iEXNTpkjZfKHnV/openapi.json
