Skip to main content
Version: 0.2.0

College football — 247Sports Recruit Database (ipa.247sports.com)

sportsdataverse.cfb — 12 endpoints.

sports247_teams​

247Sports RDB college team directory (teamId / institutionKey / conference) for a sport.

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/teams/

Valid URL: https://ipa.247sports.com/rdb/v1/teams/?sportKey=1

API ParameterPythonPatternRequiredNullableDescription
sportKeysport_keyY247Sports sport key (1 = football, 2 = basketball).
yearyearYyear query parameter.
institutionTypeinstitution_typeYinstitutionType 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_nametypedescription
nameStringTeam display name (school + nickname).
team_idInt64247Sports RDB team id (per-sport).
institution_keyInt64247Sports institution key (school-level, sport-agnostic).
conferenceStringFull name of the athletic conference the team competes in (e.g. ACC, Big Ten).
conference_abbreviationStringConference abbreviation.
sportStringSport name (Football, Basketball, ...).
typeStringInstitution type (College, ...).

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​

sports247_teams()

sports247_institution_rankings​

247Sports team recruiting-class rankings (247 rank/rating + industry composite) for a sport and class year.

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/rankings/{sport_key}/{year}/institutionrankings/

Valid URL: https://ipa.247sports.com/rdb/v1/rankings/1/2026/institutionrankings/?pagesize=50

API ParameterPythonPatternRequiredNullableDescription
yearyearYyear path parameter.
sport_keysport_keyY247Sports sport key (1 = football, 2 = basketball).
pagesizepage_sizeYpagesize query parameter.
pagepageYpage query parameter.
useCompositeuse_compositeYuseComposite query parameter.
conferenceAbbreviationconference_abbreviationYconferenceAbbreviation query parameter.
institutionKeyinstitution_keyYinstitutionKey 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_nametypedescription
nameStringShort display name of the institution as shown on the 247Sports class-ranking page (e.g. USC, Notre Dame).
full_nameStringInstitution full name (school + nickname).
conference_rankInt64247Sports class rank within the conference.
conference_composite_rankInt64Composite class rank within the conference.
rankInt64247Sports national team-class rank.
composite_rankInt64Industry-composite national team-class rank.
institution_keyInt64247Sports institution key (school-level).
team_keyInt64247Sports RDB team key (per-sport).
average_ratingFloat64Average 247Sports rating of counted commits.
ratingFloat64Total 247Sports class rating (team-ranking formula points).
composite_ratingFloat64Total composite class rating (formula points).
average_composite_ratingFloat64Average composite rating of counted commits.
default_assetStringCDN URL of the institution's default logo.
alternate_assetStringCDN URL of the institution's alternate logo.
light_assetStringCDN URL of the institution's light-background logo.
high_school_ranking_positionStringPosition of the class in the high-school-only ranking.
transfer_pointsStringTransfer-portal points contributed to the class rating.
transfer_numberInt64Number of incoming transfers counted in the class.
five_starsInt64Count of 247Sports five-star commits.
composite_five_starsInt64Count of composite five-star commits.
four_starsInt64Count of 247Sports four-star commits.
composite_four_starsInt64Count of composite four-star commits.
three_starsInt64Count of 247Sports three-star commits.
composite_three_starsInt64Count of composite three-star commits.
commitsInt64Number of commits in the class.
site_keyInt64247Sports team-site key.
institution_root_pathString247sports.com root path of the institution's team site.
ranking_dateStringTimestamp the ranking row was last updated.
cityStringInstitution city.
stateStringFull name of the U.S. state where the institution is located.
state_abbreviationStringInstitution state abbreviation.
institution_ranking_urlString247sports.com URL of the institution's class-ranking page.

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​

sports247_institution_rankings(year=2026, sport_key=1)

sports247_recruits​

247Sports individual recruit rankings for a sport and class year (247 + industry-composite ratings, stars, commit status; paginated).

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/recruits/

Valid URL: https://ipa.247sports.com/rdb/v1/recruits/?sportKey=1&year=2026&pagesize=50

API ParameterPythonPatternRequiredNullableDescription
sportKeysport_keyY247Sports sport key (1 = football, 2 = basketball).
yearyearYyear query parameter.
pagesizepage_sizeYpagesize query parameter.
pagepageYpage query parameter.
positionAbbreviationposition_abbreviationYpositionAbbreviation query parameter.
stateAbbreviationstate_abbreviationYstateAbbreviation 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_nametypedescription
keyInt64247Sports player key of the recruit.
cbs_keyInt64Legacy CBS player key (0 when unmapped).
first_nameStringGiven name of the recruit.
last_nameStringFamily (surname) of the recruit.
profile_urlString247sports.com path to the recruit's profile.
default_asset_urlStringCDN URL of the recruit's headshot.
primary_positionStringRecruit's primary position abbreviation.
composite_ratingFloat64247Sports Composite rating (industry-blended 0-1 scale).
composite_star_ratingInt64247Sports Composite star rating (2-5).
composite_national_rankInt64Composite national rank.
composite_position_rankInt64Composite rank at the recruit's position.
composite_state_rankInt64Composite rank within the recruit's state.
signed_institutionFloat64Signed-program object when present; null (this scalar) for unsigned recruits (see signed_institution_* columns).
home_town_cityStringRecruit's home-town city.
home_town_stateStringRecruit's home-town state.
committed_institution_institution_keyInt64247Sports institution key of the program the recruit is committed to.
committed_institution_team_keyInt64247Sports RDB team key of the program the recruit is committed to.
committed_institution_cbs_keyInt64Legacy CBS key of the program the recruit is committed to.
committed_institution_nameStringShort name of the program the recruit is committed to.
committed_institution_abbreviationStringAbbreviation of the program the recruit is committed to.
committed_institution_full_nameStringFull name of the program the recruit is committed to.
current_institution_institution_keyInt64247Sports institution key of the recruit's current program.
current_institution_team_keyFloat64247Sports RDB team key of the recruit's current program.
current_institution_cbs_keyFloat64Legacy CBS key of the recruit's current program.
current_institution_nameStringShort name of the recruit's current program.
current_institution_abbreviationStringAbbreviation of the recruit's current program.
current_institution_full_nameStringFull name of the recruit's current program.
signed_institution_institution_keyFloat64247Sports institution key of the program the recruit signed with.
signed_institution_team_keyFloat64247Sports RDB team key of the program the recruit signed with.
signed_institution_cbs_keyFloat64Legacy CBS key of the program the recruit signed with.
signed_institution_nameStringShort name of the program the recruit signed with.
signed_institution_abbreviationStringAbbreviation of the program the recruit signed with.
signed_institution_full_nameStringFull name of the program the recruit signed with.

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​

sports247_recruits(year=2026, sport_key=1)

sports247_transfers​

247Sports transfer-portal player entries for a sport and year (paginated).

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/transfers/

Valid URL: https://ipa.247sports.com/rdb/v1/transfers/?sportKey=1&year=2026&pagesize=50

