Skip to main content

Basketligaen — Basketligaen site API (www.basketligaen.dk/api, Denmark; Sportality) — Other

sportality_boxscore​

Player box score and team rows of both sides (2023/24 on).

Endpoint URL: GET https://www.basketligaen.dk/api/gameday/boxscore/{game_uuid}

Valid URL: https://www.basketligaen.dk/api/gameday/boxscore/c4hh5nig6t

API ParameterPythonPatternRequiredNullableDescription
game_uuidgame_uuidYGame uuid: gameInfo[].uuid of the schedule (10 lowercase letters and digits). Key space: platform game uuids; the Genius match id is extId / gameSourceId in the body.

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_sideStringhome or away: the side the row belongs to.
row_typeStringKind of row: player, team_coach (the bench row: team rebounds, turnovers and fouls charged to the team or coach) or team_totals.
player_idInt64Genius person id (Int64). A string key in the players maps, an integer in play-by-play and box-score rows; cast here so the frames join, and join the genius family.
team_idInt64Genius team id (Int64): in gameday bodies, an integer in standings and stats tables.
team_nameStringName of the team.
periodInt64Period of the line: 0 = the whole game (the only value seen).
full_nameStringFull display name of the player.
first_nameStringGiven (first) name(s) of the player.
last_nameStringFamily name (surname) of the player.
nrInt64Jersey number (null on the bench and totals rows).
posStringPosition code of the line (G, F, C; null on the bench and totals rows).
minsStringMinutes played as 'MM:SS' (null on the bench and totals rows).
ptsInt64Number of points scored.
fgStringField goals as 'made-attempted'.
fg_percFloat64Field-goal percentage, 0-100.
2_pStringTwo-pointers as 'made-attempted'.
2_p_percFloat64Two-point percentage, 0-100.
3_pStringThree-pointers as 'made-attempted'.
3_p_percFloat64Three-point percentage, 0-100.
ftStringFree throws as 'made-attempted'.
ft_percFloat64Free-throw percentage, 0-100.
offInt64Offensive rebounds.
defInt64Defensive rebounds.
rebInt64Total rebounds.
astInt64Number of assists credited.
toInt64Number of turnovers committed.
stlInt64Number of steals.
blkInt64Number of blocked shots made.
blkrInt64Blocks received (shots of the player that were blocked).
pfInt64Personal fouls.
f_onInt64Fouls on (fouls drawn).
plus_minusInt64Plus/minus while on court.

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_boxscore(game_uuid='c4hh5nig6t')

sportality_last_game_day​

Games of the last played match day of an ssgt.

Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/last-game-day

Valid URL: https://www.basketligaen.dk/api/sports-v2/last-game-day?gameType=regular

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason END year (2026 = 2025/26), mapped to its ssgt through layout-info. None = the active ssgt (these match-day views follow the current season).
gameTypegame_typeYGame type: regular (the league season) or finals (the playoffs, Slutspil).

Returns​

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

col_nametypedescription
game_uuidStringPlatform game uuid (c4hh5nig6t); every gameday route takes it.
start_date_timeStringScheduled start. On the schedule route this is the LOCAL (Europe/Copenhagen) wall time 'YYYY-MM-DD HH:MM:SS' with no zone; on the other routes it is ISO 8601 UTC with milliseconds (compare rawStartDateTime).
stateStringGame state. Schedule and day views: pre-game or post-game (hyphen). sports-v2 game-info: post_game (underscore). Gameday overview: GameEnded. Values: post-game = played (schedule, day views).
overtimeBooleanWhether the game went to overtime.
shootoutStringUnobserved: null in every sample and every full body. When filled: Whether the game was decided by a shootout (null on every game seen; basketball has none).
ssgt_uuidStringssgt uuid (platform key space: one season + series + game type); joins /statistics-v2/layout-info originalSeasonSeriesGameTypeTeams[].ssgtUuid and every route keyed by ssgt.
home_team_statusStringWIN or LOSE for the home team once the game is played; absent or empty before. Values: LOSE = the team lost; WIN = the team won.
home_team_uuidStringHome team uuid (platform key space); joins /sports-v2/teams/{team_uuid}.
home_team_owner_instance_idStringSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
home_team_codeStringThree-letter code of the home team.
home_team_names_codeStringThree-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears).
home_team_names_shortStringShort name of the team.
home_team_names_longStringLong name of the team.
home_team_names_fullStringFull name of the team.
home_team_names_code_siteStringTeam code as the club's own site shows it.
home_team_names_short_siteStringShort team name as the club's own site shows it.
home_team_names_full_siteStringFull team name as the club's own site shows it.
home_team_names_long_siteStringLong team name as the club's own site shows it.
home_team_scoreInt64Home points; null before the game is played.
home_team_iconStringHome team logo URL.
away_team_statusStringWIN or LOSE for the away team once the game is played; absent or empty before. Values: LOSE = the team lost; WIN = the team won.
away_team_uuidStringAway team uuid (platform key space); joins /sports-v2/teams/{team_uuid}.
away_team_owner_instance_idStringSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
away_team_codeStringThree-letter code of the away team.
away_team_names_codeStringThree-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears).
away_team_names_shortStringShort name of the team.
away_team_names_longStringLong name of the team.
away_team_names_fullStringFull name of the team.
away_team_names_code_siteStringTeam code as the club's own site shows it.
away_team_names_short_siteStringShort team name as the club's own site shows it.
away_team_names_full_siteStringFull team name as the club's own site shows it.
away_team_names_long_siteStringLong team name as the club's own site shows it.
away_team_scoreInt64Away points; null before the game is played.
away_team_iconStringAway team logo URL.
venue_uuidStringVenue uuid (platform key space).
venue_nameStringVenue name; absent when unknown.
series_uuidStringSeries uuid (platform key space).
series_codeStringSeries display name (Basketligaen; NOT the DBL code).
series_display_nameStringSeries display name (Basketligaen).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_last_game_day()

sportality_layout_info​

Directory of every ssgt (season + series + game type) with its teams, and the stats modules.

Endpoint URL: GET https://www.basketligaen.dk/api/statistics-v2/layout-info

Valid URL: https://www.basketligaen.dk/api/statistics-v2/layout-info

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
seasonInt64Season END year (2026 = 2025/26).
season_codeStringProvider season code: the START year (2025 = 2025/26).
season_nameStringSeason name as 'YYYY/YYYY' (start/end year).
game_typeStringGame type of the game ('' on every line seen).
game_type_nameStringGame type name in Danish (Grundspil = regular season, Slutspil = playoffs).
series_codeStringSeries code (DBL = Basketligaen).
ssgt_uuidStringssgt uuid (platform key space: one season + series + game type); joins /statistics-v2/layout-info originalSeasonSeriesGameTypeTeams[].ssgtUuid and every route keyed by ssgt.
stateStringGame state. Schedule and day views: pre-game or post-game (hyphen). sports-v2 game-info: post_game (underscore). Gameday overview: GameEnded. Values: active = current ssgt; closed = past ssgt.
season_uuidStringSeason uuid (platform key space).
series_uuidStringSeries uuid (platform key space).
game_type_uuidStringGame type uuid (platform key space).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_layout_info()

sportality_next_game_day​

Games of the next match day of an ssgt.

Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/next-game-day

Valid URL: https://www.basketligaen.dk/api/sports-v2/next-game-day?gameType=regular

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason END year (2026 = 2025/26), mapped to its ssgt through layout-info. None = the active ssgt (these match-day views follow the current season).
gameTypegame_typeYGame type: regular (the league season) or finals (the playoffs, Slutspil).

Returns​

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

col_nametypedescription
game_uuidStringPlatform game uuid (c4hh5nig6t); every gameday route takes it.
start_date_timeStringScheduled start. On the schedule route this is the LOCAL (Europe/Copenhagen) wall time 'YYYY-MM-DD HH:MM:SS' with no zone; on the other routes it is ISO 8601 UTC with milliseconds (compare rawStartDateTime).
stateStringGame state. Schedule and day views: pre-game or post-game (hyphen). sports-v2 game-info: post_game (underscore). Gameday overview: GameEnded. Values: pre-game = not yet played (schedule, day views).
overtimeBooleanWhether the game went to overtime.
shootoutStringUnobserved: null in every sample and every full body. When filled: Whether the game was decided by a shootout (null on every game seen; basketball has none).
ssgt_uuidStringssgt uuid (platform key space: one season + series + game type); joins /statistics-v2/layout-info originalSeasonSeriesGameTypeTeams[].ssgtUuid and every route keyed by ssgt.
home_team_statusStringWIN or LOSE for the home team once the game is played; absent or empty before. Values: N/A = no result yet / not applicable.
home_team_uuidStringHome team uuid (platform key space); joins /sports-v2/teams/{team_uuid}.
home_team_owner_instance_idStringSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
home_team_codeStringThree-letter code of the home team.
home_team_names_codeStringThree-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears).
home_team_names_shortStringShort name of the team.
home_team_names_longStringLong name of the team.
home_team_names_fullStringFull name of the team.
home_team_names_code_siteStringTeam code as the club's own site shows it.
home_team_names_short_siteStringShort team name as the club's own site shows it.
home_team_names_full_siteStringFull team name as the club's own site shows it.
home_team_names_long_siteStringLong team name as the club's own site shows it.
home_team_scoreInt64Home points; null before the game is played.
home_team_iconStringHome team logo URL.
away_team_statusStringWIN or LOSE for the away team once the game is played; absent or empty before. Values: N/A = no result yet / not applicable.
away_team_uuidStringAway team uuid (platform key space); joins /sports-v2/teams/{team_uuid}.
away_team_owner_instance_idStringSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
away_team_codeStringThree-letter code of the away team.
away_team_names_codeStringThree-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears).
away_team_names_shortStringShort name of the team.
away_team_names_longStringLong name of the team.
away_team_names_fullStringFull name of the team.
away_team_names_code_siteStringTeam code as the club's own site shows it.
away_team_names_short_siteStringShort team name as the club's own site shows it.
away_team_names_full_siteStringFull team name as the club's own site shows it.
away_team_names_long_siteStringLong team name as the club's own site shows it.
away_team_scoreInt64Away points; null before the game is played.
away_team_iconStringAway team logo URL.
venue_uuidStringVenue uuid (platform key space).
venue_nameStringVenue name; absent when unknown.
series_uuidStringSeries uuid (platform key space).
series_codeStringSeries display name (Basketligaen; NOT the DBL code).
series_display_nameStringSeries display name (Basketligaen).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_next_game_day()

