# Sports Injury Report Scraper — NFL, NBA, MLB, NHL Changes (`yugenox/sports-injury-report-scraper`) Actor

NFL, NBA, WNBA, MLB and NHL injury reports from ESPN: player, team, position, status (out, questionable, IR), injury, side, estimated return date and the latest note. Filter by team, status or position; monitor mode lists only changes since the last run. No login.

- **URL**: https://apify.com/yugenox/sports-injury-report-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Sports, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Sports Injury Report Scraper: NFL, NBA, WNBA, MLB and NHL injuries

Get the **current injury report** for the **NFL, NBA, WNBA, MLB and NHL** from ESPN: every injured player with **team, position, status (Out, Questionable, Doubtful, Day-To-Day, Injured Reserve, 10/15/60-day IL, Suspension), fantasy designation, injury, body side, estimated return date, the latest update note and when it was updated**. One clean row per player, all teams of a league in one go.

Turn on **Only changes since the last run** and schedule it: each run then lists just what changed — players new on the report, status changes (Questionable → Out), updated return dates or notes, and players who came off the report. No login, no cookies, no account.

### What you get

| | |
|---|---|
| **Player** | Name, first / last name, position and abbreviation, ESPN athlete id, player page, headshot, roster status |
| **Team** | Team, abbreviation, nickname, ESPN team id, team page, logo |
| **Injury** | Status as ESPN writes it, a status category for easy filtering, fantasy designation (OUT, QUESTIONABLE, GTD, IR, 60-Day IL …), injury (Ankle, Hamstring, Concussion …), body region, detail (Sprain, Fracture, Surgery …), side, estimated return date |
| **Latest update** | One-line update, full update note, its source, when the entry was last updated |
| **League** | League, sport, season, season type (Regular Season / Postseason), ESPN report time |
| **Monitor mode** | What changed (new / status-changed / updated / removed), the previous status and previous return date, whether the player is still on the report |

### How to use it

1. Pick the **Leagues** (empty = NFL, NBA, MLB and NHL).
2. Optional filters: **Teams** (`KC`, `Chiefs`, `Kansas City Chiefs`, `LAL`, `Lakers`), **Injury statuses**, **Positions** (`QB`, `WR`, `G`, `SP` …), **Updated within (hours)**.
3. Set **Max rows** and run.

By default, players ESPN lists as **Active** (cleared to play, back from injury) are left out — the NFL report carries hundreds of them during the season. Turn on **Include Active players** to get them too.

#### Input examples

Every NBA injury:

```json
{ "leagues": ["nba"] }
```

NFL players ruled Out, Doubtful or Questionable for two teams, newest update first:

```json
{ "leagues": ["nfl"], "teams": ["KC", "Bills"], "statuses": ["out", "doubtful", "questionable"], "sortBy": "newest" }
```

Everything that changed on the four big leagues since the last run (schedule it every 15–60 minutes):

```json
{ "leagues": ["nfl", "nba", "mlb", "nhl"], "onlyChanges": true }
```

Fantasy football: quarterbacks, running backs, wide receivers and tight ends updated in the last 24 hours:

```json
{ "leagues": ["nfl"], "positions": ["QB", "RB", "WR", "TE"], "updatedWithinHours": 24 }
```

### Output example

One NBA row (trimmed):

```json
{
  "league": "NBA",
  "season": "2026-27",
  "seasonType": "Regular Season",
  "teamName": "Atlanta Hawks",
  "teamAbbreviation": "ATL",
  "playerId": "3146557",
  "playerName": "Jock Landale",
  "position": "Center",
  "positionAbbreviation": "C",
  "playerUrl": "https://www.espn.com/nba/player/_/id/3146557/jock-landale",
  "status": "Day-To-Day",
  "statusCategory": "day-to-day",
  "fantasyStatus": "GTD",
  "injuryType": "Hip",
  "injuryLocation": "Torso",
  "injuryDetail": null,
  "injurySide": "Left",
  "returnDate": "2026-11-02",
  "shortComment": "Landale (hip) won't return to Saturday's game against the Pelicans.",
  "longComment": "Landale only logged one minute Saturday before exiting the contest. His next opportunity to get back on the floor will come Monday versus Indiana. …",
  "newsSource": "RotoWire",
  "updatedAt": "2026-11-01T04:52:00.000Z",
  "changeType": null,
  "previousStatus": null,
  "onReport": true,
  "reportUrl": "https://www.espn.com/nba/injuries",
  "scrapedAt": "2026-11-01T20:55:36.728Z"
}
```

In monitor mode the same row would carry `"changeType": "status-changed"` and `"previousStatus": "Questionable"` when the player's status changed since the last run, or `"changeType": "removed"` and `"onReport": false` when the player came off the report.

### Pricing

Pay per result:

- **$0.25 per 1,000 rows** ($0.00025 per player saved, or per change in monitor mode)
- **$0.002 per run** (run start)

