# NFL scores from the last 7 days

**Use case:** 

Returns the NFL games finished in the last 7 days from ESPN's scoreboard: kick-off time, teams, final scores, venue, broadcasters and game link. Schedule it weekly for a complete results round-up, or daily during the season.

## Input

```json
{
  "mode": "scoreboard",
  "leagues": [
    "nfl"
  ],
  "daysBack": 7,
  "daysAhead": 0,
  "statusFilter": "finished",
  "includeDetails": false,
  "newsLimit": 25,
  "monitorMode": false,
  "monitorStoreName": "espn-sports-monitor",
  "maxResults": 40
}
```

## Output

```json
{
  "leagueName": {
    "label": "League",
    "format": "text"
  },
  "startTime": {
    "label": "Start",
    "format": "date"
  },
  "shortName": {
    "label": "Game",
    "format": "text"
  },
  "away.name": {
    "label": "Away",
    "format": "text"
  },
  "away.score": {
    "label": "Away score",
    "format": "number"
  },
  "home.name": {
    "label": "Home",
    "format": "text"
  },
  "home.score": {
    "label": "Home score",
    "format": "number"
  },
  "result": {
    "label": "Winner",
    "format": "text"
  },
  "status.detail": {
    "label": "Status",
    "format": "text"
  },
  "venue.name": {
    "label": "Venue",
    "format": "text"
  },
  "broadcasts": {
    "label": "TV",
    "format": "array"
  },
  "gameUrl": {
    "label": "ESPN",
    "format": "link"
  }
}
```

## How it works

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

The ESPN Scraper & API: Scores, Box Scores, Standings, Schedules Actor is ready to run with the inputs already set for "NFL scores from the last 7 days". [Sign up or log in](https://console.apify.com/create-task-from-example/3g7elgiplmsyZKleS) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "NFL scores from the last 7 days" task

The ESPN Scraper & API: Scores, Box Scores, Standings, Schedules Actor will start running based on the input automatically. You can also change all the input fields, like what to get, leagues, and more, to match your specific use case.

### 3. Receive the "NFL scores from the last 7 days" 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, 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 "NFL scores from the last 7 days" task via API](https://apify.com/localwire/espn-sports.md).

## FAQ

### What does the "NFL scores from the last 7 days" task return?

The "NFL scores from the last 7 days" task returns one record per game: league, start time, teams and scores, result, status, venue, broadcasters and game link.

### Can the NFL scores task include upcoming games?

Yes. Set statusFilter to all and raise daysAhead in the NFL scores task to add scheduled games with their kick-off times and broadcasters.

### How do I run the "NFL scores from the last 7 days" task on a schedule or from code?

Copy the "NFL scores from the last 7 days" task to your Apify account, then add a schedule in Apify Console or start it with the Run task API endpoint. Results download as JSON, CSV or Excel.

## About this Actor

This example demonstrates how to use [ESPN Scraper & API: Scores, Box Scores, Standings, Schedules](https://apify.com/localwire/espn-sports.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/localwire/espn-sports.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/localwire/espn-sports.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`).