sportality_pbp​

Play-by-play events with shot coordinates and the Genius ids (2023/24 on).

Endpoint URL: GET https://www.basketligaen.dk/api/gameday/play-by-play/{game_uuid}

Valid URL: https://www.basketligaen.dk/api/gameday/play-by-play/c4hh5nig6t

API ParameterPythonPatternRequiredNullableDescription
game_uuidgame_uuidYGame uuid: gameInfo[].uuid of the schedule (10 lowercase letters and digits). Key space: platform game uuids; the Genius match id is extId / gameSourceId in the body.

Returns​

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

col_nametypedescription
game_source_idInt64Genius match id (Int64), the same number as game_id and sports-v2 game_info_ext_id.
game_idInt64Genius match id (Int64), the join to the genius family; on play-by-play lines, an integer elsewhere.
event_idInt64Genius event number within the game (Int64), increasing through the game.
typeStringEvent type: one line per action; shots are the shooter's line, assists, blocks, steals and fouls drawn are further lines. Values: 2pt = two-point attempt (made when isSuccessful = 1); 3pt = three-point attempt (made when isSuccessful = 1); assist = assist on the previous made shot; block = block; clock = clock start, stop or adjustment; foul = foul committed; foulon = foul drawn (fouled player); freethrow = free-throw attempt; game = game start / end line; headcoachchallenge = head coach challenge; jumpball = jump ball or held ball; period = period start / end line; rebound = rebound; steal = steal; substitution = substitution (in or out); timeout = timeout; turnover = turnover.
event_uuidStringEvent uuid (UUID v5 derived from the event; unique per event).
periodInt64Period: 0 = the whole game, 1-4 the quarters, 5 and up overtime.
period_typeStringREGULAR or OVERTIME; absent on the period marker lines. Values: OVERTIME = overtime period; REGULAR = regulation period.
timeStringClock REMAINING in the period as mm:ss:cc (cc looks like hundredths of a second, only ever 00, 10, 30, 50 ... seen; unverified). Absent on the per-period marker lines.
real_world_timeStringWall-clock time of the event, ISO 8601 UTC.
updated_timeStringWhen the feed last updated the event, ISO 8601 UTC.
home_team_idInt64Genius team id of the home team (Genius key space; Int64).
home_team_codeStringHome team code as Genius spells it (mixed case, 'Hol').
home_team_nameStringName of the home team.
home_abbreviationStringHome team abbreviation.
home_team_numberInt64Team number in the game; home is 1.
home_placeStringSide of the home block: always home.
home_scoreInt64Points scored by the home team.
away_team_idInt64Genius team id of the away team (Genius key space; Int64).
away_team_codeStringAway team code as Genius spells it.
away_team_nameStringName of the away team.
away_abbreviationStringAway team abbreviation.
away_team_numberInt64Team number in the game; away is 2.
away_placeStringSide of the away block: always away.
away_scoreInt64Points scored by the away team.
revisionInt64Revision counter of the event.
game_stateStringGame state at the event: ongoing during play, GameEnded on the final line. Values: GameEnded = game over (the final line of a complete feed); ongoing = game in progress.
game_typeStringGame type of the game ('' on every line seen).
roundInt64Round number (0).
start_date_and_timeStringStart of the game ('' on every line seen).
sub_typeStringRefinement of type (the shot type, rebound kind, foul kind, ...); null on types that have none. Values: 1of1 = free throw 1 of 1; 1of2 = free throw 1 of 2; 1of3 = free throw 1 of 3; 24sec = shot-clock violation; 2of2 = free throw 2 of 2; 2of3 = free throw 2 of 3; 3of3 = free throw 3 of 3; 3sec = three-second violation; 5sec = five-second violation; 8sec = eight-second violation; adjustment = clock adjustment; alleyoop = alley-oop shot; alleyoopdunk = alley-oop dunk; backcourt = backcourt violation; badpass = bad pass; ballhandling = ball-handling error; benchTechnical = technical foul on the bench; coachTechnical = technical foul on the coach; defensive = defensive rebound; disqualifying = disqualifying foul; disruptive = disruptive foul (unverified); doubledribble = double dribble; drivinglayup = driving layup; dunk = dunk; end = end of the period or game; eurostep = euro-step layup; fadeaway = fadeaway jump shot; flagrant = flagrant foul; floatingjumpshot = floating jump shot; full = full timeout; heldball = held ball; hookshot = hook shot; in = player enters; jumpshot = jump shot; layup = layup; lodgedball = lodged ball; lost = lost the jump ball; offensive = offensive rebound or offensive foul; offensivegoaltending = offensive goaltending; officials = official timeout; other = other; out = player leaves; outofbounds = out of bounds; outofboundsrebound = rebound off an out-of-bounds ball (unverified); personal = personal foul; pullupjumpshot = pull-up jump shot; reverselayup = reverse layup; start = start of the period or game, or clock start; startperiod = start of a period (jump ball line); stepbackjumpshot = step-back jump shot; stop = clock stop; technical = technical foul; throwIn = throw-in violation (unverified); tipindunk = tip-in dunk; tipinlayup = tip-in layup; travel = traveling; turnaroundjumpshot = turnaround jump shot; unsportsmanlike = unsportsmanlike foul; won = won the jump ball.
qualifiersStringEvent qualifiers joined by ';' (a list in recent games, a ';'-joined string or null in older ones).
is_successfulInt641 when the action succeeded (a made shot or free throw, a recorded rebound ...). ABSENT, not 0, for a missed shot, so count misses as rows without it.
instance_idStringSite instance id of the club or league (platform key space, '
_' such as hol2_hol; the league itself is dbl1_dbl).
sourceStringFeed that produced the line (genius-basketball-stream-reader).
game_uuidStringPlatform game uuid (c4hh5nig6t); every gameday route takes it.
event_team_idInt64Genius team id (Genius key space; Int64).
event_team_codeStringTeam code as Genius spells it.
event_team_nameStringName of the team.
event_abbreviationStringTeam abbreviation.
event_team_numberInt64Team number in the game (1 home, 2 away).
event_placeStringSide of the team the event belongs to: home or away.
player_idInt64Genius person id (Int64). A string key in the players maps, an integer in play-by-play and box-score rows; cast here so the frames join, and join the genius family.
player_pnoInt64Genius shirt-table number of the player.
player_team_numberInt64Team number in the game (1 home, 2 away).
player_first_nameStringGiven (first) name(s) of the player.
player_family_nameStringFamily name (this route says familyName; the others lastName).
coordinates_xFloat64Shot or event x coordinate in Genius court units (Float64); origin and scale unverified.
coordinates_yFloat64Shot or event y coordinate in Genius court units (Float64); origin and orientation unverified.
period_timeInt64Marker lines only: 0 (an integer), the start of the period.

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_pbp(game_uuid='c4hh5nig6t')

sportality_post_game_team_stats​

Post-game team comparison (2023/24 on).

Endpoint URL: GET https://www.basketligaen.dk/api/gameday/post-game-data/team-stats/{game_uuid}

Valid URL: https://www.basketligaen.dk/api/gameday/post-game-data/team-stats/c4hh5nig6t?ssgtUuid=xs07bd3fmp&homeTeamUuid=rfo82vr830&awayTeamUuid=gvvuxe9ysw

API ParameterPythonPatternRequiredNullableDescription
game_uuidgame_uuidYGame uuid: gameInfo[].uuid of the schedule (10 lowercase letters and digits). Key space: platform game uuids; the Genius match id is extId / gameSourceId in the body.
ssgtUuidssgt_uuidYRequired. ssgt uuid. Without it the answer is an empty 200 body.
homeTeamUuidhome_team_uuidYRequired. Home team uuid; without it the home side comes back blank.
awayTeamUuidaway_team_uuidYRequired. Away team uuid; without it the away side comes back blank.

Returns​

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

col_nametypedescription
home_team_side_translate_keyStringTranslation key of the comparison row's label (s_2P, s_3P, s_FT, ...); the site translates it.
home_team_left_typeStringStat code of the left value (2PM = two-pointers made).
home_team_left_valueInt64Value of the left-hand statistic of the comparison row.
home_team_right_typeStringStat code of the right value (2PA = two-pointers attempted).
home_team_right_valueInt64Value of the right-hand statistic of the comparison row.
home_team_center_typeStringStat code of the centre value (2PPerc = two-point percentage).
home_team_center_valueInt64Centre value (percentage as an integer 0-100).
away_team_side_translate_keyStringTranslation key of the comparison row's label (s_2P, s_3P, s_FT, ...); the site translates it.
away_team_left_typeStringStat code of the left value (2PM = two-pointers made).
away_team_left_valueInt64Value of the left-hand statistic of the comparison row.
away_team_right_typeStringStat code of the right value (2PA = two-pointers attempted).
away_team_right_valueInt64Value of the right-hand statistic of the comparison row.
away_team_center_typeStringStat code of the centre value (2PPerc = two-point percentage).
away_team_center_valueInt64Centre value (percentage as an integer 0-100).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_post_game_team_stats(away_team_uuid='gvvuxe9ysw', game_uuid='c4hh5nig6t', home_team_uuid='rfo82vr830', ssgt_uuid='xs07bd3fmp')

sportality_roster​

Current roster of a team, grouped by position.

Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/athletes/by-team-uuid/{team_uuid}

Valid URL: https://www.basketligaen.dk/api/sports-v2/athletes/by-team-uuid/rfo82vr830

API ParameterPythonPatternRequiredNullableDescription
team_uuidteam_uuidYTeam uuid: homeTeamInfo.uuid / awayTeamInfo.uuid in the schedule or teamList[].uuid. Key space: platform team uuids (not the numeric Genius team id).

Returns​

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

col_nametypedescription
positionStringPlaying position.
position_codeStringPosition code (G, F, C, or a finer code such as SG on the profile route). Values: C = center; F = forward; G = guard.
player_typeStringRecord type (athlete). Values: athlete = a player.
genderStringGender of the person as recorded by the site (male in every row seen).
uuidStringAthlete uuid (platform key space).
first_nameStringGiven (first) name(s) of the player.
last_nameStringFamily name (surname) of the player.
full_nameStringFull display name of the player.
nationalityStringISO 3166-1 alpha-2 country code.
jersey_numberInt64Jersey (shirt) number of the player.
portrait_urlStringURL of the player's latest rendered portrait.

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_roster(team_uuid='rfo82vr830')

sportality_schedule​

Schedule and results of one season + series + game type.

Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/game-schedule

Valid URL: https://www.basketligaen.dk/api/sports-v2/game-schedule?season=2026&gameType=regular

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYRequired. Season END year (2026 = 2025/26). Mapped to the provider's ssgt through /statistics-v2/layout-info (Basketligaen 2002/03 on); a season it does not list raises NoDataError.
gameTypegame_typeYGame type: regular (the league season) or finals (the playoffs, Slutspil).

Returns​

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

col_nametypedescription
game_uuidStringPlatform game uuid (c4hh5nig6t); every gameday route takes it.
raw_start_date_timeStringScheduled start, ISO 8601 UTC.
start_date_timeStringScheduled start. On the schedule route this is the LOCAL (Europe/Copenhagen) wall time 'YYYY-MM-DD HH:MM:SS' with no zone; on the other routes it is ISO 8601 UTC with milliseconds (compare rawStartDateTime).
stateStringGame state. Schedule and day views: pre-game or post-game (hyphen). sports-v2 game-info: post_game (underscore). Gameday overview: GameEnded. Values: post-game = played (schedule, day views); pre-game = not yet played (schedule, day views).
overtimeBooleanWhether the game went to overtime.
shootoutStringUnobserved: null in every sample and every full body. When filled: Whether the game was decided by a shootout (null on every game seen; basketball has none).
ssgt_uuidStringssgt uuid (platform key space: one season + series + game type); joins /statistics-v2/layout-info originalSeasonSeriesGameTypeTeams[].ssgtUuid and every route keyed by ssgt.
home_team_statusStringWIN or LOSE for the home team once the game is played; absent or empty before. Values: LOSE = the team lost; N/A = no result yet / not applicable; WIN = the team won.
home_team_uuidStringHome team uuid (platform key space); joins /sports-v2/teams/{team_uuid}.
home_team_owner_instance_idStringSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
home_team_codeStringThree-letter code of the home team.
home_team_names_codeStringThree-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears).
home_team_names_shortStringShort name of the team.
home_team_names_longStringLong name of the team.
home_team_names_fullStringFull name of the team.
home_team_names_code_siteStringTeam code as the club's own site shows it.
home_team_names_short_siteStringShort team name as the club's own site shows it.
home_team_names_full_siteStringFull team name as the club's own site shows it.
home_team_names_long_siteStringLong team name as the club's own site shows it.
home_team_scoreInt64Home points; null before the game is played.
home_team_iconStringHome team logo URL.
away_team_statusStringWIN or LOSE for the away team once the game is played; absent or empty before. Values: LOSE = the team lost; N/A = no result yet / not applicable; WIN = the team won.
away_team_uuidStringAway team uuid (platform key space); joins /sports-v2/teams/{team_uuid}.
away_team_owner_instance_idStringSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
away_team_codeStringThree-letter code of the away team.
away_team_names_codeStringThree-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears).
away_team_names_shortStringShort name of the team.
away_team_names_longStringLong name of the team.
away_team_names_fullStringFull name of the team.
away_team_names_code_siteStringTeam code as the club's own site shows it.
away_team_names_short_siteStringShort team name as the club's own site shows it.
away_team_names_full_siteStringFull team name as the club's own site shows it.
away_team_names_long_siteStringLong team name as the club's own site shows it.
away_team_scoreInt64Away points; null before the game is played.
away_team_iconStringAway team logo URL.
venue_uuidStringVenue uuid (platform key space).
venue_nameStringVenue name; absent when unknown.
series_uuidStringSeries uuid (platform key space).
series_codeStringSeries display name (Basketligaen; NOT the DBL code).
series_display_nameStringSeries display name (Basketligaen).
round_numberInt64Round number (0 for every game seen; the league has no rounds).
round_labelStringRound label ('' for every game seen).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_schedule(season=2026)

