# NFL and NBA standings from ESPN

**Use case:** 

Current NFL and NBA standings from ESPN: wins, losses, ties, win percentage, streak, home and away records and points for and against for every team, by division. Schedule it weekly for a standings table that keeps itself up to date.

## Input

```json
{
  "leagues": [
    "nfl",
    "nba"
  ],
  "mode": "standings",
  "includeDetails": false,
  "standingsByDivision": true,
  "output": "all"
}
```

## Output

```json
{
  "league": {
    "label": "league"
  },
  "season": {
    "label": "season"
  },
  "group": {
    "label": "group"
  },
  "rank": {
    "label": "rank"
  },
  "team": {
    "label": "team"
  },
  "record": {
    "label": "record"
  },
  "played": {
    "label": "played"
  },
  "wins": {
    "label": "wins"
  },
  "losses": {
    "label": "losses"
  },
  "ties": {
    "label": "ties"
  },
  "otLosses": {
    "label": "otLosses"
  },
  "points": {
    "label": "points"
  },
  "winPercent": {
    "label": "winPercent"
  },
  "gamesBehind": {
    "label": "gamesBehind"
  },
  "streak": {
    "label": "streak"
  },
  "previousRank": {
    "label": "previousRank"
  },
  "rankChange": {
    "label": "rankChange"
  },
  "note": {
    "label": "note"
  }
}
```

## How it works

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

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

### 2. Start the "NFL and NBA standings from ESPN" task

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

### 3. Receive the "NFL and NBA standings 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, season, group, 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 and NBA standings from ESPN" task via API](https://apify.com/northbell/espn-scores-scraper.md).

## FAQ

### Which leagues can I add?

NFL, NBA, WNBA, MLB, NHL, college football and basketball, Premier League, La Liga, Bundesliga, Serie A, Ligue 1, MLS, Champions League and about 20 more.

### Can I pay only for what changed?

Set What to return to Only what changed since the last run and schedule the task. It is then charged only for standings lines that moved, $0.50 per 1,000 rows plus $0.01 per run; a run where nothing changed costs nothing.

### Can it also give scores and schedules?

Yes. With mode scores or schedule it returns one row per game with the status (scheduled, in progress, final and so on) and the score.

## About this Actor

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