“ESPN API” is searched as if it were a product with a sign-up page, a key and a rate-limit table. The questions that follow it — is it free, where is the documentation, how do I get a key — all have the same root answer: there is no such product today, and there is something else that works.
ESPN has no developer programme today
Fetched on 21 November 2026, developer.espn.com returned a 127-byte page whose only content is a redirect to ESPN's home page, with a last-modified date of 26 May 2018. The path www.espn.com/apis/devcenter/ returned 404. No sign-up, no key issuance, no terms of an API licence and no documentation were reachable. Whatever ESPN once offered developers, nothing on its own domains offers it now.
What answers instead
espn.com's own pages load their scores, schedules and standings from JSON endpoints, and those endpoints answer anyone. A plain GET to the NBA scoreboard on site.api.espn.com on 21 November 2026 returned the day's games as JSON, with no key, cookie or header beyond the ordinary. The same family covers game summaries with box scores, teams, rosters, standings and news, across 360 leagues in 17 sports. Because they are not announced, they are usually called the ESPN hidden API; the paths and the behaviour measured on each are in the ESPN hidden API endpoints.
Is it free, and do you need a key?
The endpoints themselves cost nothing and take no key: there is no account to create and no quota attached to one. That is also the catch. Nothing is sold, so nothing is promised — no uptime, no versioning, no notice before a field disappears.
What does cost something is the work around them: reading day by day because ranges are rejected, handling seasons ESPN substitutes, flattening nested responses into rows, and noticing when a shape changes. The ESPN Sports Data API does that work and charges per row delivered — $1 per 1,000 games, $3 per 1,000 box scores, $1.50 per 1,000 athletes with season stats, $0.50 per 1,000 standings rows or news articles — with error rows and duplicates free.
Rate limits, measured
ESPN publishes no rate limit for these endpoints, so the only numbers are measured ones. In the developer's tests of November 2026, 600 requests from a local machine — 150 sequential and 450 at a concurrency of 10 — all returned 200, with median latencies of 104 to 220 ms. From Apify, 2,000 requests at a concurrency of 16 produced no throttling response at all, with 8 scattered HTTP 500s on the core catalogue host.
That shows ESPN did not throttle at that pace on those days. It does not show there is no rate limit, and a client that hammers the endpoints is the most likely way to discover one. The Actor defaults to 6 requests in flight.
Calling it from Python
Because the endpoints are plain JSON over HTTPS, the Python version is a few lines with requests. This one prints the NBA games of one day, run against the live endpoint on 21 November 2026:
import requests
URL = "https://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard"
resp = requests.get(URL, params={"dates": "20261120"}, timeout=30)
resp.raise_for_status()
for event in resp.json()["events"]:
competition = event["competitions"][0]
teams = {c["homeAway"]: c for c in competition["competitors"]}
print(
event["date"],
teams["away"]["team"]["abbreviation"], teams["away"].get("score"),
"@",
teams["home"]["team"]["abbreviation"], teams["home"].get("score"),
event["status"]["type"]["state"],
)The scores arrive as strings, a game that has not started still carries ESPN's placeholder score, and a date range in dates returns HTTP 400. Those are the first three things a production client has to handle; the Actor delivers scores as numbers, null before tip-off.
What the terms and robots.txt say
espn.com links its terms to the Disney Terms of Use, last updated 24 May 2024. Among the restrictions on use, a user agrees not to “access, monitor, copy or extract the Disney Products using a robot, spider, script, or other automated means, including, for the avoidance of doubt, for the purposes of creating or developing any AI Tool, data mining or web scraping or otherwise compiling, building, creating or contributing to any collection of data, data set or database”, with an exception for public search engines.
The www.espn.com robots.txt disallows a list of paths for all agents — including */boxscore? and */playbyplay? pages — and blocks a list of AI crawlers entirely. A request for site.api.espn.com/robots.txt returned HTTP 403, so the API host's own rules, if any, could not be read. Every route to ESPN data in this guide, a script of your own included, sits under those terms; anyone running one should read them and make their own decision.
When to use it, and when not
ESPN's endpoints suit research, prototypes, dashboards and datasets where a missing day is an inconvenience, not a breach of contract. They do not suit a product that promises its own customers uptime or official data, because ESPN promises nothing in return. A licensed feed is the answer there — the same procurement question set out for one sport in where tennis results actually come from.
What the data holds once you have it — fill rates per row type, and where the odds go after the final whistle — is in sports data from ESPN.
