Skip to main content

NFL — ESPN CDN API (cdn.espn.com)

sportsdataverse.nfl — 4 endpoints.

espn_nfl_cdn_playbyplay​

One game's espn.com play-by-play page data. The gamepackageJSON block is a Site v2 summary (header, boxscore, plays or drives, win probability, ...), so the parsed result is the same dict of frames that parse_summary returns.

Endpoint URL: GET https://cdn.espn.com/core/nfl/playbyplay

Valid URL: https://cdn.espn.com/core/nfl/playbyplay?xhr=1&gameId=401705127

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYESPN game (event) id.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame. boxscore_player

col_nametypedescription
team_idcharacterTeam id.
team_abbreviationcharacterTeam abbreviation.
team_display_namecharacterTeam display name.
team_locationcharacterTeam location.
athlete_idcharacterAthlete id.
athlete_display_namecharacterAthlete display name.
athlete_short_namecharacterAthlete short name.
athlete_jerseycharacterAthlete jersey.
athlete_positioncharacterAthlete position.
startercharacterStarter.
activecharacterActive.
did_not_playcharacterDid not play.
ejectedcharacterEjected.
reasoncharacterReason.
completions/passing_attemptscharacterPass completion ratio for the player in the box score, expressed as completions divided by pass attempts.
passing_yardscharacterNumeric yards by the passer_player_name, including yards gained in pass plays with laterals. This should equal official passing statistics.
yards_per_pass_attemptcharacterAverage passing yards gained per pass attempt by the player in the box score.
passing_touchdownscharacterNumber of touchdown passes thrown by the player in the box score.
interceptionscharacterThe number of interceptions thrown.
sacks_sack_yards_lostcharacterCombined sack statistics for the player, including sack count and total yards lost by the opposing offense.
adj_qbrcharacterESPN's Adjusted Quarterback Rating for the player, measuring overall passing efficiency on a 0-100 scale.
qb_ratingcharacterTraditional passer rating for the quarterback in the box score, calculated from completions, yards, touchdowns, and interceptions.
rushing_attemptscharacterTeam rushing attempts.
rushing_yardscharacterNumeric yards by the rusher_player_name, excluding yards gained in rush plays with laterals. This should equal official rushing statistics but could miss yards gained in rush plays with laterals. Please see the description of lateral_rusher_player_name for further information.
yards_per_rush_attemptcharacterTeam yards per rush attempt.
rushing_touchdownscharacterNumber of rushing touchdowns scored by the player in the box score.
long_rushingcharacterLongest single rushing gain recorded by the player in the game.
receptionscharacterThe number of pass receptions. Lateral receptions officially don't count as reception.
receiving_yardscharacterNumeric yards by the receiver_player_name, excluding yards gained in pass plays with laterals. This should equal official receiving statistics but could miss yards gained in pass plays with laterals. Please see the description of lateral_receiver_player_name for further information.
yards_per_receptioncharacterAverage receiving yards gained per reception by the player in the box score.
receiving_touchdownscharacterNumber of receiving touchdowns scored by the player in the box score.
long_receptioncharacterLongest single reception recorded by the player in the game.
receiving_targetscharacterNumber of passing targets directed at the receiver during the game.
fumblescharacterNumber of fumbles committed by the player in the box score.
fumbles_lostcharacterFumbles lost.
fumbles_recoveredcharacterTeam fumbles recovered.
total_tacklescharacterTotal tackles recorded by the player, including both solo and assisted tackles.
solo_tacklescharacterNumber of unassisted tackles recorded by the player in the box score.
sackscharacterThe Number of times sacked.
tackles_for_losscharacterTeam tackles for a loss.
passes_defendedcharacterNumber of pass plays disrupted or broken up by the defensive player in the game.
qb_hitscharacterNumber of times the player made contact with the opposing quarterback after or during a pass attempt.
defensive_touchdownscharacterNumber of touchdowns scored by the player via defensive plays such as interception or fumble returns.
interception_yardscharacterInterception yards.
interception_touchdownscharacterNumber of touchdowns scored by the player on interception return plays.
kick_returnscharacterNumber of kick returns.
kick_return_yardscharacterTeam kick return yards.
yards_per_kick_returncharacterAverage yards gained per kick return by the player in the box score.
long_kick_returncharacterLongest single kick return yardage recorded by the player in the game.
kick_return_touchdownscharacterNumber of touchdowns scored on kick returns by the player in the box score.
punt_returnscharacterNumber of punt returns.
punt_return_yardscharacterTeam punt return yards.
yards_per_punt_returncharacterAverage yards gained per punt return by the player in the box score.
long_punt_returncharacterLongest single punt return yardage recorded by the player in the game.
punt_return_touchdownscharacterNumber of touchdowns scored on punt returns by the player in the box score.
puntscharacterTotal number of punts executed by the player in the box score.
punt_yardscharacterTotal yardage of all punts executed by the player in the game.
gross_avg_punt_yardscharacterAverage gross punt distance before accounting for returns, recorded for the player in the game.
touchbackscharacterNumber of punts or kick-offs by the player that resulted in the opposing team starting from their own end zone.
punts_inside20characterNumber of punts by the player that were downed or stopped inside the opposing team's 20-yard line.
long_puntcharacterDistance of the longest individual punt executed by the player in the game.
field_goals_made/field_goal_attemptscharacterField goal conversion ratio for the player, expressed as field goals made divided by attempts.
field_goal_pctcharacterField goal percentage (0-1).
long_field_goal_madecharacterDistance of the longest successful field goal kicked by the player in the game.
extra_points_made/extra_point_attemptscharacterExtra point conversion ratio for the player, expressed as extra points made divided by attempts.
total_kicking_pointscharacterTotal points contributed by the player through field goals and extra points in the game.

