Skip to main content

College football — ESPN CDN API (cdn.espn.com)

sportsdataverse.cfb — 5 endpoints.

espn_cfb_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/college-football/playbyplay

Valid URL: https://cdn.espn.com/core/college-football/playbyplay?xhr=1&gameId=401628551

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_idInt64Team id.
team_abbreviationStringTeam abbreviation.
team_display_nameStringTeam display name.
team_locationStringTeam location.
athlete_idInt64Athlete id.
athlete_display_nameStringAthlete display name.
athlete_short_nameStringAthlete short name.
athlete_jerseyStringAthlete jersey.
athlete_positionStringAthlete position.
starterStringStarter.
activeStringActive.
did_not_playStringDid not play.
ejectedStringEjected.
reasonStringReason.
completions/passing_attemptsStringPass completion ratio for the player in the box score, expressed as completions divided by pass attempts.
passing_yardsString
yards_per_pass_attemptStringAverage passing yards gained per pass attempt by the player in the box score.
passing_touchdownsStringNumber of touchdown passes thrown by the player in the box score.
interceptionsStringPassing interceptions.
adj_qbrStringESPN's Adjusted Quarterback Rating for the player, measuring overall passing efficiency on a 0-100 scale.
rushing_attemptsStringTeam rushing attempts.
rushing_yardsStringTeam rushing yards.
yards_per_rush_attemptStringTeam yards per rush attempt.
rushing_touchdownsStringNumber of rushing touchdowns scored by the player in the box score.
long_rushingStringLongest single rushing gain recorded by the player in the game.
receptionsString
receiving_yardsString
yards_per_receptionStringAverage receiving yards gained per reception by the player in the box score.
receiving_touchdownsStringNumber of receiving touchdowns scored by the player in the box score.
long_receptionStringLongest single reception recorded by the player in the game.
fumblesStringNumber of fumbles committed by the player in the box score.
fumbles_lostStringFumbles lost.
fumbles_recoveredStringTeam fumbles recovered.
total_tacklesStringTotal tackles recorded by the player, including both solo and assisted tackles.
solo_tacklesStringNumber of unassisted tackles recorded by the player in the box score.
sacksStringTeam sacks.
tackles_for_lossStringTeam tackles for a loss.
passes_defendedStringNumber of pass plays disrupted or broken up by the defensive player in the game.
hurriesStringNumber of times the player pressured the opposing passer into an early or errant throw.
defensive_touchdownsStringNumber of touchdowns scored by the player via defensive plays such as interception or fumble returns.
kick_returnsStringNumber of kick returns.
kick_return_yardsStringTeam kick return yards.
yards_per_kick_returnStringAverage yards gained per kick return by the player in the box score.
long_kick_returnStringLongest single kick return yardage recorded by the player in the game.
kick_return_touchdownsStringNumber of touchdowns scored on kick returns by the player in the box score.
punt_returnsStringNumber of punt returns.
punt_return_yardsStringTeam punt return yards.
yards_per_punt_returnStringAverage yards gained per punt return by the player in the box score.
long_punt_returnStringLongest single punt return yardage recorded by the player in the game.
punt_return_touchdownsStringNumber of touchdowns scored on punt returns by the player in the box score.
field_goals_made/field_goal_attemptsStringField goal conversion ratio for the player, expressed as field goals made divided by attempts.
field_goal_pctString
long_field_goal_madeStringDistance of the longest successful field goal kicked by the player in the game.
extra_points_made/extra_point_attemptsStringExtra point conversion ratio for the player, expressed as extra points made divided by attempts.
total_kicking_pointsStringTotal points contributed by the player through field goals and extra points in the game.
puntsStringTotal number of punts executed by the player in the box score.
punt_yardsStringTotal yardage of all punts executed by the player in the game.
gross_avg_punt_yardsStringAverage gross punt distance before accounting for returns, recorded for the player in the game.
touchbacksStringNumber of punts or kick-offs by the player that resulted in the opposing team starting from their own end zone.
punts_inside20StringNumber of punts by the player that were downed or stopped inside the opposing team's 20-yard line.
long_puntStringDistance of the longest individual punt executed by the player in the game.

boxscore_team

col_nametypedescription
team_idInt64Team id.
team_abbreviationStringTeam abbreviation.
team_display_nameStringTeam display name.
home_awayStringHome away.
display_orderInt64Display order.
stat_nameStringStat name.
stat_labelStringStat label.
stat_display_valueStringStat display value.
stat_valueStringStat value.