API ParameterPythonPatternRequiredNullableDescription
sportKeysport_keyY247Sports sport key (1 = football, 2 = basketball).
yearyearYyear query parameter.
pagesizepage_sizeYpagesize query parameter.
pagepageYpage 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_nametypedescription
player_keyInt64247Sports player key of the transfer.
player_first_nameStringGiven name of the transfer player.
player_last_nameStringFamily (surname) of the transfer player.
player_avatarStringCDN URL of the transfer's headshot.
player_transfer_dateStringTimestamp the player entered the transfer portal.
player_transfer_ratingFloat64247Sports transfer rating.
player_high_school_ratingFloat64The player's original high-school recruiting rating.
player_ratingFloat64247Sports current rating.
player_star_ratingFloat64247Sports star rating (2-5).
player_transfer_rankFloat64National rank among transfers.
player_high_school_rankFloat64The player's original high-school national rank.
player_rankFloat64247Sports current national rank.
player_rank_trendFloat64Change in rank since the previous update.
player_institution_statusStringTransfer status relative to institutions (e.g. Entered, Committed).
player_positionStringPosition abbreviation.
player_position_keyInt64247Sports position key.
player_eligibility_typeStringEligibility classification (e.g. Grad, Underclassman).
player_eligibility_yearsFloat64Years of eligibility remaining.
player_state_rankFloat64Rank within the player's state.
player_statusStringPortal status label.
player_status_dateStringTimestamp of the latest status change.
player_transfer_source_institutionStringName of the program the player is transferring from.
player_transfer_source_institution_keyInt64247Sports institution key of the source program.
player_transfer_source_logoStringCDN URL of the source program's logo.
player_transfer_source_default_assetStringCDN URL of the source program's default logo asset.
player_transfer_source_alternate_assetStringCDN URL of the source program's alternate logo asset.
player_transfer_source_light_assetStringCDN URL of the source program's light-background logo asset.
player_transfer_source_institution_root_pathString247sports.com root path of the source program's team site.
player_transfer_destinationStringName of the program the player is transferring to (null if uncommitted).
player_position_group_keyInt64247Sports position-group key.
player_position_group_nameStringPosition-group name (e.g. Quarterback).
player_position_rankFloat64Rank at the player's position among transfers.
player_last_update_dateStringTimestamp of the last record update.
player_transfer_commit_date_timeStringTimestamp of the transfer commitment (null if uncommitted).
player_weightInt64Weight in pounds.
player_heightStringHeight as a formatted string.
player_player_profile_urlString247sports.com path to the player's profile.
player_start_dateStringStart date of the transfer window record.
player_end_dateStringEnd date of the transfer window record.

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​

sports247_transfers(year=2026, sport_key=1)

sports247_coaches​

247Sports coach recruiting rankings for a sport and year (paginated).

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/coaches/

Valid URL: https://ipa.247sports.com/rdb/v1/coaches/?sportKey=1&year=2026&pageSize=50

API ParameterPythonPatternRequiredNullableDescription
sportKeysport_keyY247Sports sport key (1 = football, 2 = basketball).
yearyearYyear query parameter.
pageSizepage_sizeYpageSize query parameter.
pagepageYpage 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_nametypedescription
keyInt64247Sports coach key.
cbs_keyInt64Legacy CBS coach key.
first_nameStringGiven name of the coach.
last_nameStringFamily (surname) of the coach.
profile_urlString247sports.com path to the coach's profile.
default_asset_urlStringCDN URL of the coach's headshot.
composite_ratingStringCoach's composite recruiting rating (formula points).
current_jobFloat64Current-job program object when present; null (this scalar) otherwise (see current_job_* columns).
average_composite_ratingStringCoach's average composite recruit rating.
overall_rankStringCoach's national recruiting rank.
division_rankStringCoach's rank within the division.
conference_rankStringCoach's rank within the conference.
current_job_institution_keyFloat64247Sports institution key of the coach's current program.
current_job_team_keyFloat64247Sports RDB team key of the coach's current program.
current_job_cbs_keyFloat64Legacy CBS key of the coach's current program.
current_job_nameStringShort name of the coach's current program.
current_job_abbreviationStringAbbreviation of the coach's current program.
current_job_full_nameStringFull name of the coach's current program.

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​

sports247_coaches(year=2026, sport_key=1)

sports247_transfer_portal_player_feed​

247Sports transfer-portal player ranking feed for a sport and class year.

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/rankings/{sport_key}/{year}/transferPortalPlayerfeed/

Valid URL: https://ipa.247sports.com/rdb/v1/rankings/1/2026/transferPortalPlayerfeed/?pageSize=50

