Skip to main content
Version: 0.0.70

CRICKET — ESPN site API (v2)

sportsdataverse.cricket — 24 endpoints.

espn_cricket_scoreboard

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/scoreboard

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/scoreboard?dates=20240115

API ParameterPythonPatternRequiredNullableDescription
datesdatesYDate or date range filter (YYYYMMDD or YYYYMMDD-YYYYMMDD).
weekweekYWeek number within the season (football).
seasontypeseason_typeYSeason phase: 1=preseason, 2=regular season, 3=postseason.
groupsgroupsYConference or group id filter (e.g. an ESPN conference id).
limitlimitYMaximum number of items to return.

Returns

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

col_nametypedescription
event_idcharacterESPN event id for the match.
datecharacterMatch start timestamp (ISO 8601, UTC).
namecharacterFull event name (e.g. 'Team A at Team B').
short_namecharacterAbbreviated event name (e.g. 'TA @ TB').
home_teamcharacterHome team display name.
home_team_idcharacterHome team ESPN id.
home_scorecharacterHome team's score. For cricket, the innings string (e.g. '161/5 (18/20 ov, target 156)').
away_teamcharacterAway team display name.
away_team_idcharacterAway team ESPN id.
away_scorecharacterAway team's score. For cricket, the innings string.
statuscharacterStatus type name (e.g. STATUS_FINAL, STATUS_SCHEDULED, STATUS_IN_PROGRESS).
status_detailcharacterHuman-readable status detail (e.g. 'Final', the over/innings summary).
venuecharacterFull name of the venue where the match was played.
neutral_sitelogicalWhether the match is played at a neutral venue.

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

Example

espn_cricket_scoreboard(dates='20240115')

Last validated n/a.

espn_cricket_summary

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/summary

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/summary

API ParameterPythonPatternRequiredNullableDescription
eventevent_idYevent query parameter.

Returns

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

col_nametypedescription
idcharacterID of the player in the 'name' column.
uidcharacterESPN UID string.
time_validlogicalWhether the start time is confirmed.
season_yearintegerSeason year string ('YYYY-YY' format).
season_typeintegerESPN season-phase numeric code (1=pre-season, 2=regular season, 3=postseason, 4=off-season).
season_slugcharacterSeason slug.
league_idcharacterESPN numeric identifier for the league or competition.
league_namecharacterLeague name.
league_abbreviationcharacterAbbreviation for the league or competition the game belongs to.
competition_idcharacterESPN numeric identifier for the primary competition (game) in the header.
competition_datecharacterDate and time of the competition as recorded in the game header.
neutral_sitelogicalNeutral site.
status_namecharacterStatus label.
status_descriptioncharacterRoster status description (e.g. 'Active').
is_finalcharacterBoolean flag indicating whether the game has reached a final or completed status.

matchcards_batting

col_nametypedescription
innings_numbercharacterInnings number within the match to which this batting or bowling entry belongs.
team_namecharacterFull display name of the team.
totalcharacterTotal.
runs_totalcharacterTotal runs scored by the team or batting side in this innings.
extrascharacterAdditional runs awarded to the batting side from wides, no-balls, byes, or leg byes in this innings.
player_idcharacterUnique player identifier.
player_namecharacterPlayer name.
dismissalcharacterMethod by which the batter was dismissed in this innings (e.g., caught, bowled, run out).
runscharacterRuns scored.
balls_facedcharacterTotal number of balls faced by the batter during their innings.
fourscharacterNumber of boundaries hit for four runs by the batter in this innings.
sixescharacterNumber of boundaries hit for six runs by the batter in this innings.

matchcards_bowling

col_nametypedescription
innings_numbercharacterInnings number within the match to which this batting or bowling entry belongs.
team_namecharacterFull display name of the team.
player_idcharacterUnique player identifier.
player_namecharacterPlayer name.
overscharacterNumber of overs bowled by the bowler in this innings.
maidenscharacterNumber of maiden overs bowled by the bowler in this innings, in which no runs were conceded.
concededcharacterTotal runs conceded by the bowler during their spell in this innings.
wicketscharacterNumber of wickets taken by the bowler in this innings.
economy_ratecharacterAverage runs conceded per over by the bowler in this innings.
nbwcharacterCombined no-balls and wides bowled by the bowler in this innings.