winprobability

col_nametypedescription
home_win_percentageFloat64Home win percentage.
tie_percentageFloat64Tie percentage.
play_idInt64Play id.

leaders

col_nametypedescription
team_idInt64Team id.
team_abbreviationStringTeam abbreviation.
category_nameStringCategory name.
category_display_nameStringCategory display name.
athlete_idInt64Athlete id.
athlete_display_nameStringAthlete display name.
athlete_positionStringAthlete position.
valueFloat64Value.
display_valueStringDisplay value.
main_statStringMain stat.
summaryStringSummary.

game_info

col_nametypedescription
attendanceInt64Attendance.
venue_idInt64Venue id.
venue_guidStringVenue guid.
venue_full_nameStringVenue full name.
venue_address_cityStringVenue address city.
venue_address_stateStringVenue address state.
venue_address_zip_codeStringPostal zip code of the venue where the game was played.
venue_address_countryStringCountry of the venue where the game was played.
venue_grassBooleanVenue grass.

header

col_nametypedescription
idInt64Id.
uidStringUid.
time_validBooleanTime valid.
competitionsStringCompetitions.
linksStringLinks.
weekInt64Game week of the season.
game_noteStringOptional editorial note or context annotation attached to the game in the header.
season_yearInt64Season year.
season_currentBooleanSeason current.
season_typeInt64Season type.
league_idInt64League id.
league_uidStringLeague uid.
league_nameStringLeague name.
league_abbreviationStringLeague abbreviation.
league_midsize_nameStringMedium-length display name for the league or competition as shown in the game header.
league_slugStringLeague slug.
league_is_tournamentBooleanLeague is tournament.
league_linksStringLeague links.
league_logosStringLeague logos.

standings

col_nametypedescription
group_headerStringGroup header.
conference_headerStringConference header.
division_headerStringDivision header.
team_idInt64Team id.
team_uidStringTeam uid.
team_locationStringTeam location.
overallStringOverall draft pick number.
vs. conf.StringTeam's record against conference opponents, shown as part of the standings snapshot in the box score.

broadcasts

col_nametypedescription
stationStringBroadcast station / network name (e.g. ESPN+).
station_keyStringMachine-readable key identifying the broadcasting station airing the game.
langStringBroadcast language code.
regionStringBroadcast region code.
is_nationalBooleanBoolean flag indicating whether the broadcast is a nationally distributed feed.
type_idInt64Type id.
type_short_nameString
type_long_nameString
type_slugStringBroadcast-type slug (e.g. streaming, tv).
market_idInt64ESPN futures-market identifier.
market_typeStringGeographic market type (e.g. National).
media_call_lettersStringBroadcast call letters for the outlet.
media_nameStringESPN media name for the outlet.
media_short_nameStringShort ESPN media name for the outlet.

format

col_nametypedescription
regulation_periodsInt64Regulation periods.
regulation_display_nameStringRegulation display name.
regulation_slugStringRegulation slug.
regulation_clockFloat64Regulation clock.
overtime_display_nameStringOvertime display name.
overtime_slugStringOvertime slug.
sudden_death_periodsInt64Number of sudden-death overtime periods defined in the game format rules.

article

col_nametypedescription
idInt64Id.
now_idStringNow id.
content_keyStringContent key.
data_source_identifierStringData source identifier.
publishedkeyStringPublishedkey.
typeStringType.
game_idInt64Game id.
headlineStringHeadline.
descriptionStringDescription.
link_textStringLink text.
categorizedStringCategorized.
originally_postedStringOriginally posted.
last_modifiedStringLast modified.
publishedStringPublished.
sectionStringSection.
sourceStringSource.
imagesStringImages.
videoStringVideo.
categoriesStringCategories.
keywordsStringKeywords.
storyStringStory.
premiumBooleanPremium.
is_live_blogBooleanIs live blog.
allow_commentsBooleanAllow comments.
allow_searchBooleanAllow search.
allow_content_reactionsBooleanAllow content reactions.
links_web_hrefStringLinks web href.
links_mobile_hrefStringLinks mobile href.
links_api_self_hrefStringLinks api self href.
links_app_sportscenter_hrefStringLinks app sportscenter href.

news

