ESPN Sports Stats Scraper
Pricing
from $2.00 / 1,000 row delivereds
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.
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,headshotteamId,teamName,teamAbbreviationseasonandseasonTypestats: a flat map of every statistic ESPN shows for the player, keyed ascategory.stat, for examplepassing.passingYards,offensive.avgPointsorbatting.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 exampleFinal),statusState(pre,inorpost),completedhomeTeamandawayTeam: id, name, abbreviation, score, record, winner, logovenue,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.
| Event | Name | Price |
|---|---|---|
| Run start (charged once, together with the first delivered row) | actor-start | $0.001 per run |
| One row, whether athlete, game or team | result-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
| Field | Type | Default | Description |
|---|---|---|---|
mode | text | athleteStats | athleteStats, scoreboard or teams |
leagues | list | nfl | League 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. |
season | number | current | Player statistics: season year, for example 2025 |
seasonType | text | current | Player statistics: preseason, regular or postseason |
sort | text | league default | Player statistics: the statistic to rank by, as category.stat. Add :asc for ascending order, for example passing.passingYards or offensive.avgPoints. |
dates | list | today | Scoreboard: days as YYYYMMDD or YYYY-MM-DD, or a range such as 20261101-20261107 (up to 60 days) |
maxItems | number | 100 | Maximum rows in total, up to 10,000 |
How the modes work:
athleteStatsreads the league statistics list page by page, 50 players per page, in the order of yoursort. With several leagues, they are read one after the other.scoreboardreads the games of each date for each league. One request per league and day. A range such as20261101-20261107is read day by day, up to 60 days.teamsreads 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.
athleteStatsworks for NFL, college football, NBA, WNBA, men's college basketball, MLB and NHL. Soccer leagues have scoreboard and teams only.- The statistics in
statsdepend 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-scraperto get the top 10 NBA scorers this season with games played and points per game. Return results as a table."
Related Actors
- Transfermarkt Scraper: Football Players and Market Values: Read the public Transfermarkt player lists: the valuable players, the valuable players of a competition or the squad of a club.
- Kalshi Markets Scraper: Collect Kalshi prediction markets: prices, volume, open interest, rules, close times and category.
- Polymarket Markets Scraper: Get Polymarket prediction markets with outcome prices, volume, liquidity, bid and ask, dates, tags and event data.
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.