A full NBA report (~90 players) costs about $0.025; all five leagues including Active players (~1,250 rows) about $0.32. A monitor run with no changes costs only the run start. You never pay for more rows than **Max rows**, and nothing past your spending limit.

### Use cases

- **Sports betting**: catch Out / Doubtful / Questionable changes before lines move.
- **Daily fantasy (DFS) and season-long fantasy**: start/sit decisions, waiver pickups, lineup locks.
- **Fantasy and betting apps**: feed an injury table or push alerts from the monitor mode.
- **Media and newsletters**: daily injury round-ups per league or per team.
- **Analytics**: build an injury history by scheduling the actor and keeping every run's dataset.

### Tips

- Schedule **Only changes since the last run** every 15–60 minutes for alerts; each monitor remembers its own leagues and filters. Use **Monitor name** to keep two monitors with the same filters apart.
- The first monitoring run lists everyone as `new` — that is the starting point; the next runs list only changes.
- A player who is cleared (back to Active) leaves a monitor that excludes Active players: the player shows up once as `removed` with `onReport: true` and the current status. With **Include Active players** on, the same move is a `status-changed` row instead.
- `statusCategory` groups ESPN's wording (e.g. 10-Day-IL, 60-Day-IL, Injured Reserve → `injured-list`), so one filter works across leagues.
- `returnDate` is ESPN's estimate and moves as news comes in; monitor mode reports those moves as `updated` with the previous date.
- Off-season leagues (e.g. the WNBA in winter) can have short or empty reports — the run says so and costs only the run start.

### FAQ

**How fresh is the data?** Each run reads ESPN's injury reports at that moment; ESPN updates them throughout the day as teams and reporters post news. Every row has `updatedAt` (when that player's entry last changed) and `reportTimestamp`.

**Why are some fields empty?** ESPN doesn't publish every detail for every league: body region and side are often missing for MLB and NHL, Active players have no injury details, and some entries have no note. Missing values are `null`.

**Can I get a single team?** Yes — put its abbreviation, nickname or full name in **Teams**. A team with nobody on the report has no rows.

**Is it legal to scrape ESPN?** This actor only collects publicly available data: the injury reports ESPN shows to anyone on its website without an account. Injury statuses, return estimates and team news are facts that are widely reported. Collecting publicly available data is generally legal, but you're responsible for how you use it, including ESPN's terms and any copyright in the update notes. If you're unsure, check with a lawyer. More on this: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

**Does it access any private data?** No. Everything comes from ESPN's public injury reports. Rows describe professional athletes' publicly reported injury status as ESPN publishes it; there are no contact details, no medical records beyond what is publicly reported, and nothing behind a login.

*This actor is not affiliated with, endorsed by or sponsored by ESPN.*

# Actor input Schema

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

Which injury reports to get. One request per league reads every team's report at once. Empty = NFL, NBA, MLB and NHL.

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

Only players of these teams. An abbreviation, nickname, city or full name: "KC", "Chiefs", "Kansas City Chiefs", "LAL", "Lakers". Empty = every team.

## `statuses` (type: `array`):

Only players with these statuses. Empty = every status except Active (players ESPN lists as cleared or back from injury — turn on "Include Active players" to get them too).

## `includeActive` (type: `boolean`):

Also list players ESPN keeps on the report as Active (cleared to play, back from injury). The NFL report carries hundreds of these during the season.

## `positions` (type: `array`):

Only these positions, as ESPN writes them: an abbreviation (QB, RB, WR, TE, G, F, C, SP, RP, D) or the full name (Quarterback, Goalie). Empty = every position.

## `updatedWithinHours` (type: `integer`):

Only players whose report entry was updated in the last N hours (e.g. 24 for today's news). Empty or 0 = any time. Ignored with "Only changes since the last run".

## `onlyChanges` (type: `boolean`):

Monitor mode for scheduled runs: lists only players who are new on the report, changed status, got an update (injury, return date, note) or left the report since the previous run with the same leagues and filters. Each row says what changed (changeType) and the previous status. The first run lists everyone as new.

## `monitorId` (type: `string`):

Optional. Keeps separate memories for monitors that use the same filters (e.g. "bettors-feed" and "newsletter"). Leave empty if you run one monitor per filter set.

## `sortBy` (type: `string`):

By team (ESPN's order: league, team, then newest entry first) or newest update first across all leagues.

## `maxItems` (type: `integer`):

Maximum rows for the whole run (players, or changes in monitor mode). 0 = no limit.

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

Apify Proxy (datacenter) is the default and comes with every Apify plan. You can also paste your own proxy URLs.

## Actor input object example

```json
{
  "leagues": [
    "nba"
  ],
  "includeActive": false,
  "onlyChanges": false,
  "sortBy": "team",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All saved players (or changes).

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, per-league counts, requests and proxy use.

# 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"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/sports-injury-report-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"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/sports-injury-report-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"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/sports-injury-report-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/sports-injury-report-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/JxgsZxYHstdYdei4y/builds/eSqknGwfMoSz97pyY/openapi.json