col_nametypedescription
idInt64Id.
now_idStringNow id.
content_keyStringContent key.
data_source_identifierStringData source identifier.
typeStringType.
headlineStringHeadline.
descriptionStringDescription.
last_modifiedStringLast modified.
publishedStringPublished.
imagesStringImages.
categoriesStringCategories.
premiumBooleanPremium.
links_web_hrefStringLinks web href.
links_web_self_hrefStringURL for the canonical web page of the associated article or editorial content.
links_web_self_dsi_hrefStringData-source-identified URL for the web page of the associated article content.
links_api_self_hrefStringLinks api self href.
links_api_artwork_hrefStringAPI endpoint URL for artwork or imagery associated with the article.
links_sportscenter_hrefStringURL for the article's page on ESPN's SportsCenter platform.
bylineStringByline.
links_mobile_hrefStringLinks mobile href.
links_app_sportscenter_hrefStringLinks app sportscenter href.

drives

col_nametypedescription
idInt64Id.
descriptionStringDescription.
yardsInt64Total yards gained on the drive.
is_scoreBooleanTRUE if the drive resulted in a score.
offensive_playsInt64Number of offensive plays on the drive.
resultStringDrive result code (e.g. PUNT, TD).
short_display_resultStringShort drive-result label.
display_resultStringDrive-result label (e.g. Punt, Touchdown).
playsStringTotal qualifying passing plays included in the WEPA calculation.
team_idInt64Team id.
team_nameStringFull display name of the team.
team_abbreviationStringTeam abbreviation.
team_display_nameStringTeam display name.
team_short_display_nameStringShort team display name.
team_logosStringTeam logos.
start_period_typeStringPeriod type at the start of the drive (e.g. quarter).
start_period_numberInt64Period or quarter number in which the drive or sequence began.
start_clock_display_valueStringGame clock time displayed at the start of the drive or scoring sequence.
start_yard_lineInt64Yard line at the start of the play.
start_textStringField-position text at the start of the drive.
end_period_typeStringPeriod type at the end of the drive (e.g. quarter).
end_period_numberInt64Period or quarter number in which the drive or sequence ended.
end_clock_display_valueStringGame clock time displayed at the end of the drive or scoring sequence.
end_yard_lineInt64Yard line at the end of the play.
end_textStringField-position text at the end of the drive.
time_elapsed_display_valueStringHuman-readable duration of time elapsed during the drive or scoring sequence.

drive_plays

col_nametypedescription
drive_idInt64CFBD drive identifier the play belongs to.
drive_sequenceInt64Sequential position of the drive within the game's broadcast or play-by-play listing.
idInt64Id.
sequence_numberStringSequence number.
textStringText.
away_scoreInt64Away score.
home_scoreInt64Home score.
scoring_playBooleanScoring play.
priorityBooleanTRUE if ESPN flags the play as a priority highlight.
modifiedStringISO timestamp the play record was last modified.
wallclockStringWallclock.
team_participantsStringTeams or participants associated with a specific drive or sequence in the broadcast record.
is_penaltyBooleanTRUE if the play was a penalty.
stat_yardageInt64Yards gained or lost on the play.
is_turnoverBooleanTRUE if the play was a turnover.
type_idInt64Type id.
type_textStringType text.
type_abbreviationStringPlay-type abbreviation (e.g. RUSH, TD).
period_numberInt64Period number.
clock_display_valueStringClock display value.
start_downInt64Down at the start of the play.
start_distanceInt64Yards to go at the start of the play.
start_yard_lineInt64Yard line at the start of the play.
start_yards_to_endzoneInt64Yards to the end zone at the start of the play.
start_team_idInt64ESPN team id in possession at the start of the play.
end_downInt64Down at the end of the play.
end_distanceInt64Yards to go at the end of the play.
end_yard_lineInt64Yard line at the end of the play.
end_yards_to_endzoneInt64Yards to the end zone at the end of the play.
end_down_distance_textStringDown-and-distance text at the end of the play.
end_short_down_distance_textStringShort down-and-distance text at the end of the play.
end_possession_textStringField-position text at the end of the play.
end_team_idInt64ESPN team id in possession at the end of the play.
start_down_distance_textStringDown-and-distance text at the start of the play.
start_short_down_distance_textStringShort down-and-distance text at the start of the play.
start_possession_textStringField-position text at the start of the play.
scoring_type_nameStringScoring-type key on a scoring play (e.g. touchdown).
scoring_type_display_nameStringHuman-readable scoring-type name.
scoring_type_abbreviationStringScoring-type abbreviation (e.g. TD, FG).
point_after_attempt_idInt64Point-after-attempt id on a scoring play.
point_after_attempt_textStringPoint-after-attempt text (e.g. Extra Point Good).
point_after_attempt_abbreviationStringPoint-after-attempt abbreviation.
point_after_attempt_valueFloat64Points added by the point-after attempt.
media_idInt64ESPN media id for the outlet.

