ESPN Sports Scraper - Scores, Schedules, Box Scores, Search
Pricing
from $1.69 / 1,000 matches
ESPN Sports Scraper - Scores, Schedules, Box Scores, Search
ESPN scores, schedules, box scores and search results as flat JSON. Four modes cover 14 leagues (NFL, NBA, MLB, NHL, Premier League); filter by date, team code or event ID. One NFL game summary returned 22 rows (measured 2026-11-03): game, team stats, leaders, scoring plays. No ESPN account.
ESPN Scores Scraper - Scores, Schedules, Box Scores, Search
Get ESPN scores, team schedules, box scores, scoring plays and search results as flat JSON rows. The Actor calls ESPN's public, unauthenticated site API at site.api.espn.com/apis with a Chrome TLS-impersonating client, so there is no ESPN account, login, API key or browser in the setup. Four mode values select the slices: scoreboard, teamSchedule, gameSummary and search. All rows land in one dataset with one overview view of 21 columns; the dataset schema declares 41 field properties, and recordType says what each row is.
Two measurements from 2026-11-03 show the shape of the output. One NFL gameSummary for event 401873026 delivered 22 rows: 1 game, 2 teamStats, 10 leader and 9 scoringPlay. A search run with searchLimit: 10 returned 47 rows, and searchLimit: 50 returned 133, because ESPN applies that limit to each of five result groups. Field-by-field reference: https://keyspace.dev/data-dictionaries/espn-api-scraper/index.html and the 21-column view at https://keyspace.dev/data-dictionaries/espn-api-scraper/overview.html.
What does ESPN Scores Scraper return?
One dataset, one overview view and five recordType values. The game row is the match row whether it came from a scoreboard, a team schedule or the header of a game summary. The other four row kinds are the children of a game summary or a search hit. Columns that belong to another kind are absent rather than null; the schema declares every property as nullable.
recordType | Written by | What one row holds | Main columns | Charge event |
|---|---|---|---|---|
game | scoreboard, teamSchedule, gameSummary header | One match, with team names, scores and winners | All game rows carry eventId, homeTeam, homeAbbr, homeScore, homeWinner, awayTeam, awayAbbr, awayScore and awayWinner. Both shapes can carry seasonYear and week; scoreboard and teamSchedule rows add date, name, shortName, statusState, statusDetail, completed, venueName, venueCity, venueState, attendance and broadcasts. | match |
teamStats | gameSummary | One team's box-score line, with stat names as columns | eventId, team, teamAbbr, homeAway, plus roughly 29 sport-dependent stat keys | team-stats |
leader | gameSummary | One team, category and leading athlete | eventId, team, teamAbbr, category, athlete, position, value | leader |
scoringPlay | gameSummary | One score, with the play text in text | eventId, team, teamAbbr, period, clock, type, text, awayScore, homeScore | scoring-play |
searchResult | search | One match from an ESPN search group | resultType, id, displayName, subtitle, sport, leagueSlug, url | search-result |
The overview table shows 21 of those properties: recordType, resultType, eventId, date, name, statusDetail, homeTeam, homeScore, awayTeam, awayScore, venueName, team, category, athlete, value, period, clock, text, displayName, subtitle and url. The remaining declared fields, including shortName, seasonYear, week, venueCity, venueState, attendance, broadcasts, homeWinner, awayWinner, teamAbbr, homeAway, position, id, sport and leagueSlug, stay in the dataset for API consumers.
A scoreboard row from the shipped example is flat already:
{"recordType": "game","eventId": "401873272","date": "2026-08-13T23:00Z","name": "Detroit Lions at Cincinnati Bengals","statusDetail": "Final","completed": true,"venueName": "Paycor Stadium","venueCity": "Cincinnati","venueState": "OH","homeTeam": "Cincinnati Bengals","homeAbbr": "CIN","homeScore": "16","homeWinner": true,"awayTeam": "Detroit Lions","awayAbbr": "DET","awayScore": "14","awayWinner": false}
Which leagues and teams can I query?
The input schema offers 14 league values. Each one is an ESPN sport/league pair split on the slash before the request goes to site.api.espn.com.
league value | Dropdown label |
|---|---|
football/nfl | NFL (American Football) |
football/college-football | NCAA College Football |
basketball/nba | NBA (Basketball) |
basketball/mens-college-basketball | NCAA Men's College Basketball |
basketball/womens-college-basketball | NCAA Women's College Basketball |
baseball/mlb | MLB (Baseball) |
hockey/nhl | NHL (Hockey) |
soccer/eng.1 | Premier League (Soccer) |
soccer/esp.1 | La Liga (Soccer) |
soccer/ita.1 | Serie A (Soccer) |
soccer/ger.1 | Bundesliga (Soccer) |
soccer/fra.1 | Ligue 1 (Soccer) |
soccer/uefa.champions | UEFA Champions League (Soccer) |
soccer/usa.1 | MLS (Soccer) |
teamSchedule takes ESPN's short team code, not the full name. The input default is dal, the code for the Dallas Cowboys; lal is the Los Angeles Lakers. The code appears in ESPN team URLs such as espn.com/nfl/team/_/name/dal/dallas-cowboys. search mode does not need league.
How do I pick a mode and set its inputs?
Nine input properties are declared and only mode is required. mode, league, teamAbbr, searchLimit and maxItems have schema defaults.
mode | Input used | Default | What the run does |
|---|---|---|---|
scoreboard (default) | league, optional dateFrom, optional dateTo | football/nfl, no dates | Fetches ESPN's scoreboard for one day or a date range. Empty dates mean today. |
teamSchedule | league, teamAbbr | football/nfl, dal | Fetches one team's schedule from ESPN and writes a game row for each event. An NBA team's schedule holds 82 games. |
gameSummary | league, eventIds | football/nfl, empty list | Fetches full detail for each ESPN event id, including box score, leaders and scoring plays. Several ids can go in one run. |
search | query, searchLimit | 10 | Searches ESPN for a team, player, article or other hit. searchLimit accepts 1 to 100 and applies to each of five result groups. |
dateFrom and dateTo are date pickers that take ISO dates such as 2026-11-01. The Actor converts them to ESPN's YYYYMMDD or YYYYMMDD-YYYYMMDD format, validates real calendar dates and rejects a dateTo without dateFrom or a range that ends before it starts. Take eventIds from the eventId column of a scoreboard run. maxItems defaults to 0, which means no limit, and stops the run at the chosen number of delivered rows after duplicate and unresolved rows are removed.
What does one game summary contain?
One ESPN game fans out into up to 22 flat rows: 1 game header, 2 teamStats lines, up to 10 leader rows and up to 9 scoringPlay rows. A run recorded on 2026-11-03 from event 401873026 delivered exactly 22 rows for the Dallas Cowboys' 24-17 win over the Arizona Cardinals in 2026 season, week 9 at AT&T Stadium in Arlington, TX.
| Row kind | Recorded example values |
|---|---|
game | eventId 401873026; homeTeam Dallas Cowboys, homeScore 24, homeWinner true; awayTeam Arizona Cardinals, awayScore 17, awayWinner false |
teamStats | Dallas Cowboys: totalYards 412, turnovers 1, homeAway home. Arizona Cardinals: totalYards 331, turnovers 2, homeAway away. |
leader | Passing Leader Dak Prescott (QB), 287 YDS; Rushing Leader Javonte Williams (RB), 94 YDS; Arizona's Passing Leader Jacoby Brissett (QB), 210 YDS. |
scoringPlay | Period 1, clock 7:12, Passing Touchdown, text Prescott 12 yd pass to Lamb; period 2, clock 1:40, Field Goal, text Prater 41 yd field goal. |
eventId is on the header and every child row, so a pipeline can group all four kinds without parsing ESPN's nested competitions[0].competitors[] objects. teamAbbr and homeAway separate the two box-score lines; category and athlete distinguish leaders; period, clock and text identify a play. The play description is the whole content of a scoringPlay row and appears in the overview view as text.
What does a search run return?
Search rows carry resultType, the group name ESPN assigns to the hit. ESPN returns five groups: team, article, upcoming, replay and clips. searchLimit is set once in the input and ESPN applies it to each group, which is why a limit of 10 produced 47 rows and a limit of 50 produced 133 rows on 2026-11-03.
resultType | Row fields filled | Recorded example |
|---|---|---|
team | id, displayName, subtitle, sport, leagueSlug, url | Dallas Cowboys, id 6, subtitle NFL, sport football, leagueSlug nfl, URL to the ESPN team page |
article | id, displayName, subtitle, url | Cowboys sign QB, id 4477, subtitle 2d, URL to the ESPN story |
displayName, subtitle and url are shown in the overview view. sport and leagueSlug are conditional: team and player hits carry them, article and clip hits do not (7 of 47 rows measured). Use id and url to identify a hit; eventIds for a game summary come from the eventId column of a scoreboard run.
What happens when a request fails or returns nothing?
The Actor separates bad input, ESPN refusing the request and an empty answer. Bad input is handled before the network call: a malformed date, a reversed range, a missing teamAbbr, eventIds or query, and an unknown mode all set a status message starting with Invalid input: and do not mark the run FAILED. ESPN answers an unknown league, date, team code or event id with HTTP 400 or 404; the run then says ESPN has no data for that input and points at the value to check.
| Outcome | Actor behaviour |
|---|---|
| Invalid input | Status message Invalid input: ...; run ends without a FAILED status. |
| ESPN HTTP 400, 404, 410 or 422 | Status message ESPN has no data for that input ...; run ends without a FAILED status. |
| ESPN HTTP 403, 429 or 5xx, transport error, or a 15-second timeout | Run is marked FAILED with ESPN API error: .... |
| ESPN answered but had no rows | Status message ESPN returned no rows for mode=... on sport/league., or ESPN search returned no results for that query. |
Rows are grouped by kind before delivery, duplicated rows are dropped using kind-specific keys, and rows that resolve no identity are skipped. A gameSummary batch sends game rows first and the thin children afterwards, so a run that stops early keeps the match rows. The dataset schema is also used as a guard: a row with a field of the wrong type is dropped before delivery.
How do I read the rows in an agent or a scheduled job?
Input is one JSON object with nine properties. Rows go to the default dataset, which the output schema exposes as {{links.apiDefaultDatasetUrl}}/items; the Dataset tab offers JSON, CSV, Excel and HTML downloads. An agent can choose one mode, read typed fields such as completed, attendance, period and seasonYear, and join game, box-score and play rows on eventId.
The five row kinds map to five charge events: match, team-stats, leader, scoring-play and search-result. A billing audit is written to the key-value store under BILLING_AUDIT at the end of every run, including runs that stop early. The Actor reads ESPN's public data feed and writes nothing back to ESPN. ESPN can change or restrict that feed without notice; if a run starts failing, check the Actor's Issues tab. Use the data in line with ESPN's Terms of Service.
What do people ask about this Actor?
Do I need an ESPN account or API key? No. The input schema has no credential field. The Actor calls ESPN's public site API with a Chrome TLS-impersonating client and no browser, login or cookie.
Does it use ESPN's fantasy endpoints? No. The four calls are /site/v2/sports/{sport}/{league}/scoreboard, /site/v2/sports/{sport}/{league}/teams/{teamAbbr}/schedule, /site/v2/sports/{sport}/{league}/summary and /search/v2. None of them is a fantasy or personalization endpoint.
How many rows does one game summary add? Up to 22: 1 game, 2 teamStats, up to 10 leader and up to 9 scoringPlay. The measured NFL game on 2026-11-03 produced 22. Set maxItems to bound the delivered count; 0 means no limit.
Why did searchLimit: 10 return 47 rows? ESPN applies the limit to each of five result groups (team, article, upcoming, replay, clips), not to the whole response. The same run with searchLimit: 50 returned 133 rows on 2026-11-03.
Can I collect one league or one day? Yes. Pick one of the 14 league values, set dateFrom for a single ISO date and add dateTo for an inclusive range. Leaving both dates empty asks ESPN for today.
What happens if my event id or team code is wrong? ESPN replies with 400 or 404, and the run sets a status message telling you to check the league, date, team abbreviation or event id without marking the run FAILED. A 403, 429 or server error is treated as an upstream failure and the run does fail.
Which field joins a game to its box score and plays? eventId is on the game header and on every teamStats, leader and scoringPlay child. Add teamAbbr to separate the two teams, and category or period to separate leaders or plays.
Where is the full field list? The field-by-field reference is at https://keyspace.dev/data-dictionaries/espn-api-scraper/index.html, and the overview table is at https://keyspace.dev/data-dictionaries/espn-api-scraper/overview.html.