This page is limited to NFL endpoints but can be refashioned for other leagues (i.e. /sports/football/leagues/nfl/
=> /sports/baseball/leagues/mlb/
)
Leagues: sports.core.api.espn.com/v2/sports/football/leagues/nfl
Athletes: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/athletes/:athlete_id
Teams: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/teams
Team: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/teams/:team_id
Depth charts: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/teams/:team_id/depthcharts
Whitelist dates: sports.core.api.espn.com/v2/sports/football/leagues/nfl/calendar/whitelist
Season: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year
Week: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/2020/types/:season_type/weeks/:week
All weeks sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/types/:season_type/weeks
Win probabilities sports.core.api.espn.com/v2/sports/football/leagues/nfl/events/:game_id/competitions/:game_id/probabilities*?limit=200*
Odds: sports.core.api.espn.com/v2/sports/football/leagues/nfl/events/:game_id/competitions/:game_id/odds
Against-the-spread: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/types/2/teams/:team_id/ats
Futures: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/futures
Head-to-head (game): sports.core.api.espn.com/v2/sports/football/leagues/nfl/events/:game_id/competitions/:game_id/odds/:bet_provider_id/head-to-heads
Odds records: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/types/0/teams/:team_id/odds-records
Odds history - Game: sports.core.api.espn.com/v2/sports/football/leagues/nfl/events/401249063/competitions/401249063/odds/:bet_provider_id/history/0/movement?limit=100
Odds history - Team: sports.core.api.espn.com/v2/sports/football/leagues/nfl/teams/:team_id/odds/:bet_provider_id/past-performances?limit=200
bet_provider_id:
- 38: Caesars
- 31: William Hill
- 41: SugarHouse
- 36: Unibet
- 2000: Bet 365
- 25: Westgate
- 45: William Hill (New Jersey)
- 1001: accuscore
- 1004: consensus
- 1003: numberfire
- 1002: teamrankings
Positions (enum): sports.core.api.espn.com/v2/sports/football/leagues/nfl/positions*?limit=100*
QBR Weekly/Game stats: sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/2020/types/2/weeks/:week_num/qbr/10000
List of games via date-range: site.api.espn.com/apis/site/v2/sports/football/nfl/scoreboard?limit=1000&dates=20200901-20210228
- date range cannot exceed 13 months
- dates can also be = YYYYMMDD, YYYY
- add
&1577413600
at the end for overriding the cache
all active athletes: sports.core.api.espn.com/v2/sports/football/leagues/nfl/athletes?active=true
site.web.api.espn.com/apis/common/v3/sports/football/nfl/athletes/:athlete_id
site.web.api.espn.com/apis/common/v3/sports/football/nfl/athletes/:athlete_id/splits?season=2020
site.web.api.espn.com/apis/common/v3/sports/football/nfl/athletes/:athlete_id/gamelog
site.web.api.espn.com/apis/common/v3/sports/football/nfl/athletes/:athlete_id/stats
site.web.api.espn.com/apis/common/v3/sports/football/nfl/athletes/:athlete_id/bio
site.web.api.espn.com/apis/common/v3/sports/football/nfl/athletes/:athlete_id/overview
site.api.espn.com/apis/site/v2/sports/football/nfl/teams
site.api.espn.com/apis/site/v2/sports/football/nfl/teams/:team_id
site.api.espn.com/apis/site/v2/sports/football/nfl/teams/:team_id/roster
site.api.espn.com/apis/site/v2/sports/football/nfl/teams/:team_id/schedule*{?season,seasontype}*
sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/2020/teams/:team_id/projection
sports.core.api.espn.com/v2/sports/football/leagues/nfl/events/:game_id/competitions/:game_id/competitors/:team_id/roster?season=YYYY
site.api.espn.com/apis/site/v2/sports/football/nfl/teams/3?enable=roster
sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/teams/:team_id/projection
site.api.espn.com/apis/site/v3/sports/football/nfl/leaders*{?season,seasontype}*
site.api.espn.com/apis/site/v2/sports/football/college-football**/scoreboard**{?dates=YYYYMMDD}
site.web.api.espn.com/apis/common/v3/search?region=us&lang=en&query=nfl&limit=5&mode=prefix
site.web.api.espn.com/apis/common/v3/search
site.web.api.espn.com/apis/fantasy/v2/games/ffl/games?dates={YYYYMMDD}-{YYYYMMDD}&pbpOnly=true
site.api.espn.com/apis/site/v2/sports/football/nfl/news
site.web.api.espn.com/apis/v2/scoreboard/header?sport=football&league=nfl
- year - Integer year in which the season started.
- type - Integer corresponding to the season type (1 = preseason, 2 = regular season, 3 = postseason).
- description - String representation of the season type. For example, "regular" for season type 2.
sports.core.api.espn.com/v2/sports/football/leagues/nfl/athletes/2/statisticslog
sports.core.api.espn.com/v2/sports/football/leagues/nfl/seasons/:year/teams/:team_id
- ESPN's hidden API endpoints, gist by by akeaswaran
- nfl-nerd: api
Does anyone have an exhaustive list of the play "types" with ids that ESPN drive or plays items has? Here is what I have found in the first two games i have manuallyl gone through.
[ { "id": "53", "text": "Kickoff", "abbreviation": "K" }, { "id": "5", "text": "Rush", "abbreviation": "RUSH" }, { "id": "24", "text": "Pass Reception", "abbreviation": "REC" }, { "id": "3", "text": "Pass Incompletion" }, { "id": "21", "text": "Timeout", "abbreviation": "TO" }, { "id": "74", "text": "Official Timeout", "abbreviation": "Off TO" }, { "id": "52", "text": "Punt", "abbreviation": "PUNT" }, { "id": "68", "text": "Rushing Touchdown", "abbreviation": "TD" }, { "id": "61", "text": "Extra Point Good", "abbreviation": "Extra Point Good", "value": 1 }, { "id": "2", "text": "End Period", "abbreviation": "EP" }, { "id": "7", "text": "Sack" }, { "id": "59", "text": "Field Goal Good", "abbreviation": "FG" }, { "id": "8", "text": "Penalty", "abbreviation": "PEN" }, { "id": "67", "text": "Passing Touchdown", "abbreviation": "TD" }, { "id": "75", "text": "Two-minute warning", "abbreviation": "2Min Warn" }, { "id": "65", "text": "End of Half", "abbreviation": "EH" }, { "id": "12", "text": "Kickoff Return (Offense)" }, { "id": "9", "text": "Fumble Recovery (Own)" }, { "id": "66", "text": "End of Game", "abbreviation": "EG" }, { "id": "29", "text": "Fumble Recovery (Opponent)" }, { "id": "26", "text": "Pass Interception Return", "abbreviation": "INTR" }, { "id": "29", "text": "Fumble Recovery (Opponent)" }, { "id": "52", "text": "Punt", "abbreviation": "PUNT" } ]