ESPN Sports Stats Scraper avatar

ESPN Sports Stats Scraper

Pricing

from $2.00 / 1,000 row delivereds

Go to Apify Store
ESPN Sports Stats Scraper

ESPN Sports Stats Scraper

Collect sports data from ESPN: player season statistics for NFL, NBA, MLB, NHL and college leagues, game scores by date, and team lists. Pay per row.

Pricing

from $2.00 / 1,000 row delivereds

Rating

0.0

(0)

Developer

nanodata

nanodata

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 minutes ago

Last modified

Categories

Features

Limited permissions

Share

Collect sports data from ESPN. Get season statistics for players in the NFL, NBA, MLB, NHL, WNBA and US college leagues, ranked by the statistic you pick. Get game scores for any date, or the list of teams in a league. Each row is one athlete, one game or one team. You pay per row delivered.

The data comes from the public JSON services that espn.com itself uses. No account and no API key are needed.

What you get

Every row has kind (athlete, game or team), league, sport, id, name, url and scrapedAt.

Player statistics (athlete rows)

  • position, positionAbbreviation, age, playerStatus, headshot
  • teamId, teamName, teamAbbreviation
  • season and seasonType
  • stats: a flat map of every statistic ESPN shows for the player, keyed as category.stat, for example passing.passingYards, offensive.avgPoints or batting.homeRuns. Values are numbers. Statistics that do not apply to the player (for example pitching numbers for a batter) are left out.
  • statsRanks: the player's rank in the league for each statistic, same keys, when ESPN shows one

Games (game rows)

  • date, status (for example Final), statusState (pre, in or post), completed
  • homeTeam and awayTeam: id, name, abbreviation, score, record, winner, logo
  • venue, attendance, neutralSite, broadcasts, headline, week, season, seasonType

Teams (team rows)

  • teamId, teamName, teamAbbreviation, location, color, logo

A value the source does not show is null or left out.

Typical uses

  • Fantasy sports tools and draft boards
  • Sports betting research and model training data
  • Dashboards with league leaders and standings inputs
  • Daily score feeds for apps and newsletters
  • Sports journalism and academic data sets

Pricing

You pay per row delivered, plus a small fee for each run.

EventNamePrice
Run start (charged once, together with the first delivered row)actor-start$0.001 per run
One row, whether athlete, game or teamresult-row$0.002 per row ($2.00 per 1,000)

Both row kinds use the same event, result-row. A run that finds nothing is not charged. If you set a maximum cost for the run, the actor stops cleanly once the next row would go over it.

New to Apify? Every account gets a $5 free monthly platform credit, enough for a first test run before you pay anything.

Input

FieldTypeDefaultDescription
modetextathleteStatsathleteStats, scoreboard or teams
leagueslistnflLeague keys, for example nfl, nba, mlb, nhl, wnba, college-football, mens-college-basketball. Soccer keys eng.1, esp.1, ger.1, ita.1, fra.1, usa.1, uefa.champions work in scoreboard and teams mode. You can also write sport/league.
seasonnumbercurrentPlayer statistics: season year, for example 2025
seasonTypetextcurrentPlayer statistics: preseason, regular or postseason
sorttextleague defaultPlayer statistics: the statistic to rank by, as category.stat. Add :asc for ascending order, for example passing.passingYards or offensive.avgPoints.
dateslisttodayScoreboard: days as YYYYMMDD or YYYY-MM-DD, or a range such as 20261101-20261107 (up to 60 days)
maxItemsnumber100Maximum rows in total, up to 10,000

How the modes work:

  • athleteStats reads the league statistics list page by page, 50 players per page, in the order of your sort. With several leagues, they are read one after the other.
  • scoreboard reads the games of each date for each league. One request per league and day. A range such as 20261101-20261107 is read day by day, up to 60 days.
  • teams reads the team list of each league.
  • Number fields also accept numbers written as text, for example "50".
  • Started with no input, the actor returns a sample of 20 NFL players.

Example: top NFL passers

{
"mode": "athleteStats",
"leagues": ["nfl"],
"sort": "passing.passingYards",
"maxItems": 100
}

Example: NBA scoring leaders from last season

{
"mode": "athleteStats",
"leagues": ["nba"],
"season": 2026,
"seasonType": "regular",
"sort": "offensive.avgPoints",
"maxItems": 50
}

Example: one week of NFL and Premier League games

{
"mode": "scoreboard",
"leagues": ["nfl", "eng.1"],
"dates": ["20261101-20261107"]
}

Output sample

{
"kind": "athlete",
"league": "nfl",
"sport": "football",
"id": "4036378",
"name": "Jordan Love",
"url": "https://www.espn.com/nfl/player/_/id/4036378/jordan-love",
"season": 2026,
"seasonType": "Regular Season",
"position": "Quarterback",
"positionAbbreviation": "QB",
"teamId": "9",
"teamName": "Green Bay Packers",
"teamAbbreviation": "GB",
"headshot": "https://a.espncdn.com/i/headshots/nfl/players/full/4036378.png",
"age": 28,
"playerStatus": "Active",
"stats": { "general.gamesPlayed": 8, "passing.completions": 192, "passing.passingYards": 2246, "passing.passingTouchdowns": 16 },
"statsRanks": { "passing.passingYards": 1, "passing.completions": 5 },
"scrapedAt": "2026-11-07T14:30:00Z"
}

Limitations

  • The actor reads what ESPN publishes. Statistics, rosters and scores change during the season, and a row shows the values at scrapedAt.
  • Player statistics are season totals and averages per league, not game logs.
  • athleteStats works for NFL, college football, NBA, WNBA, men's college basketball, MLB and NHL. Soccer leagues have scoreboard and teams only.
  • The statistics in stats depend on the sport. Their names are the ones ESPN uses.
  • Right after a season rolls over, a league may list few players until games are played.
  • Scoreboard shows the games ESPN lists for a day. College leagues can have many games per day, and ESPN may show only a featured part of them.
  • ESPN asks clients to be moderate. The actor waits between requests and stops cleanly if the source keeps refusing or returns errors. Only delivered rows are charged.
  • This actor does not give betting or fantasy advice.

FAQ

Do I need an ESPN account or key? No. The actor reads public data.

Which statistics can I sort by? Any statistic that appears in the stats map, written as category.stat. Run a small sample first to see the names for your league.

Why did I get fewer rows than maxItems? The league list holds fewer players, the dates held fewer games, or the maximum cost you set for the run was reached. The run status message says which.

Why do some players have no value for a statistic? ESPN shows no value for that player, for example a quarterback has no rushing title stat. The key is left out of stats.

Can a run be restarted safely? Yes. Progress is saved after every batch. A restarted run continues where it stopped and does not deliver or charge the same rows twice.

Is this affiliated with ESPN? No. This is an independent tool that reads public data. Please keep your use modest and in line with the terms of the source.

Use with AI agents (MCP)

Connect this actor to any MCP-compatible AI client, such as Claude Desktop, Cursor, VS Code, LangChain or LlamaIndex.

MCP server URL:

https://mcp.apify.com?tools=nanodata/espn-sports-stats-scraper

Example prompt once connected:

"Use espn-sports-stats-scraper to get the top 10 NBA scorers this season with games played and points per game. Return results as a table."

Support

Found a problem or need a field added? Open an issue on the Issues tab. We usually reply within one business day. You can also email contact@nanoscrape.com.