matchcards_partnerships

col_nametypedescription
innings_numbercharacterInnings number within the match to which this batting or bowling entry belongs.
team_namecharacterFull display name of the team.
partnership_runscharacterTotal runs scored during the batting partnership for this fall-of-wicket record.
partnership_overscharacterNumber of overs faced during the batting partnership for this fall-of-wicket record.
wicket_namecharacterName or label identifying the wicket at which this batting partnership ended.
fow_typecharacterType classification for this fall-of-wicket entry (e.g., caught, bowled, run out).
player1_namecharacterName of the first batter in the batting partnership for this fall-of-wicket entry.
player1_runscharacterRuns contributed by the first player in the batting partnership.
player2_namecharacterName of the second batter in the batting partnership for this fall-of-wicket entry.
player2_runscharacterRuns contributed by the second player in the batting partnership.

rosters

col_nametypedescription
team_idcharacterUnique team identifier.
home_awaycharacterGame venue label ('home' or 'away').
winnerlogicalWinner.
athlete_idcharacterUnique athlete identifier (ESPN).
athletecharacterReference or identifier string for the athlete associated with this row in the box score.
jerseycharacterJersey number worn by the player.
starterlogicalTRUE if the player was in the starting lineup; FALSE otherwise.
positioncharacterListed roster position (G, F, C, etc.).
captainlogicalIndicates whether the player was designated as a team captain for this game.

game_info

col_nametypedescription
venue_idcharacterUnique venue identifier.
venue_full_namecharacterVenue full name.
venue_short_namecharacterAbbreviated or shortened display name for the venue where the game was played.
venue_citycharacterVenue city.
venue_countrycharacterCountry name for the venue where the game was played.
attendanceintegerReported attendance.
officialscharacterWhether officials data is available.

standings

col_nametypedescription
groupcharacterGroup identifier (e.g. conference 'group_id').
teamcharacterTeam-side label or team identifier.
team_idcharacterUnique team identifier.
rankintegerPosition of the school within the poll for the given week (1 = top-ranked).
matches_playedintegerTotal number of matches played by the team in the current stage or competition group.
matches_wonintegerTotal number of matches won by the team in the current stage or competition group.
matches_lostintegerTotal number of matches lost by the team in the current stage or competition group.
noresultintegerNumber of matches that ended without a result (e.g., rain-affected or abandoned) for the team.
match_pointsintegerTotal competition points accumulated by the team based on match outcomes in the group or stage.
qualifiedintegerBoolean qualification flag indicating whether the team has secured advancement from the current group or stage.
netrrdoubleNet Run Rate for the team, a tiebreaker metric used in cricket group standings.
fordoubleTotal runs or score accumulated by the team across all matches in the group or stage.
againstdoubleTotal runs or score conceded by the team across all matches in the group or stage.
totalcharacterTotal.

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

Example

espn_cricket_summary()

Last validated n/a.

espn_cricket_calendar

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/calendar

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/calendar

API ParameterPythonPatternRequiredNullableDescription

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_calendar()

Last validated n/a.

espn_cricket_news

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/news

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/news

API ParameterPythonPatternRequiredNullableDescription
limitlimitYMaximum number of items to return.

Returns

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

col_nametypedescription
idintegerESPN numeric identifier for the article.
now_idcharacterESPN 'now' feed id.
content_keycharacterInternal content key.
data_source_identifiercharacterSource-system identifier.
typecharacterArticle type (Story, Media, HeadlineNews, etc.).
headlinecharacterArticle headline.
descriptioncharacterArticle summary/description.
last_modifiedcharacterLast-modified timestamp (ISO 8601).
publishedcharacterPublish timestamp (ISO 8601).
imagescharacterArticle images (list, stringified).
categoriescharacterArticle categories (list, stringified).
premiumlogicalWhether the article is premium/paywalled.
bylinecharacterAuthor byline string as published by ESPN.
links_web_hrefcharacterWeb article URL.
links_mobile_hrefcharacterMobile article URL.
links_api_self_hrefcharacterESPN API canonical self-link for the article resource.
links_app_sportscenter_hrefcharacterSportsCenter app deep link.

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