boxscore_team

col_nametypedescription
team_idcharacterTeam id.
team_abbreviationcharacterTeam abbreviation.
team_display_namecharacterTeam display name.
home_awaycharacterHome away.
display_orderintegerDisplay order.
stat_namecharacterStat name.
stat_labelcharacterStat label.
stat_display_valuecharacterStat display value.
stat_valuecharacterStat value.

winprobability

col_nametypedescription
home_win_percentagedoubleHome win percentage.
tie_percentagedoubleTie percentage.
play_idcharacterPlay id.

leaders

col_nametypedescription
team_idcharacterTeam id.
team_abbreviationcharacterTeam abbreviation.
category_namecharacterCategory name.
category_display_namecharacterCategory display name.
athlete_idcharacterAthlete id.
athlete_display_namecharacterAthlete display name.
athlete_positioncharacterAthlete position.
valuedoubleValue.
display_valuecharacterDisplay value.
main_statcharacterMain stat.
summarycharacterSummary.

game_info

col_nametypedescription
attendanceintegerAttendance.
venue_idcharacterVenue id.
venue_guidcharacterVenue guid.
venue_full_namecharacterVenue full name.
venue_address_citycharacterVenue address city.
venue_address_statecharacterVenue address state.
venue_address_zip_codecharacterPostal zip code of the venue where the game was played.
venue_address_countrycharacterCountry of the venue where the game was played.
venue_grasslogicalVenue grass.

officials

col_nametypedescription
full_namecharacterFull name.
display_namecharacterDisplay name.
orderintegerOrder.
position_namecharacterPosition name.
position_display_namecharacterPosition display name.
position_idcharacterPosition id.

header

col_nametypedescription
idcharacterId.
uidcharacterUid.
time_validlogicalTime valid.
competitionscharacterCompetitions.
linkscharacterLinks.
weekintegerSeason week.
game_notecharacterOptional editorial note or context annotation attached to the game in the header.
season_yearintegerSeason year.
season_currentlogicalSeason current.
season_typeintegerSeason type.
league_idcharacterLeague id.
league_uidcharacterLeague uid.
league_namecharacterLeague name.
league_abbreviationcharacterLeague abbreviation.
league_slugcharacterLeague slug.
league_is_tournamentlogicalLeague is tournament.
league_linkscharacterLeague links.
league_logoscharacterLeague logos.

standings

col_nametypedescription
group_headercharacterGroup header.
conference_headercharacterConference header.
division_headercharacterDivision header.
team_idcharacterTeam id.
team_uidcharacterTeam uid.
team_locationcharacterTeam location.
lossescharacterLosses.
points_againstcharacterPoints allowed.
points_forcharacterGoals/points scored.
tiescharacterNumber of ties in the series.
win_percentcharacterWin percent.
winscharacterWins.
overallcharacterOverall draft pick number.

format

col_nametypedescription
regulation_periodsintegerRegulation periods.
regulation_display_namecharacterRegulation display name.
regulation_slugcharacterRegulation slug.
regulation_clockdoubleRegulation clock.
overtime_display_namecharacterOvertime display name.
overtime_slugcharacterOvertime slug.
overtime_clockdoubleOvertime clock.
sudden_death_periodsintegerNumber of sudden-death overtime periods defined in the game format rules.
sudden_death_clockdoubleClock duration or time limit for sudden-death overtime periods as defined in the game format.

article

col_nametypedescription
idintegerId.
now_idcharacterNow id.
content_keycharacterContent key.
data_source_identifiercharacterData source identifier.
publishedkeycharacterPublishedkey.
typecharacterType.
game_idcharacterGame id.
headlinecharacterHeadline.
descriptioncharacterDescription.
link_textcharacterLink text.
categorizedcharacterCategorized.
originally_postedcharacterOriginally posted.
last_modifiedcharacterLast modified.
publishedcharacterPublished.
sectioncharacterSection.
sourcecharacterSource.
imagescharacterImages.
videocharacterVideo.
categoriescharacterCategories.
keywordscharacterKeywords.
storycharacterStory.
premiumlogicalPremium.
is_live_bloglogicalIs live blog.
allow_commentslogicalAllow comments.
allow_searchlogicalAllow search.
allow_content_reactionslogicalAllow content reactions.
links_web_hrefcharacterLinks web href.
links_mobile_hrefcharacterLinks mobile href.
links_api_self_hrefcharacterLinks api self href.
links_app_sportscenter_hrefcharacterLinks app sportscenter href.

