ESPN API guide

espn.com

Use ESPN to check live scores, look up past results by date, review league standings, and see team schedules.

Actions and inputs

today

See live scores across the NFL, NBA, MLB, and NHL.

scoreboard

Look up a league scoreboard, optionally for a specific date.

Inputs sport, league, optional --dates

standings

View conference or division standings.

Inputs sport, league

teams

View a team's past and upcoming games.

Inputs sport, league, team ID

Favorite teams

Create

Add a team to Favorites in your ESPN account.

Inputs sport or league, team name

Read

Open your favorites to review followed teams and find their scores and schedules.

Inputs optional team name

Update

Replace a favorite team in your account by removing the old selection and adding the new one.

Inputs current team, replacement team

Delete

Unfollow a team to remove it from your favorites.

Inputs sport or league, team name