scoring_plays

col_nametypedescription
idInt64Id.
textStringText.
away_scoreInt64Away score.
home_scoreInt64Home score.
type_idInt64Type id.
type_textStringType text.
type_abbreviationStringPlay-type abbreviation (e.g. RUSH, TD).
period_numberInt64Period number.
clock_valueFloat64
clock_display_valueStringClock display value.
team_idInt64Team id.
team_uidStringTeam uid.
team_display_nameStringTeam display name.
team_abbreviationStringTeam abbreviation.
team_linksStringTeam links.
team_logoStringTeam logo.
team_logosStringTeam logos.
scoring_type_nameStringScoring-type key on a scoring play (e.g. touchdown).
scoring_type_display_nameStringHuman-readable scoring-type name.
scoring_type_abbreviationStringScoring-type abbreviation (e.g. TD, FG).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

espn_cfb_cdn_playbyplay(game_id='401628551')

espn_cfb_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/college-football/boxscore

Valid URL: https://cdn.espn.com/core/college-football/boxscore?xhr=1&gameId=401628551

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_idInt64Team id.
team_abbreviationStringTeam abbreviation.
team_display_nameStringTeam display name.
team_locationStringTeam location.
athlete_idInt64Athlete id.
athlete_display_nameStringAthlete display name.
athlete_short_nameStringAthlete short name.
athlete_jerseyStringAthlete jersey.
athlete_positionStringAthlete position.
starterStringStarter.
activeStringActive.
did_not_playStringDid not play.
ejectedStringEjected.
reasonStringReason.
completions/passing_attemptsStringPass completion ratio for the player in the box score, expressed as completions divided by pass attempts.
passing_yardsString
yards_per_pass_attemptStringAverage passing yards gained per pass attempt by the player in the box score.
passing_touchdownsStringNumber of touchdown passes thrown by the player in the box score.
interceptionsStringPassing interceptions.
adj_qbrStringESPN's Adjusted Quarterback Rating for the player, measuring overall passing efficiency on a 0-100 scale.
rushing_attemptsStringTeam rushing attempts.
rushing_yardsStringTeam rushing yards.
yards_per_rush_attemptStringTeam yards per rush attempt.
rushing_touchdownsStringNumber of rushing touchdowns scored by the player in the box score.
long_rushingStringLongest single rushing gain recorded by the player in the game.
receptionsString
receiving_yardsString
yards_per_receptionStringAverage receiving yards gained per reception by the player in the box score.
receiving_touchdownsStringNumber of receiving touchdowns scored by the player in the box score.
long_receptionStringLongest single reception recorded by the player in the game.
fumblesStringNumber of fumbles committed by the player in the box score.
fumbles_lostStringFumbles lost.
fumbles_recoveredStringTeam fumbles recovered.
total_tacklesStringTotal tackles recorded by the player, including both solo and assisted tackles.
solo_tacklesStringNumber of unassisted tackles recorded by the player in the box score.
sacksStringTeam sacks.
tackles_for_lossStringTeam tackles for a loss.
passes_defendedStringNumber of pass plays disrupted or broken up by the defensive player in the game.
hurriesStringNumber of times the player pressured the opposing passer into an early or errant throw.
defensive_touchdownsStringNumber of touchdowns scored by the player via defensive plays such as interception or fumble returns.
kick_returnsStringNumber of kick returns.
kick_return_yardsStringTeam kick return yards.
yards_per_kick_returnStringAverage yards gained per kick return by the player in the box score.
long_kick_returnStringLongest single kick return yardage recorded by the player in the game.
kick_return_touchdownsStringNumber of touchdowns scored on kick returns by the player in the box score.
punt_returnsStringNumber of punt returns.
punt_return_yardsStringTeam punt return yards.
yards_per_punt_returnStringAverage yards gained per punt return by the player in the box score.
long_punt_returnStringLongest single punt return yardage recorded by the player in the game.
punt_return_touchdownsStringNumber of touchdowns scored on punt returns by the player in the box score.
field_goals_made/field_goal_attemptsStringField goal conversion ratio for the player, expressed as field goals made divided by attempts.
field_goal_pctString
long_field_goal_madeStringDistance of the longest successful field goal kicked by the player in the game.
extra_points_made/extra_point_attemptsStringExtra point conversion ratio for the player, expressed as extra points made divided by attempts.
total_kicking_pointsStringTotal points contributed by the player through field goals and extra points in the game.
puntsStringTotal number of punts executed by the player in the box score.
punt_yardsStringTotal yardage of all punts executed by the player in the game.
gross_avg_punt_yardsStringAverage gross punt distance before accounting for returns, recorded for the player in the game.
touchbacksStringNumber of punts or kick-offs by the player that resulted in the opposing team starting from their own end zone.
punts_inside20StringNumber of punts by the player that were downed or stopped inside the opposing team's 20-yard line.
long_puntStringDistance of the longest individual punt executed by the player in the game.

