Skip to main content
Version: 0.1.5

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=401671881

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYESPN game (event) id.

Returns​

return_parsed=True (default) — a dict of polars.DataFrames keyed by summary section (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

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_attemptscharacter
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_attemptcharacter
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_lostcharacter
fumbles_recoveredcharacter
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_losscharacter
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_yardscharacter
interception_touchdownscharacterNumber of touchdowns scored by the player on interception return plays.
kick_returnscharacter
kick_return_yardscharacter
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_returnscharacter
punt_return_yardscharacter
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_pctcharacter
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_againstcharacter
points_forcharacter
tiescharacter
win_percentcharacterWin percent.
winscharacterWins.
overallcharacter

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_scorelogical
offensive_playsinteger
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_resultcharacter
display_resultcharacter
playscharacter
team_idcharacterTeam id.
team_namecharacterFull display name of the team.
team_abbreviationcharacterTeam abbreviation.
team_display_namecharacterTeam display name.
team_short_display_namecharacter
team_logoscharacterTeam logos.
start_period_typecharacter
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_lineinteger
start_textcharacter
end_period_typecharacter
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_textcharacter
time_elapsed_display_valuecharacterHuman-readable duration of time elapsed during the drive or scoring sequence.

drive_plays

col_nametypedescription
drive_idcharacter
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.
prioritylogical
modifiedcharacter
wallclockcharacterWallclock.
team_participantscharacterTeams or participants associated with a specific drive or sequence in the broadcast record.
is_penaltylogical
stat_yardageinteger
is_turnoverlogical
type_idcharacterType id.
type_textcharacterType text.
type_abbreviationcharacter
period_numberintegerPeriod number.
clock_display_valuecharacterClock display value.
start_downinteger
start_distanceinteger
start_yard_lineinteger
start_yards_to_endzoneinteger
start_team_idcharacter
end_downinteger
end_distanceinteger
end_yard_lineintegerString indicating the yardline at the end of the given play consisting of team half and yard line number.
end_yards_to_endzoneinteger
end_down_distance_textcharacter
end_short_down_distance_textcharacter
end_possession_textcharacter
end_team_idcharacter
start_down_distance_textcharacter
start_short_down_distance_textcharacter
start_possession_textcharacter
scoring_type_namecharacter
scoring_type_display_namecharacter
scoring_type_abbreviationcharacter
point_after_attempt_iddouble
point_after_attempt_textcharacter
point_after_attempt_abbreviationcharacter
point_after_attempt_valuedouble

scoring_plays

col_nametypedescription
idcharacterId.
textcharacterText.
away_scoreintegerAway score.
home_scoreintegerHome score.
type_idcharacterType id.
type_textcharacterType text.
type_abbreviationcharacter
period_numberintegerPeriod number.
clock_valuedouble
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_namecharacter
scoring_type_display_namecharacter
scoring_type_abbreviationcharacter

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

Example​

espn_nfl_cdn_playbyplay(game_id='401671881')

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=401671881

API ParameterPythonPatternRequiredNullableDescription
gameIdgame_idYESPN game (event) id.

Returns​

return_parsed=True (default) — a dict of polars.DataFrames keyed by summary section (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

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_attemptscharacter
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_attemptcharacter
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_lostcharacter
fumbles_recoveredcharacter
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_losscharacter
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_yardscharacter
interception_touchdownscharacterNumber of touchdowns scored by the player on interception return plays.
kick_returnscharacter
kick_return_yardscharacter
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_returnscharacter
punt_return_yardscharacter
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_pctcharacter
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_againstcharacter
points_forcharacter
tiescharacter
win_percentcharacterWin percent.
winscharacterWins.
overallcharacter

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_scorelogical
offensive_playsinteger
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_resultcharacter
display_resultcharacter
playscharacter
team_idcharacterTeam id.
team_namecharacterFull display name of the team.
team_abbreviationcharacterTeam abbreviation.
team_display_namecharacterTeam display name.
team_short_display_namecharacter
team_logoscharacterTeam logos.
start_period_typecharacter
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_lineinteger
start_textcharacter
end_period_typecharacter
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_textcharacter
time_elapsed_display_valuecharacterHuman-readable duration of time elapsed during the drive or scoring sequence.

drive_plays

col_nametypedescription
drive_idcharacter
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.
prioritylogical
modifiedcharacter
wallclockcharacterWallclock.
team_participantscharacterTeams or participants associated with a specific drive or sequence in the broadcast record.
is_penaltylogical
stat_yardageinteger
is_turnoverlogical
type_idcharacterType id.
type_textcharacterType text.
type_abbreviationcharacter
period_numberintegerPeriod number.
clock_display_valuecharacterClock display value.
start_downinteger
start_distanceinteger
start_yard_lineinteger
start_yards_to_endzoneinteger
start_team_idcharacter
end_downinteger
end_distanceinteger
end_yard_lineintegerString indicating the yardline at the end of the given play consisting of team half and yard line number.
end_yards_to_endzoneinteger
end_down_distance_textcharacter
end_short_down_distance_textcharacter
end_possession_textcharacter
end_team_idcharacter
start_down_distance_textcharacter
start_short_down_distance_textcharacter
start_possession_textcharacter
scoring_type_namecharacter
scoring_type_display_namecharacter
scoring_type_abbreviationcharacter
point_after_attempt_iddouble
point_after_attempt_textcharacter
point_after_attempt_abbreviationcharacter
point_after_attempt_valuedouble

scoring_plays

col_nametypedescription
idcharacterId.
textcharacterText.
away_scoreintegerAway score.
home_scoreintegerHome score.
type_idcharacterType id.
type_textcharacterType text.
type_abbreviationcharacter
period_numberintegerPeriod number.
clock_valuedouble
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_namecharacter
scoring_type_display_namecharacter
scoring_type_abbreviationcharacter

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

Example​

espn_nfl_cdn_boxscore(game_id='401671881')

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&week=5&year=2024&seasontype=2

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.
uidcharacter
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_yearintegerInteger season year ESPN assigns the event (e.g. 2025 for the 2025-26 season).
season_typeintegerESPN season-type id of the event's season: 1 preseason, 2 regular season, 3 postseason, 4 offseason for the US leagues; soccer competitions carry their own competition-specific ids (e.g. 13481).
season_slugcharacter
status_type_idcharacter
status_type_namecharacter
status_type_statecharacter
status_type_completedlogical
status_type_descriptioncharacter
status_type_detailcharacter
status_type_short_detailcharacter
status_clockdoubleGame clock in seconds as ESPN reports it: time remaining in the period for clock sports, elapsed seconds for soccer (e.g. 5400.0 at full time); 0.0 once a game has ended.
status_display_clockcharacter
status_periodintegerCurrent or final period number (quarter, half, inning or period, depending on the sport).
neutral_sitelogicalWhether the match is played at a neutral venue.
conference_competitionlogical
attendanceinteger
venue_idcharacter
venue_full_namecharacter
venue_citycharacter
venue_statecharacter
venue_indoorlogical
broadcastcharacter
notecharacterEvent note text from the competition (e.g. a series or game label such as 'World Series - Game 1', or a shootout result); an empty string when there is none.
home_idcharacter
home_namecharacter
home_abbreviationcharacter
home_display_namecharacter
home_locationcharacter
home_colorcharacter
home_alternate_colorcharacter
home_logocharacter
home_scorecharacterHome team's score. For cricket, the innings string (e.g. '161/5 (18/20 ov, target 156)').
home_winnerlogical
home_rankcharacter
away_idcharacter
away_namecharacter
away_abbreviationcharacter
away_display_namecharacter
away_locationcharacter
away_colorcharacter
away_alternate_colorcharacter
away_logocharacter
away_scorecharacterAway team's score. For cricket, the innings string.
away_winnerlogical
away_rankcharacter

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

Example​

espn_nfl_cdn_schedule(season=2024, week=5, season_type=2)

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&week=5&year=2024&seasontype=2

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.
uidcharacter
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_yearintegerInteger season year ESPN assigns the event (e.g. 2025 for the 2025-26 season).
season_typeintegerESPN season-type id of the event's season: 1 preseason, 2 regular season, 3 postseason, 4 offseason for the US leagues; soccer competitions carry their own competition-specific ids (e.g. 13481).
season_slugcharacter
status_type_idcharacter
status_type_namecharacter
status_type_statecharacter
status_type_completedlogical
status_type_descriptioncharacter
status_type_detailcharacter
status_type_short_detailcharacter
status_clockdoubleGame clock in seconds as ESPN reports it: time remaining in the period for clock sports, elapsed seconds for soccer (e.g. 5400.0 at full time); 0.0 once a game has ended.
status_display_clockcharacter
status_periodintegerCurrent or final period number (quarter, half, inning or period, depending on the sport).
neutral_sitelogicalWhether the match is played at a neutral venue.
conference_competitionlogical
attendanceinteger
venue_idcharacter
venue_full_namecharacter
venue_citycharacter
venue_statecharacter
venue_indoorlogical
broadcastcharacter
notecharacterEvent note text from the competition (e.g. a series or game label such as 'World Series - Game 1', or a shootout result); an empty string when there is none.
home_idcharacter
home_namecharacter
home_abbreviationcharacter
home_display_namecharacter
home_locationcharacter
home_colorcharacter
home_alternate_colorcharacter
home_logocharacter
home_scorecharacterHome team's score. For cricket, the innings string (e.g. '161/5 (18/20 ov, target 156)').
home_winnerlogical
home_rankcharacter
away_idcharacter
away_namecharacter
away_abbreviationcharacter
away_display_namecharacter
away_locationcharacter
away_colorcharacter
away_alternate_colorcharacter
away_logocharacter
away_scorecharacterAway team's score. For cricket, the innings string.
away_winnerlogical
away_rankcharacter

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

Example​

espn_nfl_cdn_scoreboard(season=2024, week=5, season_type=2)

Last validated n/a.