ESPN Box Score Scraper - NBA, NFL, MLB, NHL Player Game Stats
Pricing
from $1.90 / 1,000 stat line returneds
ESPN Box Score Scraper - NBA, NFL, MLB, NHL Player Game Stats
Player and team box scores for every NBA, WNBA, NFL, MLB, NHL and college football and basketball game: points, rebounds, assists, yards, touchdowns, hits, strikeouts, innings, goals, saves, time on ice. One row per player per game, by date, team, player or game. Finished and live games.
Pricing
from $1.90 / 1,000 stat line returneds
Rating
0.0
(0)
Developer
NeverEmpty
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Get the full box score of every game as flat rows, one row per player per game: points, rebounds, assists and minutes in the NBA, passing, rushing and receiving yards in the NFL, hits, runs, strikeouts and innings pitched in MLB, goals, shots, saves and time on ice in the NHL, plus team totals. Pick a date or a date range, a team, a player or a single game, for the NBA, WNBA, NFL, MLB, NHL and college football and basketball.
Box scores feed fantasy lineups, player prop models, daily recap posts, scouting sheets and season stat databases. This Actor puts last night's games into a spreadsheet, database or bot in one run, with every number already split into its own field, so you do not have to copy box scores by hand or pull "8-21" apart into makes and attempts.
What you get
- Every player who played - one row per player per stat group:
points,rebounds,assists,minutes,plusMinusin basketball;passing,rushing,receiving,defensive,kickingand more in football;battingandpitchingin baseball;forwards,defensesandgoaliesin hockey. - Numbers ready to add up - shooting lines such as "8-21" come as
fieldGoalsMadeandfieldGoalsAttempted, innings pitched "5.2" also comes asoutsPitched(17), and times such as "59:35" also come in seconds (timeOnIceSeconds,possessionTimeSeconds). - The game around each line -
gameDate,team,opponent,teamScore,opponentScore,result(W, L or T),homeAway,season,seasonType(preseason, regular season or playoffs) andgameStatus. - Player details -
player,playerId,position,jersey,starterandejected. - Team totals (on by default) - one row per team with totals such as rebounds, turnovers and points in the paint, total yards, third-down conversions and attempts, penalties and possession time, power plays and faceoffs, or team batting, pitching and fielding.
- Players who did not play, if you want them - with the reason (for example coach's decision or injury).
- Live games - a game in progress returns its current numbers with
resultempty, so you can follow a night as it happens.
Leagues
| Sport | Short names |
|---|---|
| Basketball | nba, wnba, ncaab (men's college basketball, Division I) |
| Football | nfl, ncaaf (college football, FBS) |
| Baseball | mlb |
| Hockey | nhl |
Common names work as well: "college football", "college basketball", "cfb", "cbb".
Why this Actor
- The whole night in one run. Give a date (or nothing for yesterday) and every finished game of that day comes back, not one game at a time.
- Only the teams or players you follow.
teamsreads only the games those teams played;playerskeeps only those players' lines. You pay only for the rows returned. - Up to 62 days per run for season backfills: one run per two months builds a full season of player game logs.
- Paste a game page address from espn.com to get just that game.
- Every empty result explains itself in a free row: a day without games, games that have not started or were postponed, an unknown league, a name that matched nothing, a refused or unreadable page.
Input
| Field | What it does |
|---|---|
leagues | One or more short names from the table above. |
startDate | First game day, YYYY-MM-DD (US Eastern date, as on the schedule). Empty = yesterday. |
endDate | Last game day. Empty = the same day as startDate. At most 62 days per run. |
gameIds | Optional game page addresses (https://www.espn.com/nba/game/_/gameId/401909994) or bare game IDs. With games and no dates, only these games are read. |
teams | Only games of these teams, and only their rows. Names, nicknames, cities or abbreviations. |
players | Only these players (name, part of a name, or player ID). Team total rows are left out. |
includeTeamStats | On (default) = add one team total row per team per game. |
includeDidNotPlay | Off (default). On = also add players who did not play, with the reason. |
maxRows | Stop after this many rows. |
Example - every NBA and NHL box score from last night:
{"leagues": ["nba", "nhl"]}
Example - one player's game log for a month:
{"leagues": ["nba"],"startDate": "2026-11-01","endDate": "2026-11-30","teams": ["Magic"],"players": ["Franz Wagner"]}
Output
One row per player per stat group per game:
{"league": "nba","gameId": "401909994","gameDate": "2026-11-17T00:00Z","season": 2027,"seasonType": 2,"gameStatus": "Final","team": "Orlando Magic","teamAbbreviation": "ORL","homeAway": "away","teamScore": 115,"opponent": "Boston Celtics","opponentScore": 105,"result": "W","kind": "player","statGroup": "player","player": "Franz Wagner","playerId": "4566434","position": "F","starter": true,"stats": {"minutes": 38,"points": 21,"rebounds": 8,"assists": 9,"fieldGoalsMade": 8,"fieldGoalsAttempted": 21,"threePointFieldGoalsMade": 0,"threePointFieldGoalsAttempted": 2,"freeThrowsMade": 5,"freeThrowsAttempted": 5,"plusMinus": 14},"gameUrl": "https://www.espn.com/nba/game/_/gameId/401909994","status": "ok"}
gameDate is the start time in UTC, so an evening game in the US carries the next day's date. seasonType is 1 for the preseason, 2 for the regular season and 3 for the playoffs. A team total row has kind: "team", player: null and statGroup team (or team-batting, team-pitching, team-fielding in MLB).
Free rows
Rows with a status other than ok explain an empty or shorter result and are never charged:
| status | Meaning |
|---|---|
no-games | There were no games of that league on that day. |
not-played-yet | The games had not started when the run read them, so there is no box score yet. |
no-box-score | A game was postponed or canceled, or has no player box score. |
no-such-league | A league name was not recognised, or the input had no league. |
invalid-input | A date was not a real YYYY-MM-DD date, the range was backwards or longer than 62 days, or a game could not be recognised. |
no-filter-match | None of the teams or players you asked for were found. |
blocked | The page refused the request after three attempts, or robots.txt did not allow it. |
unreadable | The page did not answer with a readable box score or schedule. |
row-limit-reached | maxRows was reached; the rest were not returned and not charged. |
budget-reached | The run hit the maximum total charge you set; the rest were not returned and not charged. |
Pricing
You pay per row returned (stat-line-returned). An NBA game is about 25 rows with team totals, an NHL game about 40, an NFL game about 85 (one row per player per stat group). Free rows are not charged, and there is no start fee. Use players or turn off includeTeamStats to pay for fewer rows.
Tips
- Schedule a run every morning with no dates: it reads yesterday, so a fantasy or stats sheet stays current on its own.
- Run in the evening with today's date to get live numbers from games in progress.
- Combine
teamsandplayersfor a cheap player game log: only that team's games are read.
More sports and odds data from the same developer
- ESPN Standings Scraper - NBA, NFL, MLB, NHL & Soccer Tables — league tables with wins, losses, streaks and playoff seeds
- Live Sports Scores Scraper - NBA, NFL, MLB, NHL, NCAAF, EPL — live, finished and upcoming games in one row shape
- ESPN Injury Report Scraper & Change Monitor — every current injury report, with a change monitor
- Sports Betting Odds Scraper - NFL, NBA, MLB, Soccer, Line Moves — odds with line moves
- Action Network Scraper - Public Betting Splits Monitor — public betting splits: tickets % and money % per game
- UFC Stats Scraper: MMA Fights, Fighters, Events, Round-by-Round — fight, fighter and round-by-round stats
Thanks for using this Actor
If this Actor saved you time, a short review helps other people find it. If something does not work as expected, open an issue on the Actor page and it will be looked at.