ActorStack.dev
Sports dataReference

The ESPN hidden API: the endpoints espn.com uses, and how they behave

Scoreboard, summary, teams, rosters, standings, news and athlete stats: the paths, what each returns, and the quirks measured on them — ranges rejected, seasons substituted, news capped.

By Oswaldo Carabano8 min read

Short answer

The ESPN hidden API is the set of undocumented JSON endpoints behind espn.com, spread over three hosts: site.api.espn.com for scoreboards, game summaries, teams, rosters, standings and news; site.web.api.espn.com for athlete statistics; and sports.core.api.espn.com for the catalogue of 17 sports and 360 leagues. All answer plain GET requests without a key. Measured on 18 November 2026, they have quirks a client must handle: a scoreboard date range returns HTTP 400, so games are read one day at a time; the standings endpoint answers a season it lacks with another season's table; news stops at 50 articles per request; and athlete statistics return 404 for soccer. An invented query parameter is silently ignored.

Key points

  • ESPN's scoreboard endpoint returns HTTP 400 for a date range such as `dates=20261110-20261117`, so a season of games has to be read one day at a time.
  • ESPN's standings endpoint ignores a season it does not have: a request for season 1800 returned the 2027 table on 18 November 2026.
  • ESPN's news endpoint returned 50 articles when asked for 100 on 21 November 2026, so 50 is the per-request ceiling.
  • ESPN's athlete statistics endpoint answers 404 for soccer players, whose season stats come with the team roster instead.
  • ESPN's endpoints silently ignore an invented query parameter, so a filter that looks accepted can return the unfiltered result.
  • ESPN's core sports endpoint listed 17 sports and 360 leagues on 18 November 2026, and every one of the 360 answered the scoreboard endpoint.
On this page6 sections

This is a reference for the JSON endpoints behind espn.com, with what each returns and the behaviour measured on it. Nothing here is documented by ESPN. The surveys were run on 18 November 2026 for the ESPN Sports Data API, and the range, news and unknown-league checks were repeated on 21 November.

Three hosts

site.api.espn.com serves what a page needs: scoreboards, game summaries, teams, rosters, standings and news. site.web.api.espn.com serves athlete statistics. sports.core.api.espn.com serves the catalogue — sports, leagues and long lists of references to athletes and events. All three answered a plain GET with JSON, without special headers.

The endpoints

DataPathMeasured
Games of a day/apis/site/v2/sports/{sport}/{league}/scoreboard?dates=YYYYMMDDNBA 5–12 per day, NFL Sunday 13–15, college football 55
Game summary (box score)/apis/site/v2/sports/{sport}/{league}/summary?event={id}400–420 KB; unknown id → 404
Teams/apis/site/v2/sports/{sport}/{league}/teams?limit=1000NBA 30; college football 50 by default, 763 with the limit
Roster/apis/site/v2/sports/{sport}/{league}/teams/{id}/rosterFlat (NBA, soccer) or grouped (NFL, MLB, NHL)
Standings/apis/v2/sports/{sport}/{league}/standings?season=Season it lacks → another season's table
News/apis/site/v2/sports/{sport}/{league}/news?limit=5050 per request at most
Athlete statssite.web.api.espn.com/apis/common/v3/sports/{sport}/{league}/athletes/{id}/statsNBA 3 categories, NFL 5, MLB 4; soccer → 404
Cataloguesports.core.api.espn.com/v2/sports17 sports, 360 leagues

Quirks measured

Date ranges are rejected. dates=20261110-20261117 on the scoreboard returned HTTP 400 on both survey days. A month, dates=202611, returned 100 games, and 215 NBA games with limit=1000. The Actor reads day by day anyway: the day is the unit people ask for, it lets a run stop exactly at its row cap, and a day of scoreboard costs about 11 KB on the wire.

College basketball shows the top 25 by default. The NCAA basketball scoreboard returned 11 games on a test day; with groups=50&limit=500 it returned 68, all of Division I. College football uses groups=80 for FBS and 81 for FCS.

Standings substitute a season. Asked for season=1800, the standings endpoint returned the 2027 table rather than an error. A client that does not compare the season it received with the one it asked for will file one season's table under another. The Actor returns a free season-not-available row instead.

News stops at 50. The NFL news endpoint asked for 100 articles on 21 November 2026 returned 50.

Soccer has no athlete statistics endpoint. It returns 404; the soccer roster already carries each player's season stats.

What an invalid request returns

An unknown league, an unknown sport or a malformed date returned HTTP 400; an unknown game id on the summary returned 404; an unknown team id on the team endpoint returned 200 with an empty object. An invented query parameter, such as zzz=1, was ignored and the normal result came back — so a filter that looks accepted can be doing nothing. Each of those cases is an uncharged error row in the Actor, never an empty success, because an empty success is how a bad league slug becomes a missing season in someone's database.

League slugs

Paths take a sport and a league slug as ESPN's own URLs show them: basketball/nba, football/nfl, soccer/eng.1 for the Premier League, soccer/eng.2 for the Championship, racing/f1. All 360 leagues listed by the catalogue answered the scoreboard on 18 November 2026. Golf, tennis, racing and MMA have events but no teams or rosters; tennis results from a dedicated source are covered in the tennis results guide.

Undocumented means unpromised

None of this is a contract. ESPN can rename a field, move a path or start throttling without notice, and has no reason to tell anyone. The defence is structural: check the shape of every response, turn an unrecognised one into an error rather than a guess, and watch the endpoints daily. Why ESPN offers nothing more official, and what its terms say, is in is there an ESPN API?; what the data holds once parsed is in sports data from ESPN.

Frequently asked questions

Why is it called the ESPN hidden API?
Because ESPN does not document or announce it. The endpoints are the ones espn.com's own pages call for their data, found by watching the site's traffic, and they answer anyone who requests them.
How do I get a whole season of games from ESPN?
Request the scoreboard one day at a time with `dates=YYYYMMDD`, because a date range returns HTTP 400. A month form with a high limit returned 215 NBA games for November, but the ESPN Sports Data API reads day by day so it can stop exactly at the row cap.
Does ESPN's API return betting odds?
Yes, for games that have not finished. The scoreboard carries one provider's line for upcoming games and drops it once a game is final; the game summary keeps the closing line of each sportsbook.

Sources

Every URL below was requested and returned a page on the date shown.

  1. Site declarationchecked 21 Nov 2026
    ESPN NBA scoreboard JSON endpointESPN
  2. Site declarationchecked 21 Nov 2026
    ESPN NFL news JSON endpoint, requested with limit=100ESPN
  3. Site declarationchecked 21 Nov 2026
    espn.com/robots.txtESPN
  4. Operator claimchecked 21 Nov 2026
    ESPN Sports Data API — Actor README and input schemaActorStack / Apify Store
A laptop screen showing a plain text-mode terminal with a command prompt.
SportsExplainer

The ESPN API question

ESPN has no developer programme, but espn.com runs on JSON endpoints that answer without a key. What that means for cost, keys, rate limits, Python and the terms.

9 min
A laptop screen showing a plain text-mode terminal with a command prompt.
SportsMeasured

ESPN sports data coverage

Fill rates for games, box scores, teams, standings, athletes and news over 5,737 rows, where the betting odds go after the final whistle, and what ESPN's data does not hold.

8 min
Aerial view of a vehicle storage lot with cars parked in long, even rows.
coches.netReference

Coches.net data fields

A reference for the 55 fields in a coches.net listing row, each with the percentage of 550 real listings that had it filled, plus the two fields deliberately left out.

7 min