boxscore_team

col_nametypedescription
team_idInt64Team id.
team_abbreviationStringTeam abbreviation.
team_display_nameStringTeam display name.
home_awayStringHome away.
display_orderInt64Display order.
stat_nameStringStat name.
stat_labelStringStat label.
stat_display_valueStringStat display value.
stat_valueStringStat value.

winprobability

col_nametypedescription
home_win_percentageFloat64Home win percentage.
tie_percentageFloat64Tie percentage.
play_idInt64Play id.

leaders

col_nametypedescription
team_idInt64Team id.
team_abbreviationStringTeam abbreviation.
category_nameStringCategory name.
category_display_nameStringCategory display name.
athlete_idInt64Athlete id.
athlete_display_nameStringAthlete display name.
athlete_positionStringAthlete position.
valueFloat64Value.
display_valueStringDisplay value.
main_statStringMain stat.
summaryStringSummary.

game_info

col_nametypedescription
attendanceInt64Attendance.
venue_idInt64Venue id.
venue_guidStringVenue guid.
venue_full_nameStringVenue full name.
venue_address_cityStringVenue address city.
venue_address_stateStringVenue address state.
venue_address_zip_codeStringPostal zip code of the venue where the game was played.
venue_address_countryStringCountry of the venue where the game was played.
venue_grassBooleanVenue grass.

header

col_nametypedescription
idInt64Id.
uidStringUid.
time_validBooleanTime valid.
competitionsStringCompetitions.
linksStringLinks.
weekInt64Game week of the season.
game_noteStringOptional editorial note or context annotation attached to the game in the header.
season_yearInt64Season year.
season_currentBooleanSeason current.
season_typeInt64Season type.
league_idInt64League id.
league_uidStringLeague uid.
league_nameStringLeague name.
league_abbreviationStringLeague abbreviation.
league_midsize_nameStringMedium-length display name for the league or competition as shown in the game header.
league_slugStringLeague slug.
league_is_tournamentBooleanLeague is tournament.
league_linksStringLeague links.
league_logosStringLeague logos.

standings

col_nametypedescription
group_headerStringGroup header.
conference_headerStringConference header.
division_headerStringDivision header.
team_idInt64Team id.
team_uidStringTeam uid.
team_locationStringTeam location.
overallStringOverall draft pick number.
vs. conf.StringTeam's record against conference opponents, shown as part of the standings snapshot in the box score.

broadcasts

col_nametypedescription
stationStringBroadcast station / network name (e.g. ESPN+).
station_keyStringMachine-readable key identifying the broadcasting station airing the game.
langStringBroadcast language code.
regionStringBroadcast region code.
is_nationalBooleanBoolean flag indicating whether the broadcast is a nationally distributed feed.
type_idInt64Type id.
type_short_nameString
type_long_nameString
type_slugStringBroadcast-type slug (e.g. streaming, tv).
market_idInt64ESPN futures-market identifier.
market_typeStringGeographic market type (e.g. National).
media_call_lettersStringBroadcast call letters for the outlet.
media_nameStringESPN media name for the outlet.
media_short_nameStringShort ESPN media name for the outlet.

format

col_nametypedescription
regulation_periodsInt64Regulation periods.
regulation_display_nameStringRegulation display name.
regulation_slugStringRegulation slug.
regulation_clockFloat64Regulation clock.
overtime_display_nameStringOvertime display name.
overtime_slugStringOvertime slug.
sudden_death_periodsInt64Number of sudden-death overtime periods defined in the game format rules.

article

