# Get today's sports scores and schedules from ESPN

**Use case:** 

Export yesterday's results, live games and tomorrow's schedule for NBA, NFL, MLB, NHL and the Premier League: teams, score, status, venue, TV channel and the betting line when ESPN lists one. Change the leagues or dates to cover any of 50+ leagues.

## Input

```json
{
  "dataType": "games",
  "leagues": [
    "nba",
    "nfl",
    "mlb",
    "nhl",
    "premier league"
  ],
  "dateFrom": "yesterday",
  "dateTo": "tomorrow",
  "gameStatus": "all",
  "includeDetails": false,
  "includePlays": false,
  "newsLimit": 25,
  "maxItems": 60,
  "onlyNew": false,
  "monitorKey": "default",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "leagueName": {
    "label": "League",
    "format": "text"
  },
  "date": {
    "label": "Start (UTC)",
    "format": "date"
  },
  "name": {
    "label": "Game",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "scoreLine": {
    "label": "Score",
    "format": "text"
  },
  "winner": {
    "label": "Winner",
    "format": "text"
  },
  "venue": {
    "label": "Venue",
    "format": "text"
  },
  "broadcast": {
    "label": "TV",
    "format": "text"
  },
  "odds": {
    "label": "Odds",
    "format": "object"
  },
  "details": {
    "label": "Details",
    "format": "object"
  },
  "url": {
    "label": "ESPN page",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The ESPN Scraper: Scores, Standings, Injuries, Odds & Stats Actor is ready to run with the inputs already set for "Get today's sports scores and schedules from ESPN". [Sign up or log in](https://console.apify.com/create-task-from-example/RwVBUWPq97bfrWiBu) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get today's sports scores and schedules from ESPN" task

The ESPN Scraper: Scores, Standings, Injuries, Odds & Stats Actor will start running based on the input automatically. You can also change all the input fields, like what do you want?, leagues, and more, to match your specific use case.

### 3. Receive the "Get today's sports scores and schedules from ESPN" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as league, start (utc), game, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get today's sports scores and schedules from ESPN" task via API](https://apify.com/panix/espn-sports-scraper.md).

## FAQ

### What does the ESPN scores task return?

One row per game: league, start time, status (scheduled, live or finished), both teams with score, record and quarter or inning scores, winner, venue, TV channel, the betting line when listed and the ESPN link.

### Which leagues can I use?

More than 50: NFL, NBA, WNBA, MLB, NHL, college football and basketball, the Premier League, La Liga, Bundesliga, Serie A, Ligue 1, MLS, the Champions League, F1, NASCAR, ATP, WTA, PGA and UFC. Write the league name or code, one per line.

### Can I get live scores?

Yes. Set Game status to live and run the task on an Apify schedule every minute or two.

### How much does the ESPN scores task cost?

The ESPN tasks cost $1.80 per 1,000 rows on the Apify Free plan and $1.50 on Starter, less on bigger plans, plus $0.001 per run.

### Do I need an ESPN account or API key?

No. The task reads the public data that ESPN shows on its own pages and apps. There is no login, cookie or key.

## About this Actor

This example demonstrates how to use [ESPN Scraper: Scores, Standings, Injuries, Odds & Stats](https://apify.com/panix/espn-sports-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/panix/espn-sports-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/panix/espn-sports-scraper.md

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`).
