Skip to content

Instantly share code, notes, and snippets.

@akeaswaran
Last active November 10, 2025 03:10
Show Gist options
  • Save akeaswaran/b48b02f1c94f873c6655e7129910fc3b to your computer and use it in GitHub Desktop.
Save akeaswaran/b48b02f1c94f873c6655e7129910fc3b to your computer and use it in GitHub Desktop.
ESPN hidden API Docs

ESPN's hidden API endpoints

Football

College Football

Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news

Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard

  • query params:

    • calendar: 'blacklist'
    • dates: any date in YYYYMMDD

Game Information: http://site.api.espn.com/apis/site/v2/sports/football/college-football/summary?event=:gameId

  • params:

    • gameId: identifier of some game (EX: 400934572 for 2017 Army vs Navy)

Team Information: http://site.api.espn.com/apis/site/v2/sports/football/college-football/teams/:team

  • params:

    • team: some team abbreviation (EX: 'all' for Allegheny, 'gt' for Georgia Tech, 'wisconsin' for Wisconsin)

Rankings: http://site.api.espn.com/apis/site/v2/sports/football/college-football/rankings

NFL

Scores: http://site.api.espn.com/apis/site/v2/sports/football/nfl/scoreboard

News: http://site.api.espn.com/apis/site/v2/sports/football/nfl/news

All Teams: http://site.api.espn.com/apis/site/v2/sports/football/nfl/teams

Specific Team: http://site.api.espn.com/apis/site/v2/sports/football/nfl/teams/:team

Baseball

MLB

Scores: http://site.api.espn.com/apis/site/v2/sports/baseball/mlb/scoreboard

News: http://site.api.espn.com/apis/site/v2/sports/baseball/mlb/news

All Teams: http://site.api.espn.com/apis/site/v2/sports/baseball/mlb/teams

Specific Team: http://site.api.espn.com/apis/site/v2/sports/baseball/mlb/teams/:team

College Baseball

Scores: https://site.api.espn.com/apis/site/v2/sports/baseball/college-baseball/scoreboard

Hockey

Scores: http://site.api.espn.com/apis/site/v2/sports/hockey/nhl/scoreboard

News: http://site.api.espn.com/apis/site/v2/sports/hockey/nhl/news

All Teams: http://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams

Specific Team: http://site.api.espn.com/apis/site/v2/sports/hockey/nhl/teams/:team

Basketball

NBA

Scores: http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard

News: http://site.api.espn.com/apis/site/v2/sports/basketball/nba/news

All Teams: http://site.api.espn.com/apis/site/v2/sports/basketball/nba/teams

Specific Team: http://site.api.espn.com/apis/site/v2/sports/basketball/nba/teams/:team

WNBA

Scores: http://site.api.espn.com/apis/site/v2/sports/basketball/wnba/scoreboard

News: http://site.api.espn.com/apis/site/v2/sports/basketball/wnba/news

All Teams: http://site.api.espn.com/apis/site/v2/sports/basketball/wnba/teams

Specific Team: http://site.api.espn.com/apis/site/v2/sports/basketball/wnba/teams/:team

Women's College Basketball

Scores: http://site.api.espn.com/apis/site/v2/sports/basketball/womens-college-basketball/scoreboard

News: http://site.api.espn.com/apis/site/v2/sports/basketball/womens-college-basketball/news

All Teams: http://site.api.espn.com/apis/site/v2/sports/basketball/womens-college-basketball/teams

Specific Team: http://site.api.espn.com/apis/site/v2/sports/basketball/womens-college-basketball/teams/:team

Men's College Basketball

Scores: http://site.api.espn.com/apis/site/v2/sports/basketball/mens-college-basketball/scoreboard

News: http://site.api.espn.com/apis/site/v2/sports/basketball/mens-college-basketball/news

All Teams: http://site.api.espn.com/apis/site/v2/sports/basketball/mens-college-basketball/teams

Specific Team: http://site.api.espn.com/apis/site/v2/sports/basketball/mens-college-basketball/teams/:team

Soccer

Scores: http://site.api.espn.com/apis/site/v2/sports/soccer/:league/scoreboard

  • params:

    • league: some league abbreviation (EX: 'eng.1' for EPL, 'usa.1' for MLS)

Latest News: http://site.api.espn.com/apis/site/v2/sports/soccer/:league/news

List of Team Information: http://site.api.espn.com/apis/site/v2/sports/soccer/:league/teams

Will update with more information as I find more...

@dargo01
Copy link

dargo01 commented Sep 21, 2025

For college football, is there a way to get stat leaders per week of the season?

Seconding this, if anyone has any ideas.

@cory5490
Copy link

is there anyone who can help me figure out how to get the league table from here

https://www.espn.com/rugby/table/_/league/270559

Ive tried
https://site.api.espn.com/apis/site/v2/sports/rugby/270559/table/
https://site.api.espn.com/apis/site/v2/sports/rugby_league/270559/table/
https://site.api.espn.com/apis/site/v2/sports/rugby/270559/standings
(only one that does not return a 404 this is what I see
{
"fullViewLink": {
"text": "Full Standings"
}
})
So I think I am close with the 3rd option but missing something

@Sergi0
Copy link

Sergi0 commented Sep 26, 2025

Is there a way to get team's results and schedule for all tournaments?
Team's page has these two links:
https://www.espn.com/soccer/team/fixtures/_/id/363/chelsea
https://www.espn.com/soccer/team/results/_/id/363/chelsea

but it's not API. I wonder if I can get an API url, like for injures
http://sports.core.api.espn.com/v2/sports/soccer/leagues/eng.1/teams/363/injuries?lang=en&region=us

I don't want to get just one leagues results, I want to see all the matches, including national cups and leagues

@drcs2000
Copy link

drcs2000 commented Oct 1, 2025

Is there a way to get team's results and schedule for all tournaments? Team's page has these two links: https://www.espn.com/soccer/team/fixtures/_/id/363/chelsea https://www.espn.com/soccer/team/results/_/id/363/chelsea

but it's not API. I wonder if I can get an API url, like for injures http://sports.core.api.espn.com/v2/sports/soccer/leagues/eng.1/teams/363/injuries?lang=en&region=us

I don't want to get just one leagues results, I want to see all the matches, including national cups and leagues

You gotta do something like that to get all the future matches from an specific team in all competitions:

http://site.api.espn.com/apis/site/v2/sports/soccer/all/teams/363/schedule?fixture=true

Now, to get all already played matches from all competitions you delete the ?fixture=true like that:

http://site.api.espn.com/apis/site/v2/sports/soccer/all/teams/363/schedule

@ganicus
Copy link

ganicus commented Oct 7, 2025

Any websockets?

@Sergi0
Copy link

Sergi0 commented Oct 25, 2025

Now, to get all already played matches from all competitions you delete the ?fixture=true like that:

http://site.api.espn.com/apis/site/v2/sports/soccer/all/teams/363/schedule

you're a life saver! this works perfectly, thanks.

I used events API, but it requires an API call for everything, including other team's name and even scores for each team separately.
it was extremely slow even with the date filter.
https://sports.core.api.espn.com/v2/sports/soccer/teams/364/events

@tarunramO7
Copy link

Do we have cricket api?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment