Men's college basketball — ESPN core API (v2) — Other
espn_mbb_league_root
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
$ref | String | |
abbreviation | String | Short abbreviation. |
color | String | Primary color (hex without leading '#'). |
display_name | String | Display name. |
gender | String | |
guid | String | Stable cross-league team GUID. |
id | Int64 | Id. |
is_tournament | Boolean | |
links | String | |
logos | String | Logos. |
name | String | Display name. |
short_name | String | Short display name. |
slug | String | URL-safe identifier. |
uid | String | ESPN UID string. |
athletes_$ref | String | |
awards_$ref | String | |
calendar_$ref | String | |
draft_$ref | String | |
events_$ref | String | |
franchises_$ref | String | |
group_$ref | String | |
groups_$ref | String | |
leaders_$ref | String | |
notes_$ref | String | |
rankings_$ref | String | |
season_$ref | String | |
season_athletes_$ref | String | |
season_coaches_$ref | String | |
season_display_name | String | Season display label. |
season_end_date | String | Date in YYYY-MM-DD format. |
season_futures_$ref | String | |
season_power_index_leaders_$ref | String | |
season_power_indexes_$ref | String | |
season_rankings_$ref | String | |
season_start_date | String | Date in YYYY-MM-DD format. |
season_type_$ref | String | |
season_type_abbreviation | String | Season type abbreviation. |
season_type_corrections_$ref | String | |
season_type_end_date | String | |
season_type_groups_$ref | String | |
season_type_has_groups | Boolean | |
season_type_has_legs | Boolean | |
season_type_has_standings | Boolean | |
season_type_id | Int64 | Unique identifier for season type. |
season_type_name | String | Season type name. |
season_type_slug | String | |
season_type_start_date | String | |
season_type_type | Int64 | Season type type. |
season_type_weeks_$ref | String | |
season_type_year | Int64 | |
season_types_$ref | String | |
season_types_count | Int64 | |
season_types_items | String | |
season_types_page_count | Int64 | |
season_types_page_index | Int64 | |
season_types_page_size | Int64 | |
season_year | Int64 | Season year string ('YYYY-YY' format). |
seasons_$ref | String | |
teams_$ref | String | |
transactions_$ref | String |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_league_root()
espn_mbb_seasons
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/seasons
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum 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_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_seasons()
espn_mbb_games
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/events
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
dates | dates | Y | Date or date range filter (YYYYMMDD or YYYYMMDD-YYYYMMDD). | ||
limit | limit | Y | Maximum 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_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_games()
espn_mbb_game
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/events/{event_id}
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
event_id | event_id | Y | event_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_name | type | description |
|---|---|---|
$ref | String | |
competitions | String | |
date | String | Date in YYYY-MM-DD format. |
id | Int64 | Id. |
links | String | |
name | String | Display name. |
short_name | String | Short display name. |
time_valid | Boolean | Time valid. |
uid | String | ESPN UID string. |
venues | String | |
league_$ref | String | |
season_$ref | String | |
season_type_$ref | String |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_game(event_id='401584793')
espn_mbb_teams_core
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/teams
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum number of items to return. | ||
page | page | Y | page query parameter. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
team_abbreviation | String | Short team abbreviation (e.g. "BOS"). |
team_alternate_color | String | Secondary team color as a hex string (no leading '#'). |
team_color | String | Primary team color as a hex string (no leading '#'). |
team_display_name | String | Full team display name (location + nickname). |
team_id | Int64 | ESPN team id (stable join key across ESPN endpoints). |
team_is_active | Boolean | Whether the team is currently active. |
team_is_all_star | Boolean | Whether the entry is an all-star squad rather than a franchise. |
team_location | String | Team location / city (e.g. "Boston"). |
team_logos | String | Pipe-delimited logo image URLs. |
team_name | String | Team nickname/mascot (e.g. "Celtics"). |
team_nickname | String | Team nickname as ESPN labels it (often equals team_name). |
team_short_display_name | String | Abbreviated display name for compact UIs. |
team_slug | String | URL slug used in ESPN web paths. |
team_uid | String | ESPN global UID (encodes sport/league/team). |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_teams_core()
espn_mbb_team_core
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/teams/{team_id}
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/teams/4
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_id | team_id | Y | team_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_name | type | description |
|---|---|---|
$ref | String | |
abbreviation | String | Short abbreviation. |
alternate_color | String | Alternate color (hex without leading '#'). |
color | String | Primary color (hex without leading '#'). |
display_name | String | Display name. |
guid | String | Stable cross-league team GUID. |
id | Int64 | Id. |
is_active | Boolean | Is active. |
is_all_star | Boolean | Is all star. |
links | String | |
location | String | Location. |
logos | String | Logos. |
name | String | Display name. |
short_display_name | String | Short display name. |
slug | String | URL-safe identifier. |
uid | String | ESPN UID string. |
against_the_spread_records_$ref | String | |
athletes_$ref | String | |
awards_$ref | String | |
coaches_$ref | String | |
depth_charts_$ref | String | |
events_$ref | String | |
franchise_$ref | String | |
groups_$ref | String | |
injuries_$ref | String | |
notes_$ref | String | |
odds_records_$ref | String | |
ranks_$ref | String | |
record_$ref | String | |
transactions_$ref | String | |
venue_$ref | String | |
venue_address_city | String | Venue address city. |
venue_address_state | String | Venue address state / region. |
venue_full_name | String | Venue full name. |
venue_grass | Boolean | |
venue_guid | String | |
venue_id | Int64 | Unique venue identifier. |
venue_images | String | |
venue_indoor | Boolean | TRUE if the venue is indoors. |
venue_short_name | String |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_team_core(team_id='4')
espn_mbb_venues
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/venues
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum 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_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_venues()
espn_mbb_venue
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/venues/{venue_id}
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/venues/3663
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
venue_id | venue_id | Y | venue_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_name | type | description |
|---|---|---|
$ref | String | |
full_name | String | Player's full name. |
grass | Boolean | Grass. |
guid | String | Stable cross-league team GUID. |
id | Int64 | Id. |
images | String | |
indoor | Boolean | Indoor. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_venue(venue_id='3663')
espn_mbb_franchises
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/franchises
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum 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_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_franchises()
espn_mbb_franchise
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/franchises/{franchise_id}
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/franchises/2
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
franchise_id | franchise_id | Y | franchise_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_name | type | description |
|---|---|---|
$ref | String | |
abbreviation | String | Short abbreviation. |
color | String | Primary color (hex without leading '#'). |
display_name | String | Display name. |
id | Int64 | Id. |
is_active | Boolean | Is active. |
location | String | Location. |
name | String | Display name. |
short_display_name | String | Short display name. |
slug | String | URL-safe identifier. |
uid | String | ESPN UID string. |
team_$ref | String | |
venue_$ref | String | |
venue_address_city | String | Venue address city. |
venue_address_state | String | Venue address state / region. |
venue_full_name | String | Venue full name. |
venue_grass | Boolean | |
venue_guid | String | |
venue_id | Int64 | Unique venue identifier. |
venue_images | String | |
venue_indoor | Boolean | TRUE if the venue is indoors. |
venue_short_name | String |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_franchise(franchise_id='2')
espn_mbb_coach
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/coaches/{coach_id}
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/coaches/1
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
coach_id | coach_id | Y | coach_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_name | type | description |
|---|---|---|
$ref | String | |
career_records | String | |
coach_seasons | String | |
experience | Int64 | Years of professional experience. |
first_name | String | Player's first name. |
id | Int64 | Id. |
last_name | String | Player's last name. |
uid | String | ESPN UID string. |
birth_place_city | String | Birth place city. |
birth_place_state | String | Birth place state. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_coach(coach_id='1')
espn_mbb_coach_record
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/coaches/{coach_id}/record/{record_type}
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
coach_id | coach_id | Y | coach_id path parameter. | ||
record_type | record_type | Y | record_type 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_name | type | description |
|---|---|---|
$ref | String | |
display_value | String | Display-formatted value. |
id | Int64 | Id. |
name | String | Display name. |
stats | String | Stats. |
summary | String | W-L summary (e.g. "50-32"). |
type | String | Record type / category. |
value | Float64 | Numeric or string value field. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_coach_record(coach_id='1')
espn_mbb_coach_season
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/coaches/{coach_id}/seasons/{season}
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
coach_id | coach_id | Y | coach_id path parameter. | ||
season | season | Y | season path parameter. |
Returns
return_parsed=True (default) — the output of parse_single_entity; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: 404 in nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_coach_season(coach_id='1', season=2024)
espn_mbb_positions
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/positions
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum 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_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_positions()
espn_mbb_position
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/positions/{position_id}
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/positions/1
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
position_id | position_id | Y | position_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_name | type | description |
|---|---|---|
$ref | String | |
abbreviation | String | Short abbreviation. |
display_name | String | Display name. |
id | Int64 | Id. |
leaf | Boolean | |
name | String | Display name. |
parent_$ref | String |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_position(position_id='1')
espn_mbb_tournaments
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/tournaments
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum 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_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_tournaments()
espn_mbb_awards
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/awards
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
limit | limit | Y | Maximum 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_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_awards()
espn_mbb_award
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/awards/{award_id}
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/awards/1
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
award_id | award_id | Y | award_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_name | type | description |
|---|---|---|
count | Int64 | Count of count. |
items | String | |
page_count | Int64 | |
page_index | Int64 | |
page_size | Int64 |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_award(award_id='1')
espn_mbb_standings_core
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/standings
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/standings
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
group_name | String | Group name. |
group_abbreviation | String | Group abbreviation. |
team_id | Int64 | Team id. |
team_name | String | Team name. |
team_abbreviation | String | Team abbreviation. |
team_display_name | String | Team display name. |
team_location | String | Team location. |
team_logo | String | Team logo. |
avg_points_against | Float64 | Avg points against. |
avg_points_for | Float64 | Avg points for. |
games_behind | Float64 | Games behind. |
league_win_percent | Float64 | League win percent. |
losses | Float64 | Losses. |
playoff_seed | Float64 | Playoff seed. |
point_differential | Float64 | Point differential. |
points_against | Float64 | Points against. |
points_for | Float64 | Points for. |
streak | Float64 | Streak. |
win_percent | Float64 | Win percent. |
wins | Float64 | Wins. |
games_ahead | Float64 | Games ahead. |
overall | String | Overall. |
home | String | Home. |
road | String | Road. |
vs ap top 25 | String | The team's win-loss record against opponents ranked in the AP Top 25 poll. |
vs usa ranked teams | String | The team's win-loss record against opponents ranked in the USA Today Coaches Poll. |
vs. conf. | String | Vs. conf.. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_standings_core()
espn_mbb_leaders_core
All-time league leaders. ESPN ignores season here (nba with and without season=2015 returned the same career totals, 2026-11-17).
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/leaders
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/leaders
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: parser: parse_items returns no columns on the live payload (nba, nfl, mlb, nhl, 2026-10-07); its rows sit under keys it does not read (top level: $ref, abbreviation, categories, id, name, type).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_leaders_core()
espn_mbb_league_notes
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/notes
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/notes
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — the output of parse_items; pass return_as_pandas=True for a pandas.DataFrame.
No returns table is published for this endpoint: no capture: the page holds zero items (count 0) in nba, nfl, mlb, nhl, wnba, cfb, mbb, wbb with the documented example arguments (2026-10-07).
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_league_notes()
espn_mbb_talentpicks
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/talentpicks
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/talentpicks
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
pick_competition_$ref | String | |
pick_competitor_$ref | String | |
pick_correct | Boolean | |
pick_person_display_name | String | |
pick_person_first_name | String | |
pick_person_headshot_alt | String | |
pick_person_headshot_href | String | |
pick_person_id | Int64 | |
pick_person_last_name | String | |
week_record_display_value | String | |
week_record_season_$ref | String | |
week_record_stats | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_talentpicks()
espn_mbb_recruiting_years
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/recruiting
Valid URL: https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/recruiting
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_recruiting_years()
espn_mbb_recruiting_players
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/recruiting/{year}/athletes
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
year | year | Y | year path parameter. | ||
limit | limit | Y | Maximum number of items to return. | ||
page | page | Y | page query parameter. |
Returns
return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.
| col_name | type | description |
|---|---|---|
$ref | String | |
activity | String | |
analysis | String | |
attributes | String | |
grade | Int64 | |
grade_display_value | String | |
recruiting_class | Int64 | |
schools | String | |
athlete_alternate_id | Int64 | |
athlete_display_name | String | Athlete display name (full). |
athlete_first_name | String | |
athlete_full_name | String | |
athlete_height | Float64 | |
athlete_high_school_address_address1 | String | |
athlete_high_school_address_city | String | |
athlete_high_school_address_state | String | |
athlete_high_school_address_state_abbreviation | String | |
athlete_high_school_address_zip_code | String | |
athlete_high_school_id | Int64 | |
athlete_high_school_name | String | |
athlete_high_school_proper_name | String | |
athlete_hometown_city | String | |
athlete_hometown_state | String | |
athlete_hometown_state_abbreviation | String | |
athlete_id | Int64 | Unique athlete identifier (ESPN). |
athlete_last_name | String | |
athlete_links | String | |
athlete_position_abbreviation | String | Athlete position abbreviation (G / F / C). |
athlete_position_id | Int64 | |
athlete_short_name | String | Athlete short display name. |
athlete_weight | Float64 | |
status_description | String | |
status_id | Int64 | Status identifier. |
athlete_hometown_zip_code | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_recruiting_players(year=2026)
espn_mbb_recruiting_rankings
ESPN endpoint.
Endpoint URL: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/recruiting/{year}/rankings
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
year | year | Y | year 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_name | type | description |
|---|---|---|
$ref | String | |
count | Int64 | Total items in the ESPN collection across every page (the page envelope's count), the same on every row; more than the row count means this is one page of several (pass the wrapper's limit= or page=). |
page_count | Int64 | Pages the collection spans at the requested limit (the page envelope's pageCount), the same on every row; above 1 means rows are missing from this frame. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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_mbb_recruiting_rankings(year=2026)