Example

espn_cricket_news()

Last validated n/a.

espn_cricket_injuries

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/injuries

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/injuries

API ParameterPythonPatternRequiredNullableDescription

Returns

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

col_nametypedescription
idcharacterESPN numeric identifier for the athlete.
display_namecharacterAthlete's full display name as shown on ESPN.
injuriescharacterInjury entries for the athlete (list of dicts, stringified): status, type, details, dates.

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

Example

espn_cricket_injuries()

Last validated n/a.

espn_cricket_transactions

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/transactions

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/transactions

API ParameterPythonPatternRequiredNullableDescription

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_transactions()

Last validated n/a.

espn_cricket_conferences

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/groups

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/groups

API ParameterPythonPatternRequiredNullableDescription

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_groups); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_conferences()

Last validated n/a.

espn_cricket_statistics_league

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/statistics

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/statistics

API ParameterPythonPatternRequiredNullableDescription

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_statistics_league()

Last validated n/a.

espn_cricket_draft

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/draft

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/draft

API ParameterPythonPatternRequiredNullableDescription

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_draft()

Last validated n/a.

espn_cricket_teams_site

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams

API ParameterPythonPatternRequiredNullableDescription
limitlimitYMaximum number of items to return.

Returns

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

col_nametypedescription
team_abbreviationcharacterShort team abbreviation (e.g. "BOS").
team_alternate_colorcharacterSecondary team color as a hex string (no leading '#').
team_colorcharacterPrimary team color as a hex string (no leading '#').
team_display_namecharacterFull team display name (location + nickname).
team_idcharacterESPN team id (stable join key across ESPN endpoints).
team_is_activelogicalWhether the team is currently active.
team_is_all_starlogicalWhether the entry is an all-star squad rather than a franchise.
team_locationcharacterTeam location / city (e.g. "Boston").
team_logoscharacterPipe-delimited logo image URLs.
team_namecharacterTeam nickname/mascot (e.g. "Celtics").
team_nicknamecharacterTeam nickname as ESPN labels it (often equals team_name).
team_short_display_namecharacterAbbreviated display name for compact UIs.
team_slugcharacterURL slug used in ESPN web paths.
team_uidcharacterESPN global UID (encodes sport/league/team).

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

Example

espn_cricket_teams_site()

Last validated n/a.

espn_cricket_team

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_single_entity); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_team(team_id='4')

Last validated n/a.

espn_cricket_team_roster

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/roster

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/roster

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.

Returns

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