injuries

col_nametypedescription
injuriescharacterInjuries.
team_idcharacterTeam id.
team_uidcharacterTeam uid.
team_display_namecharacterTeam display name.
team_abbreviationcharacterTeam abbreviation.
team_linkscharacterTeam links.
team_logocharacterTeam logo.
team_logoscharacterTeam logos.

news

col_nametypedescription
idintegerId.
now_idcharacterNow id.
content_keycharacterContent key.
data_source_identifiercharacterData source identifier.
typecharacterType.
headlinecharacterHeadline.
descriptioncharacterDescription.
last_modifiedcharacterLast modified.
publishedcharacterPublished.
imagescharacterImages.
categoriescharacterCategories.
premiumlogicalPremium.
bylinecharacterByline.
links_web_hrefcharacterLinks web href.
links_mobile_hrefcharacterLinks mobile href.
links_api_self_hrefcharacterLinks api self href.
links_app_sportscenter_hrefcharacterLinks app sportscenter href.

drives

col_nametypedescription
idcharacterId.
descriptioncharacterDescription.
yardsintegerThe number of receiving yards
is_scorelogicalTRUE if the drive resulted in a score.
offensive_playsintegerNumber of offensive plays on the drive.
resultcharacterThe number of points the home team scored minus the number of points the visiting team scored. Equals h_score - v_score. Is NA for games which haven't yet been played. Convenient for evaluating against the spread bets.
short_display_resultcharacterShort drive-result label.
display_resultcharacterDrive-result label (e.g. Punt, Touchdown).
playscharacterTotal qualifying passing plays included in the WEPA calculation.
team_idcharacterTeam id.
team_namecharacterFull display name of the team.
team_abbreviationcharacterTeam abbreviation.
team_display_namecharacterTeam display name.
team_short_display_namecharacterShort team display name; team_detail = TRUE only.
team_logoscharacterTeam logos.
start_period_typecharacterPeriod type at the start of the drive (e.g. quarter).
start_period_numberintegerPeriod or quarter number in which the drive or sequence began.
start_clock_display_valuecharacterGame clock time displayed at the start of the drive or scoring sequence.
start_yard_lineintegerYard line at the start of the play.
start_textcharacterField-position text at the start of the drive.
end_period_typecharacterPeriod type at the end of the drive (e.g. quarter).
end_period_numberintegerPeriod or quarter number in which the drive or sequence ended.
end_clock_display_valuecharacterGame clock time displayed at the end of the drive or scoring sequence.
end_yard_lineintegerString indicating the yardline at the end of the given play consisting of team half and yard line number.
end_textcharacterField-position text at the end of the drive.
time_elapsed_display_valuecharacterHuman-readable duration of time elapsed during the drive or scoring sequence.

drive_plays

col_nametypedescription
drive_idcharacterCFBD drive identifier the play belongs to.
drive_sequenceintegerSequential position of the drive within the game's broadcast or play-by-play listing.
idcharacterId.
sequence_numbercharacterSequence number.
textcharacterText.
away_scoreintegerAway score.
home_scoreintegerHome score.
scoring_playlogicalScoring play.
prioritylogicalTRUE if ESPN flags the play as a priority highlight.
modifiedcharacterISO timestamp the play record was last modified.
wallclockcharacterWallclock.
team_participantscharacterTeams or participants associated with a specific drive or sequence in the broadcast record.
is_penaltylogicalTRUE if the play was a penalty.
stat_yardageintegerYards gained or lost on the play.
is_turnoverlogicalTRUE if the play was a turnover.
type_idcharacterType id.
type_textcharacterType text.
type_abbreviationcharacterPlay-type abbreviation (e.g. RUSH, TD).
period_numberintegerPeriod number.
clock_display_valuecharacterClock display value.
start_downintegerDown at the start of the play.
start_distanceintegerYards to go at the start of the play.
start_yard_lineintegerYard line at the start of the play.
start_yards_to_endzoneintegerYards to the end zone at the start of the play.
start_team_idcharacterESPN team id in possession at the start of the play.
end_downintegerDown at the end of the play.
end_distanceintegerYards to go at the end of the play.
end_yard_lineintegerString indicating the yardline at the end of the given play consisting of team half and yard line number.
end_yards_to_endzoneintegerYards to the end zone at the end of the play.
end_down_distance_textcharacterDown-and-distance text at the end of the play.
end_short_down_distance_textcharacterShort down-and-distance text at the end of the play.
end_possession_textcharacterField-position text at the end of the play.
end_team_idcharacterESPN team id in possession at the end of the play.
start_down_distance_textcharacterDown-and-distance text at the start of the play.
start_short_down_distance_textcharacterShort down-and-distance text at the start of the play.
start_possession_textcharacterField-position text at the start of the play.
scoring_type_namecharacterScoring-type key on a scoring play (e.g. touchdown).
scoring_type_display_namecharacterHuman-readable scoring-type name.
scoring_type_abbreviationcharacterScoring-type abbreviation (e.g. TD, FG).
point_after_attempt_iddoublePoint-after-attempt id on a scoring play.
point_after_attempt_textcharacterPoint-after-attempt text (e.g. Extra Point Good).
point_after_attempt_abbreviationcharacterPoint-after-attempt abbreviation.
point_after_attempt_valuedoublePoints added by the point-after attempt.

scoring_plays

col_nametypedescription
idcharacterId.
textcharacterText.
away_scoreintegerAway score.
home_scoreintegerHome score.
type_idcharacterType id.
type_textcharacterType text.
type_abbreviationcharacterPlay-type abbreviation (e.g. RUSH, TD).
period_numberintegerPeriod number.
clock_valuedoubleClock value in seconds.
clock_display_valuecharacterClock display value.
team_idcharacterTeam id.
team_uidcharacterTeam uid.
team_display_namecharacterTeam display name.
team_abbreviationcharacterTeam abbreviation.
team_linkscharacterTeam links.
team_logocharacterTeam logo.
team_logoscharacterTeam logos.
scoring_type_namecharacterScoring-type key on a scoring play (e.g. touchdown).
scoring_type_display_namecharacterHuman-readable scoring-type name.
scoring_type_abbreviationcharacterScoring-type abbreviation (e.g. TD, FG).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

espn_nfl_cdn_playbyplay(game_id='401705127')

Last validated n/a.

espn_nfl_cdn_boxscore​

One game's espn.com box-score page data, parsed like a Site v2 summary. For football the drives and scoring plays are only on the playbyplay page.

Endpoint URL: GET https://cdn.espn.com/core/nfl/boxscore

Valid URL: https://cdn.espn.com/core/nfl/boxscore?xhr=1&gameId=401705127

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYESPN game (event) id.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame. boxscore_player

col_nametypedescription
team_idcharacterTeam id.
team_abbreviationcharacterTeam abbreviation.
team_display_namecharacterTeam display name.
team_locationcharacterTeam location.
athlete_idcharacterAthlete id.
athlete_display_namecharacterAthlete display name.
athlete_short_namecharacterAthlete short name.
athlete_jerseycharacterAthlete jersey.
athlete_positioncharacterAthlete position.
startercharacterStarter.
activecharacterActive.
did_not_playcharacterDid not play.
ejectedcharacterEjected.
reasoncharacterReason.
completions/passing_attemptscharacterPass completion ratio for the player in the box score, expressed as completions divided by pass attempts.
passing_yardscharacterNumeric yards by the passer_player_name, including yards gained in pass plays with laterals. This should equal official passing statistics.
yards_per_pass_attemptcharacterAverage passing yards gained per pass attempt by the player in the box score.
passing_touchdownscharacterNumber of touchdown passes thrown by the player in the box score.
interceptionscharacterThe number of interceptions thrown.
sacks_sack_yards_lostcharacterCombined sack statistics for the player, including sack count and total yards lost by the opposing offense.
adj_qbrcharacterESPN's Adjusted Quarterback Rating for the player, measuring overall passing efficiency on a 0-100 scale.
qb_ratingcharacterTraditional passer rating for the quarterback in the box score, calculated from completions, yards, touchdowns, and interceptions.
rushing_attemptscharacterTeam rushing attempts.
rushing_yardscharacterNumeric yards by the rusher_player_name, excluding yards gained in rush plays with laterals. This should equal official rushing statistics but could miss yards gained in rush plays with laterals. Please see the description of lateral_rusher_player_name for further information.
yards_per_rush_attemptcharacterTeam yards per rush attempt.
rushing_touchdownscharacterNumber of rushing touchdowns scored by the player in the box score.
long_rushingcharacterLongest single rushing gain recorded by the player in the game.
receptionscharacterThe number of pass receptions. Lateral receptions officially don't count as reception.
receiving_yardscharacterNumeric yards by the receiver_player_name, excluding yards gained in pass plays with laterals. This should equal official receiving statistics but could miss yards gained in pass plays with laterals. Please see the description of lateral_receiver_player_name for further information.
yards_per_receptioncharacterAverage receiving yards gained per reception by the player in the box score.
receiving_touchdownscharacterNumber of receiving touchdowns scored by the player in the box score.
long_receptioncharacterLongest single reception recorded by the player in the game.
receiving_targetscharacterNumber of passing targets directed at the receiver during the game.
fumblescharacterNumber of fumbles committed by the player in the box score.
fumbles_lostcharacterFumbles lost.
fumbles_recoveredcharacterTeam fumbles recovered.
total_tacklescharacterTotal tackles recorded by the player, including both solo and assisted tackles.
solo_tacklescharacterNumber of unassisted tackles recorded by the player in the box score.
sackscharacterThe Number of times sacked.
tackles_for_losscharacterTeam tackles for a loss.
passes_defendedcharacterNumber of pass plays disrupted or broken up by the defensive player in the game.
qb_hitscharacterNumber of times the player made contact with the opposing quarterback after or during a pass attempt.
defensive_touchdownscharacterNumber of touchdowns scored by the player via defensive plays such as interception or fumble returns.
interception_yardscharacterInterception yards.
interception_touchdownscharacterNumber of touchdowns scored by the player on interception return plays.
kick_returnscharacterNumber of kick returns.
kick_return_yardscharacterTeam kick return yards.
yards_per_kick_returncharacterAverage yards gained per kick return by the player in the box score.
long_kick_returncharacterLongest single kick return yardage recorded by the player in the game.
kick_return_touchdownscharacterNumber of touchdowns scored on kick returns by the player in the box score.
punt_returnscharacterNumber of punt returns.
punt_return_yardscharacterTeam punt return yards.
yards_per_punt_returncharacterAverage yards gained per punt return by the player in the box score.
long_punt_returncharacterLongest single punt return yardage recorded by the player in the game.
punt_return_touchdownscharacterNumber of touchdowns scored on punt returns by the player in the box score.
puntscharacterTotal number of punts executed by the player in the box score.
punt_yardscharacterTotal yardage of all punts executed by the player in the game.
gross_avg_punt_yardscharacterAverage gross punt distance before accounting for returns, recorded for the player in the game.
touchbackscharacterNumber of punts or kick-offs by the player that resulted in the opposing team starting from their own end zone.
punts_inside20characterNumber of punts by the player that were downed or stopped inside the opposing team's 20-yard line.
long_puntcharacterDistance of the longest individual punt executed by the player in the game.
field_goals_made/field_goal_attemptscharacterField goal conversion ratio for the player, expressed as field goals made divided by attempts.
field_goal_pctcharacterField goal percentage (0-1).
long_field_goal_madecharacterDistance of the longest successful field goal kicked by the player in the game.
extra_points_made/extra_point_attemptscharacterExtra point conversion ratio for the player, expressed as extra points made divided by attempts.
total_kicking_pointscharacterTotal points contributed by the player through field goals and extra points in the game.

boxscore_team

col_nametypedescription
team_idcharacterTeam id.
team_abbreviationcharacterTeam abbreviation.
team_display_namecharacterTeam display name.
home_awaycharacterHome away.
display_orderintegerDisplay order.
stat_namecharacterStat name.
stat_labelcharacterStat label.
stat_display_valuecharacterStat display value.
stat_valuecharacterStat value.

winprobability

col_nametypedescription
home_win_percentagedoubleHome win percentage.
tie_percentagedoubleTie percentage.
play_idcharacterPlay id.

leaders

col_nametypedescription
team_idcharacterTeam id.
team_abbreviationcharacterTeam abbreviation.
category_namecharacterCategory name.
category_display_namecharacterCategory display name.
athlete_idcharacterAthlete id.
athlete_display_namecharacterAthlete display name.
athlete_positioncharacterAthlete position.
valuedoubleValue.
display_valuecharacterDisplay value.
main_statcharacterMain stat.
summarycharacterSummary.

game_info

col_nametypedescription
attendanceintegerAttendance.
venue_idcharacterVenue id.
venue_guidcharacterVenue guid.
venue_full_namecharacterVenue full name.
venue_address_citycharacterVenue address city.
venue_address_statecharacterVenue address state.
venue_address_zip_codecharacterPostal zip code of the venue where the game was played.
venue_address_countrycharacterCountry of the venue where the game was played.
venue_grasslogicalVenue grass.

officials

col_nametypedescription
full_namecharacterFull name.
display_namecharacterDisplay name.
orderintegerOrder.
position_namecharacterPosition name.
position_display_namecharacterPosition display name.
position_idcharacterPosition id.

header

col_nametypedescription
idcharacterId.
uidcharacterUid.
time_validlogicalTime valid.
competitionscharacterCompetitions.
linkscharacterLinks.
weekintegerSeason week.
game_notecharacterOptional editorial note or context annotation attached to the game in the header.
season_yearintegerSeason year.
season_currentlogicalSeason current.
season_typeintegerSeason type.
league_idcharacterLeague id.
league_uidcharacterLeague uid.
league_namecharacterLeague name.
league_abbreviationcharacterLeague abbreviation.
league_slugcharacterLeague slug.
league_is_tournamentlogicalLeague is tournament.
league_linkscharacterLeague links.
league_logoscharacterLeague logos.

standings

col_nametypedescription
group_headercharacterGroup header.
conference_headercharacterConference header.
division_headercharacterDivision header.
team_idcharacterTeam id.
team_uidcharacterTeam uid.
team_locationcharacterTeam location.
lossescharacterLosses.
points_againstcharacterPoints allowed.
points_forcharacterGoals/points scored.
tiescharacterNumber of ties in the series.
win_percentcharacterWin percent.
winscharacterWins.
overallcharacterOverall draft pick number.

format

col_nametypedescription
regulation_periodsintegerRegulation periods.
regulation_display_namecharacterRegulation display name.
regulation_slugcharacterRegulation slug.
regulation_clockdoubleRegulation clock.
overtime_display_namecharacterOvertime display name.
overtime_slugcharacterOvertime slug.
overtime_clockdoubleOvertime clock.
sudden_death_periodsintegerNumber of sudden-death overtime periods defined in the game format rules.
sudden_death_clockdoubleClock duration or time limit for sudden-death overtime periods as defined in the game format.

article

col_nametypedescription
idintegerId.
now_idcharacterNow id.
content_keycharacterContent key.
data_source_identifiercharacterData source identifier.
publishedkeycharacterPublishedkey.
typecharacterType.
game_idcharacterGame id.
headlinecharacterHeadline.
descriptioncharacterDescription.
link_textcharacterLink text.
categorizedcharacterCategorized.
originally_postedcharacterOriginally posted.
last_modifiedcharacterLast modified.
publishedcharacterPublished.
sectioncharacterSection.
sourcecharacterSource.
imagescharacterImages.
videocharacterVideo.
categoriescharacterCategories.
keywordscharacterKeywords.
storycharacterStory.
premiumlogicalPremium.
is_live_bloglogicalIs live blog.
allow_commentslogicalAllow comments.
allow_searchlogicalAllow search.
allow_content_reactionslogicalAllow content reactions.
links_web_hrefcharacterLinks web href.
links_mobile_hrefcharacterLinks mobile href.
links_api_self_hrefcharacterLinks api self href.
links_app_sportscenter_hrefcharacterLinks app sportscenter href.

injuries

col_nametypedescription
injuriescharacterInjuries.
team_idcharacterTeam id.
team_uidcharacterTeam uid.
team_display_namecharacterTeam display name.
team_abbreviationcharacterTeam abbreviation.
team_linkscharacterTeam links.
team_logocharacterTeam logo.
team_logoscharacterTeam logos.

news

col_nametypedescription
idintegerId.
now_idcharacterNow id.
content_keycharacterContent key.
data_source_identifiercharacterData source identifier.
typecharacterType.
headlinecharacterHeadline.
descriptioncharacterDescription.
last_modifiedcharacterLast modified.
publishedcharacterPublished.
imagescharacterImages.
categoriescharacterCategories.
premiumlogicalPremium.
bylinecharacterByline.
links_web_hrefcharacterLinks web href.
links_mobile_hrefcharacterLinks mobile href.
links_api_self_hrefcharacterLinks api self href.
links_app_sportscenter_hrefcharacterLinks app sportscenter href.

drives

col_nametypedescription
idcharacterId.
descriptioncharacterDescription.
yardsintegerThe number of receiving yards
is_scorelogicalTRUE if the drive resulted in a score.
offensive_playsintegerNumber of offensive plays on the drive.
resultcharacterThe number of points the home team scored minus the number of points the visiting team scored. Equals h_score - v_score. Is NA for games which haven't yet been played. Convenient for evaluating against the spread bets.
short_display_resultcharacterShort drive-result label.
display_resultcharacterDrive-result label (e.g. Punt, Touchdown).
playscharacterTotal qualifying passing plays included in the WEPA calculation.
team_idcharacterTeam id.
team_namecharacterFull display name of the team.
team_abbreviationcharacterTeam abbreviation.
team_display_namecharacterTeam display name.
team_short_display_namecharacterShort team display name; team_detail = TRUE only.
team_logoscharacterTeam logos.
start_period_typecharacterPeriod type at the start of the drive (e.g. quarter).
start_period_numberintegerPeriod or quarter number in which the drive or sequence began.
start_clock_display_valuecharacterGame clock time displayed at the start of the drive or scoring sequence.
start_yard_lineintegerYard line at the start of the play.
start_textcharacterField-position text at the start of the drive.
end_period_typecharacterPeriod type at the end of the drive (e.g. quarter).
end_period_numberintegerPeriod or quarter number in which the drive or sequence ended.
end_clock_display_valuecharacterGame clock time displayed at the end of the drive or scoring sequence.
end_yard_lineintegerString indicating the yardline at the end of the given play consisting of team half and yard line number.
end_textcharacterField-position text at the end of the drive.
time_elapsed_display_valuecharacterHuman-readable duration of time elapsed during the drive or scoring sequence.

drive_plays

col_nametypedescription
drive_idcharacterCFBD drive identifier the play belongs to.
drive_sequenceintegerSequential position of the drive within the game's broadcast or play-by-play listing.
idcharacterId.
sequence_numbercharacterSequence number.
textcharacterText.
away_scoreintegerAway score.
home_scoreintegerHome score.
scoring_playlogicalScoring play.
prioritylogicalTRUE if ESPN flags the play as a priority highlight.
modifiedcharacterISO timestamp the play record was last modified.
wallclockcharacterWallclock.
team_participantscharacterTeams or participants associated with a specific drive or sequence in the broadcast record.
is_penaltylogicalTRUE if the play was a penalty.
stat_yardageintegerYards gained or lost on the play.
is_turnoverlogicalTRUE if the play was a turnover.
type_idcharacterType id.
type_textcharacterType text.
type_abbreviationcharacterPlay-type abbreviation (e.g. RUSH, TD).
period_numberintegerPeriod number.
clock_display_valuecharacterClock display value.
start_downintegerDown at the start of the play.
start_distanceintegerYards to go at the start of the play.
start_yard_lineintegerYard line at the start of the play.
start_yards_to_endzoneintegerYards to the end zone at the start of the play.
start_team_idcharacterESPN team id in possession at the start of the play.
end_downintegerDown at the end of the play.
end_distanceintegerYards to go at the end of the play.
end_yard_lineintegerString indicating the yardline at the end of the given play consisting of team half and yard line number.
end_yards_to_endzoneintegerYards to the end zone at the end of the play.
end_down_distance_textcharacterDown-and-distance text at the end of the play.
end_short_down_distance_textcharacterShort down-and-distance text at the end of the play.
end_possession_textcharacterField-position text at the end of the play.
end_team_idcharacterESPN team id in possession at the end of the play.
start_down_distance_textcharacterDown-and-distance text at the start of the play.
start_short_down_distance_textcharacterShort down-and-distance text at the start of the play.
start_possession_textcharacterField-position text at the start of the play.
scoring_type_namecharacterScoring-type key on a scoring play (e.g. touchdown).
scoring_type_display_namecharacterHuman-readable scoring-type name.
scoring_type_abbreviationcharacterScoring-type abbreviation (e.g. TD, FG).
point_after_attempt_iddoublePoint-after-attempt id on a scoring play.
point_after_attempt_textcharacterPoint-after-attempt text (e.g. Extra Point Good).
point_after_attempt_abbreviationcharacterPoint-after-attempt abbreviation.
point_after_attempt_valuedoublePoints added by the point-after attempt.

scoring_plays

col_nametypedescription
idcharacterId.
textcharacterText.
away_scoreintegerAway score.
home_scoreintegerHome score.
type_idcharacterType id.
type_textcharacterType text.
type_abbreviationcharacterPlay-type abbreviation (e.g. RUSH, TD).
period_numberintegerPeriod number.
clock_valuedoubleClock value in seconds.
clock_display_valuecharacterClock display value.
team_idcharacterTeam id.
team_uidcharacterTeam uid.
team_display_namecharacterTeam display name.
team_abbreviationcharacterTeam abbreviation.
team_linkscharacterTeam links.
team_logocharacterTeam logo.
team_logoscharacterTeam logos.
scoring_type_namecharacterScoring-type key on a scoring play (e.g. touchdown).
scoring_type_display_namecharacterHuman-readable scoring-type name.
scoring_type_abbreviationcharacterScoring-type abbreviation (e.g. TD, FG).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

espn_nfl_cdn_boxscore(game_id='401705127')

Last validated n/a.

espn_nfl_cdn_schedule​

espn.com schedule page data, one row per game: up to 7 days starting at date (mbb and wbb: that day only; cfb and nfl: one week).

Endpoint URL: GET https://cdn.espn.com/core/nfl/schedule

Valid URL: https://cdn.espn.com/core/nfl/schedule?xhr=1&date=20250115

