# ESPN Sports Data: Scores, Standings, Injuries & Rosters (`scrapemint/espn-sports-data`) Actor

ESPN data for NFL, NBA, MLB, NHL, college and soccer: live scores with betting lines, standings, injury reports, team rosters, news and teams. One actor, no API key, $0.0015 per row.

- **URL**: https://apify.com/scrapemint/espn-sports-data.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (community)
- **Categories:** Automation, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## 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 Sports Data: Scores, Standings, Injuries & Rosters

Pull ESPN data for the NFL, NBA, MLB, NHL, WNBA, college football and basketball, Premier League, LaLiga, MLS, Champions League and 20+ more leagues. One actor returns **live scores with the betting line**, **standings**, **injury reports**, **team rosters**, **news** and **teams**. No ESPN account, no API key, no browser.

### What you get

Pick one or more data types per run. Every row carries a `dataType` field so mixed runs stay easy to filter.

| dataType | One row per | Key fields |
| --- | --- | --- |
| `game` | game | start time, status, live clock and period, home/away team, score, record, winner, **DraftKings spread, total and moneylines**, venue, TV |
| `standing` | team | group (conference or division), rank, wins, losses, ties, win %, games behind, points for/against, differential, streak, all ESPN stats |
| `injury` | listed player | team, player, position, status (Out, Questionable, Injured Reserve...), injury type, body part, expected return date, latest note |
| `player` | roster player | team, jersey, position, age, height, weight, birthplace, college, experience, active/injured, headshot |
| `news` | article | headline, summary, published time, byline, teams and players tagged, link |
| `team` | team | ESPN team id, name, abbreviation, colors, logo, team page |

### Example input

```json
{
  "leagues": ["nfl", "nba"],
  "dataTypes": ["scores", "injuries"],
  "startDate": "2026-11-27",
  "endDate": "2026-11-30",
  "teams": []
}
```

Leave the dates empty for the current slate (today's games, or this week's games in the NFL). Use `teams` to narrow any data type to a few teams, for example `["Lakers", "KC", "Arsenal"]`.

### Example output (game)

```json
{
  "dataType": "game",
  "league": "nfl",
  "name": "New York Giants at Cincinnati Bengals",
  "startTime": "2026-11-30T18:00Z",
  "status": "Scheduled",
  "homeTeam": "Cincinnati Bengals",
  "homeRecord": "8-3",
  "awayTeam": "New York Giants",
  "bettingLine": { "provider": "DraftKings", "spread": "CIN -9.5", "overUnder": 48.5, "homeMoneyline": -579, "awayMoneyline": 435 },
  "venue": "Paycor Stadium",
  "broadcast": "CBS"
}
```

### Supported leagues

`nfl`, `ncaaf`, `nba`, `wnba`, `ncaab`, `ncaaw`, `mlb`, `nhl`, `epl`, `championship`, `laliga`, `serie a`, `bundesliga`, `ligue 1`, `eredivisie`, `mls`, `liga mx`, `ucl`, `uel`, `ufc`, `pga`, `f1`, `nascar`, `atp`, `wta`. Any other ESPN league works as a `sport/league` path, for example `soccer/bra.1` for the Brasileirão.

### Who uses it

- **Bettors and model builders**: the slate, the line and the injury report in one pull, before every game day.
- **Fantasy players**: injuries with expected return dates and full rosters.
- **Apps, bots and dashboards**: scores, standings and news without maintaining six ESPN endpoints.
- **AI agents**: one tool call answers "who is playing tonight, who is hurt, and what is the spread".

### Pricing

**$0.0015 per row.** The first row of every run is free. Notes for unknown leagues, days without games or off-season injury reports are free. A full NFL injury report (about 450 players) costs about 68 cents; a night of NBA scores costs under 2 cents.

### FAQ

**Is there a betting line on every game?** ESPN shows the DraftKings line before a game starts. Live and finished games usually have no line, so `bettingLine` is null there.

**How fresh is the data?** Every run reads ESPN live. Scores update during games; injury reports update as teams file them.

**Can I get past seasons?** Scores: yes, set `startDate` and `endDate` (up to 31 days per run). Standings, injuries and rosters are current only.

**Do I need a proxy or an API key?** No.

### Related actors

- [Sports Odds Scraper: DraftKings, Pinnacle & Bovada](https://apify.com/scrapemint/sports-odds-scraper): three sportsbooks side by side with best price and arbitrage
- [Public Betting Splits: % of Bets vs % of Money](https://apify.com/scrapemint/public-betting-splits): where the public and the sharp money are on every game
- [Player Prop Bets: Odds by Player, Stat and Line](https://apify.com/scrapemint/sportsbook-player-props): player props from the sportsbooks
- [MLB Stats & Statcast](https://apify.com/scrapemint/mlb-stats-statcast): season stats and Statcast quality of contact for every MLB player

# Actor input Schema

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

League names such as nfl, nba, mlb, nhl, wnba, ncaaf, ncaab, epl, laliga, mls, ucl, ufc, pga, f1, or any ESPN path like soccer/bra.1.

## `dataTypes` (type: `array`):

Pick one or more. Scores include ESPN's spread, total and moneyline where published.

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

Scores only. YYYY-MM-DD. Leave empty for the current slate (today's games, or this week in the NFL).

## `endDate` (type: `string`):

Scores only. YYYY-MM-DD. Up to 31 days after the from date.

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

Optional. Team names or abbreviations, e.g. Lakers, KC, Arsenal. Leave empty for every team.

## `newsLimit` (type: `integer`):

News only.

## `maxRows` (type: `integer`):

Stop after this many rows.

## Actor input object example

```json
{
  "leagues": [
    "nfl",
    "nba"
  ],
  "dataTypes": [
    "scores",
    "injuries"
  ],
  "teams": [],
  "newsLimit": 25,
  "maxRows": 1000
}
```

# Actor output Schema

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

Games, standings, injuries, players, news and teams.

## `summary` (type: `string`):

Leagues, data types and row counts.

# 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"
    ],
    "dataTypes": [
        "scores",
        "injuries"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/espn-sports-data").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",
    ],
    "dataTypes": [
        "scores",
        "injuries",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapemint/espn-sports-data").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"
  ],
  "dataTypes": [
    "scores",
    "injuries"
  ]
}' |
apify call scrapemint/espn-sports-data --silent --output-dataset

```

## MCP server setup

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

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/gOR2OWItXc0fVqpQI/builds/8uXKcuWZKZRyNlCMz/openapi.json