col_nametypedescription
idInt64Id.
now_idStringNow id.
content_keyStringContent key.
data_source_identifierStringData source identifier.
publishedkeyStringPublishedkey.
typeStringType.
game_idInt64Game id.
headlineStringHeadline.
descriptionStringDescription.
link_textStringLink text.
categorizedStringCategorized.
originally_postedStringOriginally posted.
last_modifiedStringLast modified.
publishedStringPublished.
sectionStringSection.
sourceStringSource.
imagesStringImages.
videoStringVideo.
categoriesStringCategories.
keywordsStringKeywords.
storyStringStory.
premiumBooleanPremium.
is_live_blogBooleanIs live blog.
allow_commentsBooleanAllow comments.
allow_searchBooleanAllow search.
allow_content_reactionsBooleanAllow content reactions.
links_web_hrefStringLinks web href.
links_mobile_hrefStringLinks mobile href.
links_api_self_hrefStringLinks api self href.
links_app_sportscenter_hrefStringLinks app sportscenter href.

news

col_nametypedescription
idInt64Id.
now_idStringNow id.
content_keyStringContent key.
data_source_identifierStringData source identifier.
typeStringType.
headlineStringHeadline.
descriptionStringDescription.
last_modifiedStringLast modified.
publishedStringPublished.
imagesStringImages.
categoriesStringCategories.
premiumBooleanPremium.
links_web_hrefStringLinks web href.
links_web_self_hrefStringURL for the canonical web page of the associated article or editorial content.
links_web_self_dsi_hrefStringData-source-identified URL for the web page of the associated article content.
links_api_self_hrefStringLinks api self href.
links_api_artwork_hrefStringAPI endpoint URL for artwork or imagery associated with the article.
links_sportscenter_hrefStringURL for the article's page on ESPN's SportsCenter platform.
bylineStringByline.
links_mobile_hrefStringLinks mobile href.
links_app_sportscenter_hrefStringLinks app sportscenter href.

drives

col_nametypedescription
idInt64Id.
descriptionStringDescription.
yardsInt64Total yards gained on the drive.
is_scoreBooleanTRUE if the drive resulted in a score.
offensive_playsInt64Number of offensive plays on the drive.
resultStringDrive result code (e.g. PUNT, TD).
short_display_resultStringShort drive-result label.
display_resultStringDrive-result label (e.g. Punt, Touchdown).
playsStringTotal qualifying passing plays included in the WEPA calculation.
team_idInt64Team id.
team_nameStringFull display name of the team.
team_abbreviationStringTeam abbreviation.
team_display_nameStringTeam display name.
team_short_display_nameStringShort team display name.
team_logosStringTeam logos.
start_period_typeStringPeriod type at the start of the drive (e.g. quarter).
start_period_numberInt64Period or quarter number in which the drive or sequence began.
start_clock_display_valueStringGame clock time displayed at the start of the drive or scoring sequence.
start_yard_lineInt64Yard line at the start of the play.
start_textStringField-position text at the start of the drive.
end_period_typeStringPeriod type at the end of the drive (e.g. quarter).
end_period_numberInt64Period or quarter number in which the drive or sequence ended.
end_clock_display_valueStringGame clock time displayed at the end of the drive or scoring sequence.
end_yard_lineInt64Yard line at the end of the play.
end_textStringField-position text at the end of the drive.
time_elapsed_display_valueStringHuman-readable duration of time elapsed during the drive or scoring sequence.

drive_plays