sportality_season_filter​

Series, the 25 seasons (2002/03 on), game types and the default ssgt.

Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/season-series-game-types-filter

Valid URL: https://www.basketligaen.dk/api/sports-v2/season-series-game-types-filter

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
kindStringDirectory entry kind: series, season or game_type.
codeStringSeries code (DBL = Basketligaen).
nameStringGame type name in Danish (Grundspil = regular season, Slutspil = playoffs).
uuidStringSeries uuid (platform key space); the seriesUuid of /sports-v2/game-schedule.
deletedBooleanSoft-delete flag; false on every record seen.

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_season_filter()

sportality_sites​

Clubs (sites) taking part in an ssgt.

Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/all-sites/{ssgt_uuid}

Valid URL: https://www.basketligaen.dk/api/sports-v2/all-sites/xs07bd3fmp

API ParameterPythonPatternRequiredNullableDescription
ssgt_uuidssgt_uuidYssgt uuid: one season + series + game type, e.g. xs07bd3fmp = 2026/2027 regular season. Directory: /statistics-v2/layout-info originalSeasonSeriesGameTypeTeams[].ssgtUuid.

Returns​

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

col_nametypedescription
idStringSite instance id of the club (platform key space; the same as instanceId).
instance_idStringSite instance id of the club or league (platform key space, '
_' such as hol2_hol; the league itself is dbl1_dbl).
public_urlStringThe club's own website.
nameStringDisplay name of the club.
iconStringTeam logo URL (SVG on sportality.cdn.s8y.se).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_sites(ssgt_uuid='xs07bd3fmp')

sportality_ssgt_provider​

Stats provider of an ssgt, a bare word (genius-basketball).

Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/ssgt/{ssgt_uuid}/provider

Valid URL: https://www.basketligaen.dk/api/sports-v2/ssgt/xs07bd3fmp/provider

API ParameterPythonPatternRequiredNullableDescription
ssgt_uuidssgt_uuidYssgt uuid: one season + series + game type, e.g. xs07bd3fmp = 2026/2027 regular season. Directory: /statistics-v2/layout-info originalSeasonSeriesGameTypeTeams[].ssgtUuid.

Returns​

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

col_nametypedescription
providerStringStats provider of the ssgt (genius-basketball, a Genius Sports LiveStats relay).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_ssgt_provider(ssgt_uuid='xs07bd3fmp')

sportality_standings​

Standings of an ssgt (gameday widget).

Endpoint URL: GET https://www.basketligaen.dk/api/gameday/team-standings/{ssgt_uuid}

Valid URL: https://www.basketligaen.dk/api/gameday/team-standings/xs07bd3fmp

API ParameterPythonPatternRequiredNullableDescription
ssgt_uuidssgt_uuidYssgt uuid: one season + series + game type, e.g. xs07bd3fmp = 2026/2027 regular season. Directory: /statistics-v2/layout-info originalSeasonSeriesGameTypeTeams[].ssgtUuid.

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_idInt64Genius team id (Int64): in gameday bodies, an integer in standings and stats tables.
team_uuidStringPlatform team uuid.
team_codeStringPlatform team code (HOL, RAN).
team_nameStringName of the team.
rankInt64Rank in the standings table, 1 = first.
gpInt64Number of games played.
wInt64Number of wins.
lInt64Number of losses.
tpInt64League table points (2 per win).
forInt64Points scored by the team (points for).
gaInt64Points conceded.
plus_minusInt64Point difference.
strkInt64Current streak as a signed integer: positive = wins in a row, negative = losses in a row.

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_standings(ssgt_uuid='xs07bd3fmp')

sportality_stats_info​

Stats table of one module for a season (players, teams, games, standings).

Endpoint URL: GET https://www.basketligaen.dk/api/statistics-v2/stats-info/{module}

Valid URL: https://www.basketligaen.dk/api/statistics-v2/stats-info/players_summary?count=1000&season=2026&gameType=regular

API ParameterPythonPatternRequiredNullableDescription
modulemoduleYStats table: players_* (summary, fieldGoal, rebound, point, offensive, defensive, foul), teams_* (summary, attendance, possession, fieldGoal, point, rebound, offensive, defensive, foul), games_games or standings_standings.
seasonseasonYRequired. Season END year (2026 = 2025/26). Mapped to the provider's ssgt through /statistics-v2/layout-info (Basketligaen 2002/03 on); a season it does not list raises NoDataError.
gameTypegame_typeYGame type: regular (the league season) or finals (the playoffs, Slutspil).

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_idInt64Genius person id (Int64). A string key in the players maps, an integer in play-by-play and box-score rows; cast here so the frames join, and join the genius family.
gpInt64Number of games played.
effFloat64Efficiency (valuation) per game; the formula is the site's own (unverified).
minsFloat64Average minutes played per game ('27.3').
ppgFloat64Points per game.
rpgFloat64Rebounds per game.
apgFloat64Assists per game.
stpgFloat64Steals per game.
blkpgFloat64Blocks per game.
info_uuidStringAthlete uuid on player tables, team uuid on team tables (platform key space).
info_full_nameStringFull display name of the player.
info_first_nameStringGiven (first) name(s) of the player.
info_last_nameStringFamily name (surname) of the player.
info_nationalityStringISO 3166-1 alpha-2 country code.
info_shootsStringShooting hand (null).
info_genderStringGender of the person as recorded by the site (male in every row seen).
info_weight_valueInt64Weight of the player in kilograms.
info_weight_formatStringUnit of the value (kg). Values: kg = kilograms.
info_height_valueInt64Height of the player in centimetres.
info_height_formatStringUnit of the value (cm). Values: cm = centimetres.
info_team_uuidStringTeam uuid (platform key space); joins /sports-v2/teams/{team_uuid}.
info_team_nameStringName of the team.
info_team_codeStringThree-letter team code.
info_team_mediaStringURL of the team logo image.
info_team_owner_instance_idStringSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
info_team_site_display_nameStringTeam name as the league site displays it.
info_team_idInt64Genius team id (Genius key space; an integer here).
info_numberInt64Jersey (shirt) number of the player.
info_positionStringPosition code (G, F, C, SG, SF ...).
wInt64Wins. Team and standings modules: wins of the team in the ssgt.
p_avgFloat64Points per game.
r_avgFloat64Rebounds per game.
a_avgFloat64Assists per game.
s_avgFloat64Steals per game.
b_avgFloat64Blocks per game.
f_avgFloat64Fouls per game.
2_p_percFloat64Two-point percentage, 0-100.
3_p_percFloat64Three-point percentage, 0-100.
ft_percFloat64Free-throw percentage, 0-100.
info_nameStringName of the team.
info_site_display_nameStringTeam name as the league site displays it.
info_owner_instance_idStringSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
date_timeStringStart time 'YYYY-MM-DD HH:MM:SS', LOCAL (Europe/Copenhagen) wall time with no zone.
home_teamStringName of the home team.
away_teamStringName of the away team.
venueStringName of the venue the game was played in.
attendanceInt64Attendance as an integer; present and non-null on all 706 rows of the six seasons sampled (2012/13-2026/27).
home_scoreInt64Points scored by the home team (games_games; Int64 on the wire).
away_scoreInt64Points scored by the away team (games_games; Int64 on the wire).
decided_inStringHow the game was decided: null after regulation, otherwise the extra period (OT = overtime).
info_game_idInt64Genius match id of the row (Genius key space).
info_home_team_idInt64Genius team id of the home team (Genius key space).
info_away_team_idInt64Genius team id of the away team (Genius key space).
blkInt64Blocks (total).
brInt64Blocks received (shots of the player that were blocked), total (read from BLKR in the box score; unverified).
stlInt64Steals (total).
plusInt64Team points scored while the player was on court (total; unverified).
minusInt64Opponent points scored while the player was on court (total; unverified).
fgmInt64Field goals made (total).
fgaInt64Field goals attempted (total).
fg_percFloat64Field-goal percentage, 0-100.
fge_percFloat64Effective field-goal percentage ((FGM + 0.5 x 3PM) / FGA), 0-100.
3_pmInt64Three-pointers made (total).
3_paInt64Three-pointers attempted (total).
2_pmInt64Two-pointers made (total).
2_paInt64Two-pointers attempted (total).
pfInt64Personal fouls (total).
tfInt64Technical fouls (total).
ofInt64Offensive fouls (total).
f_onFloat64Fouls on (fouls drawn), total.
ufInt64Unsportsmanlike fouls (total).
f_outsInt64Times fouled out.
o_ratFloat64Offensive rating (points produced per 100 possessions, the site's formula; unverified).
tsaInt64True-shooting attempts (FGA + 0.44 x FTA), total.
ts_percFloat64True-shooting percentage, 0-100.
aInt64Assists (total).
atrFloat64Assist-to-turnover ratio.
u_percFloat64Usage percentage, 0-100.
egsFloat64Game score per game (unverified).
tpInt64Total points scored.
fbpInt64Fast-break points (total).
fbp_percFloat64Fast-break points as a percentage of the player's points (unverified).
pitpInt64Points in the paint (total).
pitp_percFloat64Points in the paint as a percentage of the player's points (unverified).
2nd_ch_pInt64Second-chance points (total).
2nd_ch_p_percFloat64Second-chance points as a percentage of the player's points (unverified).
plus_minusInt64Plus/minus (team points minus opponent points while on court), total.
drFloat64Defensive rebounds (total).
orInt64Offensive rebounds (total).
rebInt64Total rebounds.
or_percFloat64Offensive rebound percentage; the denominator is the site's own (unverified).
dr_percFloat64Defensive rebound percentage; values far below ORPerc in the same row suggest a different base (unverified).
rankInt64Unobserved: null in every sample and every full body. When filled: Always null on this table: the rows are sorted, not ranked.
lInt64Losses. Standings module: losses of the team in the ssgt.
forInt64Points scored by the team (points for).
gaInt64Points conceded.
strkStringCurrent streak: a positive number = wins in a row, '-n' = losses in a row.
gp_homeInt64Home games played.
att_total_overallInt64Total attendance over all games (the site's own sum).
att_avg_overallInt64Average attendance per game.
br_avgFloat64Blocks received per game.
dr_avgFloat64Defensive rebounds per game.
tdInt64Takeaways or turnovers forced (unverified).
td_avgFloat64Per-game average of TD (unverified).
fgm_avgFloat64Field goals made per game.
fga_avgFloat64Field goals attempted per game.
fg_perc_avgFloat64Field-goal percentage per game average (values near 0.1 in the rows seen; unverified).
3_pa_avgFloat64Three-pointers attempted per game.
3_pm_avgFloat64Three-pointers made per game.
2_pm_avgFloat64Two-pointers made per game.
2_pa_avgFloat64Two-pointers attempted per game.
fdInt64Fouls drawn (0 in every row seen; unverified).
fd_avgInt64Fouls drawn per game (unverified, as FD).
of_avgFloat64Offensive fouls per game.
f_on_avgFloat64Fouls on per game.
pf_avgFloat64Personal fouls per game.
tf_avgFloat64Technical fouls per game.
tfoInt64Technical fouls on the opponent (unverified).
tfo_avgInt64Per-game average of TFO (unverified).
uf_avgFloat64Unsportsmanlike fouls per game.
foInt64Fouls-out count (unverified).
fo_avgInt64Per-game average of FO (unverified).
fcdInt64Coach disqualifying fouls (unverified).
fcd_avgInt64Per-game average of FCD (unverified).
fctInt64Coach technical fouls (read from the play-by-play foul subtype coachTechnical; unverified).
fct_avgFloat64Coach technical fouls per game.
fbtInt64Bench technical fouls (read from the play-by-play foul subtype benchTechnical; unverified).
fbt_avgFloat64Bench technical fouls per game.
fInt64Total personal fouls committed.
f_teamInt64Team fouls (unverified).
f_team_avgFloat64Team fouls per game (unverified).
o_rat_avgFloat64Offensive rating per game average.
adInt64Assists difference or assists allowed (0 in every row seen; unverified).
ad_avgInt64Per-game average of AD (0 in every row seen; unverified).
ecFloat64Unverified (in the hundreds, e.g. '509.0'; possibly an efficiency sum).
toInt64Turnovers (total).
to_avgFloat64Turnovers per game.
fbp_avgFloat64Fast-break points per game.
fbpaInt64Fast-break points attempts (unverified).
fbpmInt64Fast-break points made (unverified).
pitp_avgFloat64Points in the paint per game.
pitpaInt64Paint shots attempted (unverified).
pitpa_avgFloat64Paint shots attempted per game (unverified).
pitpmInt64Paint shots made (unverified).
pitpm_avgFloat64Paint shots made per game (unverified).
pftoInt64Points from turnovers (total).
pfto_avgFloat64Points from turnovers per game.
2nd_ch_pmInt64Second-chance field goals made (unverified).
2nd_ch_pm_avgFloat64Second-chance field goals made per game (unverified).
2nd_ch_paInt64Second-chance field goals attempted (unverified).
2nd_ch_pa_avgFloat64Second-chance field goals attempted per game (unverified).
ftmInt64Free throws made (total).
ftm_avgFloat64Free throws made per game.
ftaInt64Free throws attempted (total).
fta_avgFloat64Free throws attempted per game.
possInt64Possessions (total).
poss_avgFloat64Possessions per game.
poss_oInt64Offensive possessions (total; equal to Poss in every row seen).
poss_o_avgFloat64Offensive possessions per game.
dpppFloat64Defensive points per possession (unverified).
dppp_avgFloat64Defensive points per possession, per game average (unverified).
opppFloat64Offensive points per possession.
oppp_avgFloat64Offensive points per possession, per game average.
paceInt64Pace (possessions per 40 minutes; 0 in every row seen, unverified).
pace_avgInt64Pace, per game average (0 in every row seen).
tlInt64Team leads / lead changes (unverified).
otrInt64Offensive team rebounds (unverified).
dtrInt64Defensive team rebounds (unverified).
trInt64Total team rebounds (unverified).
tr_avgFloat64Team rebounds per game (unverified).
prInt64Player rebounds (total; Reb minus TR, unverified).
pr_avgFloat64Player rebounds per game (unverified).
ordInt64Offensive rebounds allowed or the opponent's offensive rebounds (0 in every row seen; unverified).

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The site answered 404, an empty body (gameday routes before 2023/24, or an unknown game), a table with no rows, or the season and game type are not in layout-info.
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. An error envelope or non-JSON 200, another game / team / athlete / ssgt than the one asked for, an unfinished game or truncated play-by-play, a cut stats table, or any other failed fetch (a 500 is the site's answer for an unknown uuid and is not retried).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

sportality_stats_info(module='players_summary', season=2026)