col_nametypedescription
idcharacterId.
uidcharacterUid.
guidcharacterGuid.
first_namecharacterFirst name.
last_namecharacterLast name.
full_namecharacterFull name.
display_namecharacterDisplay name.
short_namecharacterShort name.
weightdoubleWeight.
display_weightcharacterDisplay weight.
heightdoubleHeight.
display_heightcharacterDisplay height.
ageintegerAge.
date_of_birthcharacterDate of birth.
debut_yeardoubleDebut year.
linkscharacterLinks.
slugcharacterSlug.
jerseycharacterJersey.
injuriescharacterInjuries.
teamscharacterTeams.
contractscharacterContracts.
alternate_ids_sdrcharacterAlternate ids sdr.
birth_place_citycharacterBirth place city.
birth_place_countrycharacterBirth place country.
college_idcharacterCollege id.
college_guidcharacterCollege guid.
college_mascotcharacterCollege mascot.
college_namecharacterCollege name.
college_short_namecharacterCollege short name.
college_abbrevcharacterCollege abbrev.
college_logoscharacterCollege logos.
headshot_hrefcharacterHeadshot href.
headshot_altcharacterHeadshot alt.
position_idcharacterPosition id.
position_namecharacterPosition name.
position_display_namecharacterPosition display name.
position_abbreviationcharacterPosition abbreviation.
position_leaflogicalPosition leaf.
experience_yearsintegerExperience years.
contract_bird_statusintegerContract bird status.
contract_base_year_compensation_activelogicalContract base year compensation active.
contract_poison_pill_provision_activelogicalContract poison pill provision active.
contract_incoming_trade_valueintegerContract incoming trade value.
contract_outgoing_trade_valueintegerContract outgoing trade value.
contract_minimum_salary_exceptionlogicalContract minimum salary exception.
contract_option_typeintegerContract option type.
contract_salaryintegerContract salary.
contract_salary_remainingintegerContract salary remaining.
contract_years_remainingintegerContract years remaining.
contract_season_yearintegerContract season year.
contract_season_start_datecharacterContract season start date.
contract_season_end_datecharacterContract season end date.
contract_trade_kicker_activelogicalContract trade kicker active.
contract_trade_kicker_percentagedoubleContract trade kicker percentage.
contract_trade_kicker_valueintegerContract trade kicker value.
contract_trade_kicker_trade_valueintegerContract trade kicker trade value.
contract_trade_restrictionlogicalContract trade restriction.
contract_unsigned_foreign_picklogicalContract unsigned foreign pick.
contract_activelogicalContract active.
status_idcharacterStatus id.
status_namecharacterStatus name.
status_typecharacterStatus type.
status_abbreviationcharacterStatus abbreviation.
citizenshipcharacterCitizenship.
birth_place_statecharacterBirth place state.
hand_typecharacterHand type.
hand_abbreviationcharacterHand abbreviation.
hand_display_valuecharacterHand display value.

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

Example

espn_cricket_team_roster(team_id='4')

Last validated n/a.

espn_cricket_team_schedule

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/schedule

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/schedule

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.
seasonseasonYSeason year (e.g. 2024).

Returns

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

col_nametypedescription
idcharacterESPN numeric event identifier.
datecharacterEvent timestamp (ISO 8601, UTC).
namecharacterFull event name (e.g. 'Team A at Team B').
short_namecharacterAbbreviated event name (e.g. 'TA @ TB').
time_validlogicalWhether the event time is confirmed.
competitionscharacterCompetition detail (list of dicts, stringified): competitors, venue, status.
linkscharacterRelated links (list, stringified).
season_yearintegerFour-digit season year.
season_display_namecharacterHuman-readable season label (e.g. '2024-25').
season_type_idcharacterESPN numeric identifier for the season type.
season_type_typeintegerSeason type numeric code.
season_type_namecharacterSeason type name (e.g. Regular Season).
season_type_abbreviationcharacterSeason type abbreviation.

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

Example

espn_cricket_team_schedule(team_id='4')

Last validated n/a.

espn_cricket_team_record

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/record

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/record

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_team_record(team_id='4')

Last validated n/a.

espn_cricket_team_depthcharts

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/depthcharts

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/depthcharts

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_team_depthcharts(team_id='4')

Last validated n/a.

espn_cricket_team_injuries

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/injuries

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/injuries

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.

Returns

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

col_nametypedescription
idcharacterESPN numeric identifier for the athlete.
display_namecharacterAthlete's full display name as shown on ESPN.
injuriescharacterInjury entries for the athlete (list of dicts, stringified): status, type, details, dates.

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

Example

espn_cricket_team_injuries(team_id='4')

Last validated n/a.

espn_cricket_team_transactions

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/transactions

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/transactions

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_team_transactions(team_id='4')

Last validated n/a.

espn_cricket_team_history

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/history

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/history

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_team_history(team_id='4')

Last validated n/a.

espn_cricket_team_news

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/news

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/news

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.
limitlimitYMaximum number of items to return.

Returns

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