col_nametypedescription
drive_idInt64CFBD drive identifier the play belongs to.
drive_sequenceInt64Sequential position of the drive within the game's broadcast or play-by-play listing.
idInt64Id.
sequence_numberStringSequence number.
textStringText.
away_scoreInt64Away score.
home_scoreInt64Home score.
scoring_playBooleanScoring play.
priorityBooleanTRUE if ESPN flags the play as a priority highlight.
modifiedStringISO timestamp the play record was last modified.
wallclockStringWallclock.
team_participantsStringTeams or participants associated with a specific drive or sequence in the broadcast record.
is_penaltyBooleanTRUE if the play was a penalty.
stat_yardageInt64Yards gained or lost on the play.
is_turnoverBooleanTRUE if the play was a turnover.
type_idInt64Type id.
type_textStringType text.
type_abbreviationStringPlay-type abbreviation (e.g. RUSH, TD).
period_numberInt64Period number.
clock_display_valueStringClock display value.
start_downInt64Down at the start of the play.
start_distanceInt64Yards to go at the start of the play.
start_yard_lineInt64Yard line at the start of the play.
start_yards_to_endzoneInt64Yards to the end zone at the start of the play.
start_team_idInt64ESPN team id in possession at the start of the play.
end_downInt64Down at the end of the play.
end_distanceInt64Yards to go at the end of the play.
end_yard_lineInt64Yard line at the end of the play.
end_yards_to_endzoneInt64Yards to the end zone at the end of the play.
end_down_distance_textStringDown-and-distance text at the end of the play.
end_short_down_distance_textStringShort down-and-distance text at the end of the play.
end_possession_textStringField-position text at the end of the play.
end_team_idInt64ESPN team id in possession at the end of the play.
start_down_distance_textStringDown-and-distance text at the start of the play.
start_short_down_distance_textStringShort down-and-distance text at the start of the play.
start_possession_textStringField-position text at the start of the play.
scoring_type_nameStringScoring-type key on a scoring play (e.g. touchdown).
scoring_type_display_nameStringHuman-readable scoring-type name.
scoring_type_abbreviationStringScoring-type abbreviation (e.g. TD, FG).
point_after_attempt_idInt64Point-after-attempt id on a scoring play.
point_after_attempt_textStringPoint-after-attempt text (e.g. Extra Point Good).
point_after_attempt_abbreviationStringPoint-after-attempt abbreviation.
point_after_attempt_valueFloat64Points added by the point-after attempt.
media_idInt64ESPN media id for the outlet.

scoring_plays

col_nametypedescription
idInt64Id.
textStringText.
away_scoreInt64Away score.
home_scoreInt64Home score.
type_idInt64Type id.
type_textStringType text.
type_abbreviationStringPlay-type abbreviation (e.g. RUSH, TD).
period_numberInt64Period number.
clock_valueFloat64
clock_display_valueStringClock display value.
team_idInt64Team id.
team_uidStringTeam uid.
team_display_nameStringTeam display name.
team_abbreviationStringTeam abbreviation.
team_linksStringTeam links.
team_logoStringTeam logo.
team_logosStringTeam logos.
scoring_type_nameStringScoring-type key on a scoring play (e.g. touchdown).
scoring_type_display_nameStringHuman-readable scoring-type name.
scoring_type_abbreviationStringScoring-type abbreviation (e.g. TD, FG).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

espn_cfb_cdn_boxscore(game_id='401628551')

espn_cfb_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/college-football/schedule

Valid URL: https://cdn.espn.com/core/college-football/schedule?xhr=1&week=12&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_idInt64ESPN event id.
uidStringESPN global unique identifier.
dateStringMatch start timestamp (ISO 8601, UTC).
nameStringFull event name (e.g. 'Team A at Team B').
short_nameStringAbbreviated event name (e.g. 'TA @ TB').
season_yearInt64Integer season year ESPN assigns the event (e.g. 2025 for the 2025-26 season).
season_typeInt64ESPN 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_slugStringESPN slug of the event's season type (e.g. 'regular-season', 'post-season'; soccer competitions use their own, such as 'final' or 'torneo-apertura').
status_type_idInt64
status_type_nameString
status_type_stateString
status_type_completedBoolean
status_type_descriptionString
status_type_detailString
status_type_short_detailString
status_clockFloat64Game 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_clockString
status_periodInt64Current or final period number (quarter, half, inning or period, depending on the sport).
neutral_siteBooleanWhether the match is played at a neutral venue.
conference_competitionBoolean
attendanceInt64Reported attendance at the game.
venue_idInt64Referencing venue id.
venue_full_nameString
venue_cityStringCity where the venue is located.
venue_stateStringState (or province/country) where the venue is located.
venue_indoorBooleanWhether the home venue is indoors.
broadcastStringEvery network name of the competition in feed order, deduped and ", "-joined (an entry with no names gives its market); "" when the game lists no broadcast.
noteStringEvent 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_idInt64Home team referencing id.
home_nameString
home_abbreviationString
home_display_nameString
home_locationString
home_colorString
home_alternate_colorString
home_logoString
home_scoreStringHome team's score. For cricket, the innings string (e.g. '161/5 (18/20 ov, target 156)').
home_winnerBoolean
home_rankString
away_idInt64Away team referencing id.
away_nameString
away_abbreviationString
away_display_nameString
away_locationString
away_colorString
away_alternate_colorString
away_logoString
away_scoreStringAway team's score. For cricket, the innings string.
away_winnerBoolean
away_rankString

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