API ParameterPythonPatternRequiredNullableDescription
datedateYSingle date (YYYYMMDD). Ignored by cfb and nfl, which are week-oriented. Defaults to today.
weekweekYWeek number (cfb and nfl).
yearseasonYSeason year that week belongs to (cfb and nfl).
seasontypeseason_typeYSeason phase for week: 1=preseason, 2=regular season, 3=postseason (cfb and nfl).

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
game_idcharacterESPN event id.
uidcharacterESPN global unique identifier.
datecharacterMatch start timestamp (ISO 8601, UTC).
namecharacterFull event name (e.g. 'Team A at Team B').
short_namecharacterAbbreviated event name (e.g. 'TA @ TB').
season_yearintegerSeason year string ('YYYY-YY' format).
season_typeintegerREG or POST indicating if the timeframe belongs to regular or post season.
season_slugcharacterSeason slug.
status_type_idcharacterUnique identifier for status type.
status_type_namecharacterStatus type name.
status_type_statecharacterStatus state (pre/in/post).
status_type_completedlogicalWhether the game is complete.
status_type_descriptioncharacterStatus type description.
status_type_detailcharacterStatus type detail.
status_type_short_detailcharacterStatus type short detail.
status_clockdoubleGame clock in seconds.
status_display_clockcharacterStatus display clock.
status_periodintegerCurrent period.
neutral_sitelogicalWhether the match is played at a neutral venue.
conference_competitionlogicalConference competition.
attendanceintegerReported attendance at the game.
venue_idcharacterReferencing venue id.
venue_full_namecharacterVenue full name.
venue_citycharacterCity where the venue is located.
venue_statecharacterState (or province/country) where the venue is located.
venue_indoorlogicalWhether the home venue is indoors.
broadcastcharacterBroadcast network short name.
notecharacterInjury status and description.
home_idcharacterHome team referencing id.
home_namecharacterHome team display name.
home_abbreviationcharacterHome team's abbreviation.
home_display_namecharacterHome team display name.
home_locationcharacterHome team's location.
home_colorcharacterHome team primary color hex.
home_alternate_colorcharacterColor code (hex) for home alternate.
home_logocharacterHome team logo URL.
home_scorecharacterHome team's score. For cricket, the innings string (e.g. '161/5 (18/20 ov, target 156)').
home_winnerlogicalWhether the home team won.
home_rankcharacterHome team rank (if ranked).
away_idcharacterAway team referencing id.
away_namecharacterAway team display name.
away_abbreviationcharacterAway team's abbreviation.
away_display_namecharacterAway team display name.
away_locationcharacterAway team's location.
away_colorcharacterAway team primary color hex.
away_alternate_colorcharacterColor code (hex) for away alternate.
away_logocharacterAway team logo URL.
away_scorecharacterAway team's score. For cricket, the innings string.
away_winnerlogicalWhether the away team won.
away_rankcharacterAway team rank (if ranked).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

espn_nfl_cdn_schedule(date='20250115')

Last validated n/a.

espn_nfl_cdn_scoreboard​

espn.com scoreboard page data for one day (one week for football), one row per game. The page's sbData block is a Site v2 scoreboard payload.

Endpoint URL: GET https://cdn.espn.com/core/nfl/scoreboard

Valid URL: https://cdn.espn.com/core/nfl/scoreboard?xhr=1&date=20250115

API ParameterPythonPatternRequiredNullableDescription
datedateYSingle date (YYYYMMDD). Ignored by cfb and nfl, which are week-oriented. Defaults to today.
weekweekYWeek number (cfb and nfl).
yearseasonYSeason year that week belongs to (cfb and nfl).
seasontypeseason_typeYSeason phase for week: 1=preseason, 2=regular season, 3=postseason (cfb and nfl).

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
game_idcharacterESPN event id.
uidcharacterESPN global unique identifier.
datecharacterMatch start timestamp (ISO 8601, UTC).
namecharacterFull event name (e.g. 'Team A at Team B').
short_namecharacterAbbreviated event name (e.g. 'TA @ TB').
season_yearintegerSeason year string ('YYYY-YY' format).
season_typeintegerREG or POST indicating if the timeframe belongs to regular or post season.
season_slugcharacterSeason slug.
status_type_idcharacterUnique identifier for status type.
status_type_namecharacterStatus type name.
status_type_statecharacterStatus state (pre/in/post).
status_type_completedlogicalWhether the game is complete.
status_type_descriptioncharacterStatus type description.
status_type_detailcharacterStatus type detail.
status_type_short_detailcharacterStatus type short detail.
status_clockdoubleGame clock in seconds.
status_display_clockcharacterStatus display clock.
status_periodintegerCurrent period.
neutral_sitelogicalWhether the match is played at a neutral venue.
conference_competitionlogicalConference competition.
attendanceintegerReported attendance at the game.
venue_idcharacterReferencing venue id.
venue_full_namecharacterVenue full name.
venue_citycharacterCity where the venue is located.
venue_statecharacterState (or province/country) where the venue is located.
venue_indoorlogicalWhether the home venue is indoors.
broadcastcharacterBroadcast network short name.
notecharacterInjury status and description.
home_idcharacterHome team referencing id.
home_namecharacterHome team display name.
home_abbreviationcharacterHome team's abbreviation.
home_display_namecharacterHome team display name.
home_locationcharacterHome team's location.
home_colorcharacterHome team primary color hex.
home_alternate_colorcharacterColor code (hex) for home alternate.
home_logocharacterHome team logo URL.
home_scorecharacterHome team's score. For cricket, the innings string (e.g. '161/5 (18/20 ov, target 156)').
home_winnerlogicalWhether the home team won.
home_rankcharacterHome team rank (if ranked).
away_idcharacterAway team referencing id.
away_namecharacterAway team display name.
away_abbreviationcharacterAway team's abbreviation.
away_display_namecharacterAway team display name.
away_locationcharacterAway team's location.
away_colorcharacterAway team primary color hex.
away_alternate_colorcharacterColor code (hex) for away alternate.
away_logocharacterAway team logo URL.
away_scorecharacterAway team's score. For cricket, the innings string.
away_winnerlogicalWhether the away team won.
away_rankcharacterAway team rank (if ranked).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

espn_nfl_cdn_scoreboard(date='20250115')

Last validated n/a.