API ParameterPythonPatternRequiredNullableDescription
yearyearYyear path parameter.
sport_keysport_keyY247Sports sport key (1 = football, 2 = basketball).
pageSizepage_sizeYpageSize 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_nametypedescription
keyInt64247Sports player key.
target_institutionStringName of the program the player is targeting / committed to.
target_institution_keyString247Sports institution key of the target program.
full_nameStringFull name of the transfer player.
position_abbrStringPosition abbreviation.
current_institutionStringName of the player's current program.
current_institution_keyInt64247Sports institution key of the current program.
current_institution_state_abbreviationStringState abbreviation of the current program.
current_institution_cityStringCity of the current program.
first_nameStringGiven name of the transfer player.
last_nameStringFamily (surname) of the transfer player.
state_abbreviationStringPlayer's state abbreviation.
player_imageStringCDN URL of the player's headshot.
star_ratingInt64247Sports star rating (2-5).
group_rankInt64Rank within the transfer position group.
position_rankInt64Rank at the player's position among transfers.
state_rankInt64Rank within the player's state.
formatted_heightStringHeight as a formatted string.
weightFloat64Weight in pounds.

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​

sports247_transfer_portal_player_feed(year=2026, sport_key=1)

sports247_composite_team_ranking_feed​

247Sports composite team recruiting-class ranking feed for a sport and class year.

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/rankings/{sport_key}/{year}/compositeTeamRankingFeed/

Valid URL: https://ipa.247sports.com/rdb/v1/rankings/1/2026/compositeTeamRankingFeed/?pageSize=50

API ParameterPythonPatternRequiredNullableDescription
yearyearYyear path parameter.
sport_keysport_keyY247Sports sport key (1 = football, 2 = basketball).
pageSizepage_sizeYpageSize 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_nametypedescription
nameStringShort display name of the program.
full_nameStringFull name of the program (school plus nickname).
state_abbreviationStringProgram's state abbreviation.
conference_nameStringName of the athletic conference the program competes in.
keyInt64247Sports institution/team key.
logoStringCDN URL of the program's logo.
alternate_logoStringCDN URL of the program's alternate logo.
positionInt64Row position in the feed.
team_ranking_positionInt64Rank in the high-school team recruiting class.
transfer_ranking_positionInt64Rank in the transfer-portal team class.
overall_rankInt64247Sports overall national team-class rank.
composite_overall_rankInt64Composite overall national team-class rank.
conference_rankInt64247Sports class rank within the conference.
composite_conference_rankInt64Composite class rank within the conference.
five_starsInt64Count of 247Sports five-star commits.
composite_five_starsInt64Count of composite five-star commits.
four_starsInt64Count of 247Sports four-star commits.
composite_four_starsInt64Count of composite four-star commits.
three_starsInt64Count of 247Sports three-star commits.
composite_three_starsInt64Count of composite three-star commits.
average_ratingInt64Average 247Sports commit rating.
composite_average_ratingFloat64Average composite commit rating.
ratingInt64Total 247Sports class rating (formula points).
composite_ratingFloat64Total composite class rating (formula points).

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​

sports247_composite_team_ranking_feed(year=2026, sport_key=1)

sports247_transfer_portal_team_feed​

247Sports transfer-portal team ranking feed for a sport and class year.

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/rankings/{sport_key}/{year}/transferPortalOnlyTeamFeed/

Valid URL: https://ipa.247sports.com/rdb/v1/rankings/1/2026/transferPortalOnlyTeamFeed/?pageSize=50

API ParameterPythonPatternRequiredNullableDescription
yearyearYyear path parameter.
sport_keysport_keyY247Sports sport key (1 = football, 2 = basketball).
pageSizepage_sizeYpageSize 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_nametypedescription
nameStringDisplay name of the program.
keyInt64247Sports institution/team key.
logoStringCDN URL of the program's logo.
alternate_logoStringCDN URL of the program's alternate logo.
positionInt64Rank in the transfer-portal team class.
number_of_transfersInt64Number of incoming transfers in the class.
transfer_pointsFloat64Total transfer-portal class rating points.

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​

sports247_transfer_portal_team_feed(year=2026, sport_key=1)

sports247_target_predictions​

247Sports current expert target predictions ("crystal ball") for a site, class year, and sport.

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/sites/{site_key}/years/{year}/sports/{sport_key}/currentTargetPredictions/