espn_cfb_cdn_schedule(season=2024, week=12, season_type=2)

espn_cfb_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/college-football/scoreboard

Valid URL: https://cdn.espn.com/core/college-football/scoreboard?xhr=1&week=12&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_idInt64ESPN event id.
uidStringESPN global unique identifier.
dateStringMatch start timestamp (ISO 8601, UTC).
nameStringFull event name (e.g. 'Team A at Team B').
short_nameStringAbbreviated event name (e.g. 'TA @ TB').
season_yearInt64Integer season year ESPN assigns the event (e.g. 2025 for the 2025-26 season).
season_typeInt64ESPN 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_slugStringESPN slug of the event's season type (e.g. 'regular-season', 'post-season'; soccer competitions use their own, such as 'final' or 'torneo-apertura').
status_type_idInt64
status_type_nameString
status_type_stateString
status_type_completedBoolean
status_type_descriptionString
status_type_detailString
status_type_short_detailString
status_clockFloat64Game 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_clockString
status_periodInt64Current or final period number (quarter, half, inning or period, depending on the sport).
neutral_siteBooleanWhether the match is played at a neutral venue.
conference_competitionBoolean
attendanceInt64Reported attendance at the game.
venue_idInt64Referencing venue id.
venue_full_nameString
venue_cityStringCity where the venue is located.
venue_stateStringState (or province/country) where the venue is located.
venue_indoorBooleanWhether the home venue is indoors.
broadcastStringEvery network name of the competition in feed order, deduped and ", "-joined (an entry with no names gives its market); "" when the game lists no broadcast.
noteStringEvent 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_idInt64Home team referencing id.
home_nameString
home_abbreviationString
home_display_nameString
home_locationString
home_colorString
home_alternate_colorString
home_logoString
home_scoreStringHome team's score. For cricket, the innings string (e.g. '161/5 (18/20 ov, target 156)').
home_winnerBoolean
home_rankString
away_idInt64Away team referencing id.
away_nameString
away_abbreviationString
away_display_nameString
away_locationString
away_colorString
away_alternate_colorString
away_logoString
away_scoreStringAway team's score. For cricket, the innings string.
away_winnerBoolean
away_rankString

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

espn_cfb_cdn_scoreboard(season=2024, week=12, season_type=2)

espn_cfb_cdn_rankings​

espn.com poll rankings page data: every poll (AP, Coaches, FCS, Division II and III) for one week, one row per ranked or vote-receiving team.

Endpoint URL: GET https://cdn.espn.com/core/college-football/rankings

Valid URL: https://cdn.espn.com/core/college-football/rankings?xhr=1&week=5&year=2024&seasontype=2

API ParameterPythonPatternRequiredNullableDescription
weekweekYPoll week. Defaults to the current week.
yearseasonYSeason year. Defaults to the current season.
seasontypeseason_typeYSeason phase: 1=preseason, 2=regular season, 3=postseason.

Returns​

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

col_nametypedescription
poll_idInt64ESPN poll id, e.g. 1 = AP Top 25, 2 = AFCA Coaches Poll, 20 = FCS Coaches Poll, 11 / 12 = AFCA Division II / III Coaches Poll.
poll_nameStringFull poll name, e.g. 'AP Top 25', 'AFCA Coaches Poll', 'FCS Coaches Poll'.
poll_short_nameStringShort poll label, e.g. 'AP Poll'.
rankedBooleanTRUE for the poll's ranked teams; FALSE for teams that only received votes, whose rows carry just the team name and points.
team_idInt64ESPN team id (Int64, like scoreboard home_id / away_id), read from team_url. Null on vote-receiving rows and on teams ESPN does not link (most Division II and III entries), so join on it only where present.
team_display_nameStringTeam name as the poll page shows it.
trendStringMovement since the previous poll as ESPN prints it, e.g. '+3', '-2', or '-' for no change.
formatted_recordStringTeam's win-loss record at the poll date, e.g. '4-0'.
first_place_votesInt64First-place votes received. Null on vote-receiving rows.
rankInt64Position in the poll (1 = top). Null on vote-receiving rows.
previous_rankInt64Position in the previous week's poll. Null on vote-receiving rows.
team_abbreviationStringShort team code ESPN displays, e.g. 'TEX'.
team_urlStringespn.com team page URL. Absent for teams ESPN does not link.
team_logoStringURL of the team logo on ESPN's CDN.
pointsInt64Poll points received.

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

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