col_nametypedescription
idintegerESPN numeric identifier for the article.
now_idcharacterESPN 'now' feed id.
content_keycharacterInternal content key.
data_source_identifiercharacterSource-system identifier.
typecharacterArticle type (Story, Media, HeadlineNews, etc.).
headlinecharacterArticle headline.
descriptioncharacterArticle summary/description.
last_modifiedcharacterLast-modified timestamp (ISO 8601).
publishedcharacterPublish timestamp (ISO 8601).
imagescharacterArticle images (list, stringified).
categoriescharacterArticle categories (list, stringified).
premiumlogicalWhether the article is premium/paywalled.
bylinecharacterAuthor byline string as published by ESPN.
links_web_hrefcharacterWeb article URL.
links_mobile_hrefcharacterMobile article URL.
links_api_self_hrefcharacterESPN API canonical self-link for the article resource.
links_app_sportscenter_hrefcharacterSportsCenter app deep link.

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

Example

espn_cricket_team_news(team_id='4')

Last validated n/a.

espn_cricket_team_leaders

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/{team_id}/leaders

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/teams/4/leaders

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_items); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_team_leaders(team_id='4')

Last validated n/a.

espn_cricket_player_info

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/athletes/{athlete_id}

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/athletes/4239

API ParameterPythonPatternRequiredNullableDescription
athlete_idathlete_idYathlete_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_single_entity); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_player_info(athlete_id='4239')

Last validated n/a.

espn_cricket_player_bio

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/athletes/{athlete_id}/bio

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/athletes/4239/bio

API ParameterPythonPatternRequiredNullableDescription
athlete_idathlete_idYathlete_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_single_entity); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

espn_cricket_player_bio(athlete_id='4239')

Last validated n/a.

espn_cricket_player_news

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/athletes/{athlete_id}/news

Valid URL: https://site.api.espn.com/apis/site/v2/sports/cricket/eng.1/athletes/4239/news

API ParameterPythonPatternRequiredNullableDescription
athlete_idathlete_idYathlete_id path parameter.

Returns

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

col_nametypedescription
idintegerESPN numeric identifier for the article.
now_idcharacterESPN 'now' feed id.
content_keycharacterInternal content key.
data_source_identifiercharacterSource-system identifier.
typecharacterArticle type (Story, Media, HeadlineNews, etc.).
headlinecharacterArticle headline.
descriptioncharacterArticle summary/description.
last_modifiedcharacterLast-modified timestamp (ISO 8601).
publishedcharacterPublish timestamp (ISO 8601).
imagescharacterArticle images (list, stringified).
categoriescharacterArticle categories (list, stringified).
premiumlogicalWhether the article is premium/paywalled.
bylinecharacterAuthor byline string as published by ESPN.
links_web_hrefcharacterWeb article URL.
links_mobile_hrefcharacterMobile article URL.
links_api_self_hrefcharacterESPN API canonical self-link for the article resource.
links_app_sportscenter_hrefcharacterSportsCenter app deep link.

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

Example

espn_cricket_player_news(athlete_id='4239')

Last validated n/a.

espn_cricket_standings

ESPN endpoint.

Endpoint URL: GET https://site.api.espn.com/apis/v2/sports/cricket/eng.1/standings

Valid URL: https://site.api.espn.com/apis/v2/sports/cricket/eng.1/standings

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason year (e.g. 2024).
groupgroupYConference or group id filter (e.g. an ESPN conference id).
typestandings_typeYStandings variant (e.g. 'by-division' or 'by-conference').

Returns

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

col_nametypedescription
groupcharacterConference/group/table the row belongs to, flattened from the standings children hierarchy.
teamcharacterDisplay name of the team in this standings row.
team_idcharacterESPN numeric identifier for the team.
team_abbreviationcharacterTeam abbreviation.
rankintegerPosition within the group/table.
matches_playedintegerMatches played (cricket).
matches_wonintegerMatches won (cricket).
matches_lostintegerMatches lost (cricket).
noresultintegerMatches with no result (cricket).
match_pointsintegerCompetition points (cricket).
qualifiedintegerQualification flag (cricket).
netrrdoubleNet run rate (cricket).
fordoubleRuns/goals for.
againstdoubleRuns/goals against.
totalcharacterAggregate/summary value as published by ESPN.

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

Example

espn_cricket_standings()

Last validated n/a.