Valid URL: https://ipa.247sports.com/rdb/v1/sites/1/years/2026/sports/1/currentTargetPredictions/?pageSize=50

API ParameterPythonPatternRequiredNullableDescription
site_keysite_keyYsite_key path parameter.
yearyearYyear path parameter.
sport_keysport_keyY247Sports sport key (1 = football, 2 = basketball).
pageSizepage_sizeYpageSize 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_nametypedescription
player_keyInt64247Sports player key of the recruit the prediction is about.
player_institution_keyInt64247Sports institution key predicted for the recruit.
prediction_typeInt64Numeric prediction-type discriminator.
ratingFloat64Recruit's 247Sports rating at prediction time.
star_ratingInt64Recruit's star rating (2-5).
positionStringRecruit's position abbreviation.
weightFloat64Recruit's weight in pounds.
heightStringRecruit's height as a formatted string.
predictionStringPredicted destination program name.
prediction_levelInt64Expert confidence level of the prediction.
imageStringCDN URL of the predicted program's logo.
alt_imageStringCDN URL of the predicted program's alternate logo.
light_imageStringCDN URL of the predicted program's light-background logo.
player_nameStringRecruit's full name.
player_imageStringCDN URL of the recruit's headshot.
prediction_dateStringTimestamp the prediction was made.
expert_nameStringName of the expert who made the prediction.
expert_aliasString247Sports handle of the expert.
expert_keyInt64247Sports key of the expert.
expert_roleStringExpert's role/title.
expert_imageStringCDN URL of the expert's avatar.
expert_prediction_yearInt64Class year the expert's accuracy stats cover.
expert_yearly_total_correctInt64Expert's correct predictions this year.
expert_yearly_total_madeInt64Expert's total predictions made this year.
expert_all_time_total_correctInt64Expert's correct predictions all-time.
expert_all_time_total_madeInt64Expert's total predictions made all-time.
prediction_page_urlString247sports.com path to the prediction detail.

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​

sports247_target_predictions(site_key=1, year=2026, sport_key=1)

sports247_sport_years​

Class years for which the 247Sports RDB has data for a given sport.

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/sports/{sport_key}/year/

Valid URL: https://ipa.247sports.com/rdb/v1/sports/1/year/

API ParameterPythonPatternRequiredNullableDescription
sport_keysport_keyY247Sports sport key (1 = football, 2 = basketball).

Returns​

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

col_nametypedescription
valueInt64A class year for which the 247Sports RDB has data for the sport.

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​

sports247_sport_years(sport_key=1)

sports247_tags_autocomplete​

247Sports taggable-entity autocomplete (players / teams / institutions) by name prefix.

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/tags/autocomplete/

Valid URL: https://ipa.247sports.com/rdb/v1/tags/autocomplete/?defaultName=smith&items=10

API ParameterPythonPatternRequiredNullableDescription
defaultNamedefault_nameYdefaultName query parameter.
itemsitemsYitems 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_nametypedescription
idString247Sports tag id (prefixed key, e.g. Player_46151084).
nameStringDisplay name of the tagged entity.
typeStringTag entity type (Player, Team, Institution, ...).
annotationStringDisambiguating annotation (e.g. class year, position, school).

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​

sports247_tags_autocomplete(default_name='smith')

sports247_positions​

247Sports position lookup for a sport (position group, abbreviation, and key).

Endpoint URL: GET https://ipa.247sports.com/rdb/v1/positions/

Valid URL: https://ipa.247sports.com/rdb/v1/positions/?sportKey=1

API ParameterPythonPatternRequiredNullableDescription
sportKeysport_keyY247Sports sport key (1 = football, 2 = basketball).
yearyearYyear query parameter.
rankingKeyranking_keyYrankingKey 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_nametypedescription
groupStringPosition group name (e.g. Quarterback, Running Back).
group_keyInt64247Sports position group key.
nameStringFull position group name (e.g. Quarterback).
labelStringPosition abbreviation label (e.g. QB, RB).
valueString247Sports position key (returned as a string).

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​

sports247_positions(sport_key=1)