DBL — Basketligaen site API (www.basketligaen.dk/api, Denmark; Sportality) — Team
sportality_team
One team.
Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/teams/{team_uuid}
Valid URL: https://www.basketligaen.dk/api/sports-v2/teams/rfo82vr830
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_uuid | team_uuid | Y | Team 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_name | type | description |
|---|---|---|
names_code | character | Three-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears). |
names_short | character | Short name of the team. |
names_long | character | Long name of the team. |
names_full | character | Full name of the team. |
names_code_site | character | Team code as the club's own site shows it. |
names_short_site | character | Short team name as the club's own site shows it. |
names_full_site | character | Full team name as the club's own site shows it. |
names_long_site | character | Long team name as the club's own site shows it. |
info | character | Detail record (shape depends on the route; see the child columns). |
uuid | character | Platform uuid of this record (10-character lowercase key space of its record type; joins the route that serves it). |
nationality | character | ISO 3166-1 alpha-2 country code. |
arena_name | character | Name of the arena. |
public_url | character | The club's own website. |
icon | character | Team logo URL (SVG on sportality.cdn.s8y.se). |
owner_instance_id | character | Site instance id of the club that owns the team (platform key space, e.g. hol2_hol). |
site_display_name | character | Team name as the league site displays it. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Example
sportality_team(team_uuid='rfo82vr830')
Last validated n/a.
sportality_team_played_games
A team's recent games (current season view).
Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/played-games/{team_uuid}
Valid URL: https://www.basketligaen.dk/api/sports-v2/played-games/rfo82vr830
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_uuid | team_uuid | Y | Team 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_name | type | description |
|---|---|---|
date | character | Game date, 'D mon YY' in English ('10 oct 26'). |
time | character | Local start time 'HH:MM' (Europe/Copenhagen). |
game_uuid | character | Platform game uuid (c4hh5nig6t); every gameday route takes it. |
start_date_time | character | Scheduled 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). |
state | character | Game 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). |
overtime | logical | Whether the game went to overtime. |
shootout | character | Unobserved: 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_uuid | character | ssgt uuid (platform key space: one season + series + game type); joins /statistics-v2/layout-info seasonSeriesGameTypeTeams[].ssgtUuid and every route keyed by ssgt. |
home_team_status | character | WIN 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_uuid | character | Home team uuid (platform key space); joins /sports-v2/teams/{team_uuid}. |
home_team_owner_instance_id | character | Site instance id of the club that owns the team (platform key space, e.g. hol2_hol). |
home_team_code | character | Three-letter code of the home team. |
home_team_names_code | character | Three-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears). |
home_team_names_short | character | Short name of the team. |
home_team_names_long | character | Long name of the team. |
home_team_names_full | character | Full name of the team. |
home_team_names_code_site | character | Team code as the club's own site shows it. |
home_team_names_short_site | character | Short team name as the club's own site shows it. |
home_team_names_full_site | character | Full team name as the club's own site shows it. |
home_team_names_long_site | character | Long team name as the club's own site shows it. |
home_team_score | integer | Home points; null before the game is played. |
home_team_icon | character | Home team logo URL. |
away_team_status | character | WIN 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_uuid | character | Away team uuid (platform key space); joins /sports-v2/teams/{team_uuid}. |
away_team_owner_instance_id | character | Site instance id of the club that owns the team (platform key space, e.g. hol2_hol). |
away_team_code | character | Three-letter code of the away team. |
away_team_names_code | character | Three-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears). |
away_team_names_short | character | Short name of the team. |
away_team_names_long | character | Long name of the team. |
away_team_names_full | character | Full name of the team. |
away_team_names_code_site | character | Team code as the club's own site shows it. |
away_team_names_short_site | character | Short team name as the club's own site shows it. |
away_team_names_full_site | character | Full team name as the club's own site shows it. |
away_team_names_long_site | character | Long team name as the club's own site shows it. |
away_team_score | integer | Away points; null before the game is played. |
away_team_icon | character | Away team logo URL. |
venue_uuid | character | Venue uuid (platform key space). |
venue_name | character | Venue name; absent when unknown. |
series_uuid | character | Series uuid (platform key space). |
series_code | character | Series display name (Basketligaen; NOT the DBL code). |
series_display_name | character | Series display name (Basketligaen). |
return_parsed=False — the raw JSON Dict payload, unparsed.
Example
sportality_team_played_games(team_uuid='rfo82vr830')
Last validated n/a.
sportality_team_stats
Team totals per period (2023/24 on).
Endpoint URL: GET https://www.basketligaen.dk/api/gameday/team-stats/{game_uuid}
Valid URL: https://www.basketligaen.dk/api/gameday/team-stats/c4hh5nig6t
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
game_uuid | game_uuid | Y | Game 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_name | type | description |
|---|---|---|
team_side | character | home or away: the side the row belongs to. |
game_source_id | integer | Genius match id (Int64), the same number as game_id and sports-v2 game_info_ext_id. |
game_id | integer | Genius match id (Int64), the join to the genius family; on play-by-play lines, an integer elsewhere. |
team_id | integer | Genius team id (Int64): in gameday bodies, an integer in standings and stats tables. |
team_name | character | Name of the team. |
team_code | character | Platform team code (HOL, RAN). |
team_number | integer | Team number; home is 1. |
instance_id | character | Site instance that owns the feed (platform key space; dbl1_dbl). |
source | character | Feed that produced the row (genius-basketball-stream-reader). |
game_uuid | character | Platform game uuid (c4hh5nig6t); every gameday route takes it. |
period | integer | Period: 0 = the whole game, 1-4 the quarters, 5 and up overtime. |
period_type | character | REGULAR or OVERTIME; absent on the whole-game row of some eras. Values: REGULAR = regulation period. |
tp | integer | Points scored by the team in the period (period 0 = the whole game). |
fgm | integer | Field goals made (total). |
a | integer | Assists (total). |
reb | integer | Total rebounds. |
stl | integer | Number of steals. |
blk | integer | Number of blocked shots made. |
pf | integer | Personal fouls. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Example
sportality_team_stats(game_uuid='c4hh5nig6t')
Last validated n/a.
sportality_team_upcoming_games
A team's next games (current season view).
Endpoint URL: GET https://www.basketligaen.dk/api/sports-v2/upcoming-games/{team_uuid}
Valid URL: https://www.basketligaen.dk/api/sports-v2/upcoming-games/rfo82vr830
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
team_uuid | team_uuid | Y | Team 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_name | type | description |
|---|---|---|
date | character | Game date, 'D mon YY' in English. |
time | character | Local start time 'HH:MM' (Europe/Copenhagen). |
game_uuid | character | Platform game uuid (c4hh5nig6t); every gameday route takes it. |
start_date_time | character | Scheduled 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). |
state | character | Game 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). |
overtime | logical | Whether the game went to overtime. |
shootout | character | Unobserved: 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_uuid | character | ssgt uuid (platform key space: one season + series + game type); joins /statistics-v2/layout-info seasonSeriesGameTypeTeams[].ssgtUuid and every route keyed by ssgt. |
home_team_status | character | WIN 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_uuid | character | Home team uuid (platform key space); joins /sports-v2/teams/{team_uuid}. |
home_team_owner_instance_id | character | Site instance id of the club that owns the team (platform key space, e.g. hol2_hol). |
home_team_code | character | Three-letter code of the home team. |
home_team_names_code | character | Three-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears). |
home_team_names_short | character | Short name of the team. |
home_team_names_long | character | Long name of the team. |
home_team_names_full | character | Full name of the team. |
home_team_names_code_site | character | Team code as the club's own site shows it. |
home_team_names_short_site | character | Short team name as the club's own site shows it. |
home_team_names_full_site | character | Full team name as the club's own site shows it. |
home_team_names_long_site | character | Long team name as the club's own site shows it. |
home_team_score | integer | Home points; null before the game is played. |
home_team_icon | character | Home team logo URL. |
away_team_status | character | WIN 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_uuid | character | Away team uuid (platform key space); joins /sports-v2/teams/{team_uuid}. |
away_team_owner_instance_id | character | Site instance id of the club that owns the team (platform key space, e.g. hol2_hol). |
away_team_code | character | Three-letter code of the away team. |
away_team_names_code | character | Three-letter team code (HOL, RAN ...); codes changed between seasons for some clubs (BAK in 2026, BKA in 2025 for Bakken Bears). |
away_team_names_short | character | Short name of the team. |
away_team_names_long | character | Long name of the team. |
away_team_names_full | character | Full name of the team. |
away_team_names_code_site | character | Team code as the club's own site shows it. |
away_team_names_short_site | character | Short team name as the club's own site shows it. |
away_team_names_full_site | character | Full team name as the club's own site shows it. |
away_team_names_long_site | character | Long team name as the club's own site shows it. |
away_team_score | integer | Away points; null before the game is played. |
away_team_icon | character | Away team logo URL. |
venue_uuid | character | Venue uuid (platform key space). |
venue_name | character | Venue name; absent when unknown. |
series_uuid | character | Series uuid (platform key space). |
series_code | character | Series display name (Basketligaen; NOT the DBL code). |
series_display_name | character | Series display name (Basketligaen). |
return_parsed=False — the raw JSON Dict payload, unparsed.
Example
sportality_team_upcoming_games(team_uuid='rfo82vr830')
Last validated n/a.