# ESPN Scores, Standings & Odds: NBA, NFL, MLB, NHL, Soccer (`gbm11/espn-scores-standings-odds`) Actor

Scores, schedules, betting lines, standings, teams and news from ESPN for any league and date range. Clean JSON, no login, no proxy.

- **URL**: https://apify.com/gbm11/espn-scores-standings-odds.md
- **Developed by:** [Grant Morris](https://apify.com/gbm11) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.85 / 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

Get scores, schedules, betting lines, standings, teams and news from ESPN for any league and any date range, as clean JSON, CSV or Excel.

No login, no proxy and no browser, so runs are fast and cheap. If a run returns nothing, it fails with a clear message instead of reporting an empty success.

### How to use it

1. Create a free Apify account. No credit card is needed.
2. Open this tool. The form is already filled with a working example.
3. Change the input to what you need and press **Start**. Most runs finish in under a minute.
4. Download the results as JSON, CSV or Excel, or read them through the API.

### How much does it cost to get ESPN scores, standings and odds?

You pay **$1 per 1,000 results** and nothing else. There is no monthly fee, and the computing cost is included in that price.

| Results | Cost |
|---|---|
| 100 | $0.10 |
| 1,000 | $1 |
| 10,000 | $10 |

Apify's free plan includes $5 of credit every month, which covers about 5,000 results.

### What you can get

| Data | Fields |
|---|---|
| Games | teams, scores, period scores, status, start time, venue, attendance, TV, records, spread, over/under, moneylines |
| Game summary (optional) | team box score, game leaders, lines from every listed sportsbook |
| Standings | every stat ESPN shows: wins, losses, win percent, games behind, streak, point differential |
| Teams | id, name, abbreviation, colors, logo |
| News | headline, summary, link, image, publish time |

### Leagues

Write each league as `sport/league`:

- `basketball/nba`, `basketball/wnba`, `basketball/mens-college-basketball`
- `football/nfl`, `football/college-football`
- `baseball/mlb`, `hockey/nhl`
- `soccer/eng.1` (Premier League), `soccer/esp.1`, `soccer/ger.1`, `soccer/ita.1`, `soccer/fra.1`, `soccer/usa.1` (MLS), `soccer/uefa.champions`
- `mma/ufc`, `racing/f1`, `golf/pga`, `tennis/atp`

Any league on ESPN works. The code is the last two parts of the league's ESPN address.

### Example input

```json
{
  "leagues": ["basketball/nba", "football/nfl"],
  "dataTypes": ["games", "standings"],
  "dateFrom": "2026-11-01",
  "dateTo": "2026-11-07"
}
```

### Example output

```json
{
  "type": "game",
  "league": "basketball/nba",
  "name": "Philadelphia 76ers at Chicago Bulls",
  "startTime": "2026-11-08T20:30Z",
  "status": "Final",
  "home": { "name": "Chicago Bulls", "score": 121, "winner": false, "record": "1-8", "linescores": [33, 28, 32, 28] },
  "away": { "name": "Philadelphia 76ers", "score": 127, "winner": true, "record": "9-2", "linescores": [34, 34, 31, 28] },
  "venue": "United Center",
  "odds": { "provider": "ESPN BET", "details": "PHI -4.5", "overUnder": 228.5 }
}
```

Betting lines are present for upcoming and live games. ESPN removes them from most finished games.

### Common uses

- Daily score and schedule feeds for apps, bots and newsletters
- Historical results for models: set a date range covering a season
- Odds snapshots before games start: schedule the tool to run every hour
- Standings tables that refresh on a schedule

### Notes

Dates are read in UTC. One request is made per league per day, plus one per game if you turn on the game summary. This tool is not affiliated with ESPN.

### Use it from Python, Node.js or the API

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("gbm11/espn-scores-standings-odds").call(run_input={
  "leagues": ["basketball/nba", "football/nfl"],
  "dataTypes": ["games", "standings"],
  "dateFrom": "2026-11-01",
  "dateTo": "2026-11-07"
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

More Python and Node.js examples are in the [examples repository](https://github.com/gbmorris1/apify-data-tools-examples).

### Use it with AI agents

Claude, ChatGPT and other AI assistants can run this tool through the Apify MCP server. Add `gbm11/espn-scores-standings-odds` to the server's tool list and ask in plain words. The input form and the output fields are described for the model, so no extra setup is needed.

### Related tools

| Tool | What it does |
|---|---|
| [Google News Scraper](https://apify.com/gbm11/google-news-scraper-search-by-keyword-date-and-country) | News articles by keyword, date range and country. |
| [Google Trending Searches](https://apify.com/gbm11/google-trends-trending-searches-today-by-country) | What people are searching for right now, by country. |
| [Hacker News Scraper](https://apify.com/gbm11/hacker-news-scraper-search-stories-and-comments) | Stories and comments by keyword, date and points. |

See all tools at [apify.com/gbm11](https://apify.com/gbm11).

### FAQ

#### Is it legal to get ESPN scores, standings and odds?

This tool reads only public information that anyone can see without logging in. It does not collect private data. You are responsible for how you use the results, so check the terms of the source and the laws that apply to you.

#### Can I run it on a schedule?

Yes. Save your input as a task, then add a schedule in Apify to run it every hour, day or week.

#### Can I send the results to Google Sheets, Zapier, Make or n8n?

Yes. Apify has ready integrations for all of them, plus webhooks and a REST API.

#### What happens if a run finds nothing?

The run fails with a clear message, so an empty result never looks like a success.

#### Something is not working. What should I do?

Open the Issues tab on this page and describe the input you used. Bugs are fixed there.

# Actor input Schema

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

One per line as sport/league. Examples: basketball/nba, football/nfl, baseball/mlb, hockey/nhl, football/college-football, basketball/mens-college-basketball, basketball/wnba, soccer/eng.1 (Premier League), soccer/esp.1, soccer/usa.1 (MLS), soccer/uefa.champions, mma/ufc, racing/f1.

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

games = scores, schedule and betting lines for the date range. standings, teams and news are current.

## `dateFrom` (type: `string`):

YYYY-MM-DD. Leave empty for today.

## `dateTo` (type: `string`):

YYYY-MM-DD. Leave empty to get a single day.

## `includeGameSummary` (type: `boolean`):

One extra request per game. Adds team statistics, game leaders and all sportsbook lines.

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

Stop after this many rows.

## Actor input object example

```json
{
  "leagues": [
    "basketball/nba",
    "football/nfl"
  ],
  "dataTypes": [
    "games",
    "standings"
  ],
  "includeGameSummary": false,
  "maxItems": 10000
}
```

# Actor output Schema

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

No description

# 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": [
        "basketball/nba",
        "football/nfl"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gbm11/espn-scores-standings-odds").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": [
        "basketball/nba",
        "football/nfl",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gbm11/espn-scores-standings-odds").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": [
    "basketball/nba",
    "football/nfl"
  ]
}' |
apify call gbm11/espn-scores-standings-odds --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gbm11/espn-scores-standings-odds"
        }
    }
}
```

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/OMEoTH8JibcibNfEm/builds/hgJjqU6wHBZpS0phi/openapi.json
