# Sports Injury Reports API (NFL, NBA, MLB, NHL, WNBA) (`wyle/sports-injury-reports-api`) Actor

Real-time sports injury reports across NFL, NBA, MLB, NHL, and WNBA. Extract injured player status (Out, Questionable, Day-to-Day), injury types, return estimates, analyst notes, and fantasy status with zero browser overhead.

- **URL**: https://apify.com/wyle/sports-injury-reports-api.md
- **Developed by:** [Willy Lengkong](https://apify.com/wyle) (community)
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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.
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

## 🏥 Sports Injury Reports API (NFL, NBA, MLB, NHL, WNBA)

An ultra-fast, HTTP-only Apify Actor that extracts real-time sports injury reports across major sports leagues including **NFL, NBA, MLB, NHL, and WNBA**.

Designed for daily fantasy sports (DFS) players, sports betting algorithms, sports analytics platforms, and automated lineup optimizers.

***

### ⚡ Features

- **Multi-League Coverage**: Support for NFL, NBA, MLB, NHL, WNBA, and College Football (NCAAF).
- **Comprehensive Injury Data**: Extract diagnosis, injury type (e.g. Ankle, Knee, Hamstring), side (Left/Right), return date projections, and fantasy status (GTD, O, IR).
- **Analyst & Beat Writer Notes**: Includes the latest injury updates, medical notes, surgery reports, and quotes from sources like RotoWire and team beat writers.
- **Zero Browser Overhead**: HTTP-only direct JSON ingestion. Execution takes **< 3 seconds** for entire league rosters.
- **Granular Filters**: Filter by league, team abbreviation, injury status (`Out`, `Questionable`, `Doubtful`, `Day-to-Day`), and player name.

***

### 📥 Input Parameters

| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| `leagues` | Array of String | No | Target leagues to scrape. Default: all major leagues. | `["NBA", "NFL", "MLB", "NHL", "WNBA"]` |
| `statuses` | Array of String | No | Filter by injury status. | `["Out", "Questionable", "Doubtful"]` |
| `teams` | Array of String | No | Filter by team names or abbreviations. | `["LAL", "BOS", "KC", "SF"]` |
| `athletes` | Array of String | No | Filter by specific player names or fragments. | `["Patrick Mahomes", "Luka Doncic"]` |
| `maxItems` | Integer | No | Maximum number of records to return. Default: `2000`. | `500` |
| `proxyConfiguration` | Object | No | Apify proxy configuration (residential/datacenter). | `{ "useApifyProxy": true }` |

#### Example Input

```json
{
  "leagues": ["NBA", "NFL"],
  "statuses": ["Out", "Questionable"],
  "teams": ["LAL", "KC"],
  "maxItems": 100
}
```

***

### 📤 Output Format

Each record pushed to the dataset represents an injured athlete:

```json
{
  "athleteId": "4712863",
  "athleteName": "Mouhamed Gueye",
  "firstName": "Mouhamed",
  "lastName": "Gueye",
  "jersey": "18",
  "position": "Forward",
  "positionAbbreviation": "F",
  "headshotUrl": "https://a.espncdn.com/i/headshots/nba/players/full/4712863.png",
  "athleteUrl": "https://www.espn.com/nba/player/_/id/4712863/mouhamed-gueye",
  "teamId": "1",
  "teamName": "Atlanta Hawks",
  "teamAbbreviation": "ATL",
  "teamLocation": "Atlanta",
  "teamLogoUrl": "https://a.espncdn.com/i/teamlogos/nba/500/atl.png",
  "league": "NBA",
  "sport": "basketball",
  "injuryStatus": "Day-To-Day",
  "injuryType": "Foot",
  "injuryLocation": "Leg",
  "injuryDetail": "Fracture",
  "injurySide": "Left",
  "returnDate": "2026-10-15",
  "fantasyStatus": "GTD",
  "updateDate": "2026-07-19T00:14Z",
  "shortComment": "Gueye underwent surgery Tuesday to repair a fractured left foot that he suffered during a workout last week.",
  "longComment": "Gueye will be re-evaluated by medical staff in 3-to-4 months, which means he'll miss all of training camp and preseason...",
  "source": "RotoWire",
  "scrapedAt": "2026-09-19T08:28:40.123456+00:00"
}
```

***

### 🎯 Use Cases

1. **DFS Lineup Optimization**: Automatically filter out "Out" or "Doubtful" players in PrizePicks, Underdog Fantasy, DraftKings, and FanDuel lineup builders.
2. **Sports Betting Models**: Track injury news before Vegas lines shift; quantify the point spread impact when star quarterbacks or point guards are ruled out.
3. **Sports Media & News Aggregators**: Power real-time injury tracker widgets and alerts for fantasy leagues and sports publications.
4. **AI Agents**: Provide live injury status to LLM agents for predictive sports intelligence.

***

### 🛡️ Disclaimer

Unofficial scraper collecting publicly accessible sports reporting data. Not affiliated with or endorsed by ESPN or any professional sports league.

# Actor input Schema

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

Select or list leagues to fetch injuries for (e.g. \['NBA', 'NFL', 'MLB', 'NHL', 'WNBA', 'NCAAF']). Leave empty to scrape all major sports.

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

Filter by injury statuses (e.g. \['Out', 'Questionable', 'Doubtful', 'Day-To-Day', 'Injured Reserve']). Case-insensitive.

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

Filter by team names or abbreviations (e.g. \['Lakers', 'BOS', 'Chiefs', 'SF', 'Yankees']).

## `athletes` (type: `array`):

Filter by specific player names or name fragments (e.g. \['Patrick Mahomes', 'Luka Doncic']).

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

Maximum number of injury records to extract.

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

Optional proxy settings. Default runs high-speed direct HTTP requests without proxy overhead.

## Actor input object example

```json
{
  "leagues": [
    "NBA",
    "NFL",
    "MLB",
    "NHL",
    "WNBA"
  ],
  "maxItems": 2000
}
```

# Actor output Schema

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

Dataset containing normalized sports injury reports with athlete profile, team metadata, injury location, status, and reporting sources.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/sports-injury-reports-api").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("wyle/sports-injury-reports-api").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 '{}' |
apify call wyle/sports-injury-reports-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wyle/sports-injury-reports-api"
        }
    }
}
```

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/Ipythg2MqYwoKTuPe/builds/cGaGZajCARDVHTMig/openapi.json
