Skip to contents

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

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

Usage

sportality_stats_info(module, season, game_type = "regular")

Arguments

module

(required) Stats table: players_* (summary, fieldGoal, rebound, point, offensive, defensive, foul), teams_* (summary, attendance, possession, fieldGoal, point, rebound, offensive, defensive, foul), games_games or standings_standings. One of games_games, players_defensive, players_fieldGoal, players_foul, players_offensive, players_point, players_rebound, players_summary, standings_standings, teams_attendance, teams_defensive, teams_fieldGoal, teams_foul, teams_offensive, teams_point, teams_possession, teams_rebound, teams_summary.

season

(required) 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 hoopR_no_data.

game_type

(default "regular") Game type: regular (the league season) or finals (the playoffs, Slutspil).

Value

A hoopR_data tibble: Stats table of one module for a season (players, teams, games, standings). An empty valid answer raises hoopR_no_data; the documented columns come first, in this order (sportsdataverse-py sportality_stats_info), then any column the API added later:

col_nametypedescription
player_idintegerGenius 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.
gpintegerNumber of games played.
effdoubleEfficiency (valuation) per game; the formula is the site's own (unverified).
minsdoubleAverage minutes played per game ('27.3').
ppgdoublePoints per game.
rpgdoubleRebounds per game.
apgdoubleAssists per game.
stpgdoubleSteals per game.
blkpgdoubleBlocks per game.
info_uuidcharacterAthlete uuid on player tables, team uuid on team tables (platform key space).
info_full_namecharacterFull display name of the player.
info_first_namecharacterGiven (first) name(s) of the player.
info_last_namecharacterFamily name (surname) of the player.
info_nationalitycharacterISO 3166-1 alpha-2 country code.
info_shootscharacterShooting hand (null).
info_gendercharacterGender of the person as recorded by the site (male in every row seen).
info_weight_valueintegerWeight of the player in kilograms.
info_weight_formatcharacterUnit of the value (kg). Values: kg = kilograms.
info_height_valueintegerHeight of the player in centimetres.
info_height_formatcharacterUnit of the value (cm). Values: cm = centimetres.
info_team_uuidcharacterTeam uuid (platform key space); joins /sports-v2/teams/{team_uuid}.
info_team_namecharacterName of the team.
info_team_codecharacterThree-letter team code.
info_team_mediacharacterURL of the team logo image.
info_team_owner_instance_idcharacterSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
info_team_site_display_namecharacterTeam name as the league site displays it.
info_team_idintegerGenius team id (Genius key space; an integer here).
info_numberintegerJersey (shirt) number of the player.
info_positioncharacterPosition code (G, F, C, SG, SF ...).
wintegerWins. Team and standings modules: wins of the team in the ssgt.
p_avgdoublePoints per game.
r_avgdoubleRebounds per game.
a_avgdoubleAssists per game.
s_avgdoubleSteals per game.
b_avgdoubleBlocks per game.
f_avgdoubleFouls per game.
2_p_percdoubleTwo-point percentage, 0-100.
3_p_percdoubleThree-point percentage, 0-100.
ft_percdoubleFree-throw percentage, 0-100.
info_namecharacterName of the team.
info_site_display_namecharacterTeam name as the league site displays it.
info_owner_instance_idcharacterSite instance id of the club that owns the team (platform key space, e.g. hol2_hol).
date_timecharacterStart time 'YYYY-MM-DD HH:MM:SS', LOCAL (Europe/Copenhagen) wall time with no zone.
home_teamcharacterName of the home team.
away_teamcharacterName of the away team.
venuecharacterName of the venue the game was played in.
attendanceintegerAttendance as an integer; present and non-null on all 706 rows of the six seasons sampled (2012/13-2026/27).
home_scoreintegerPoints scored by the home team (games_games; Int64 on the wire).
away_scoreintegerPoints scored by the away team (games_games; Int64 on the wire).
decided_incharacterHow the game was decided: null after regulation, otherwise the extra period (OT = overtime).
info_game_idintegerGenius match id of the row (Genius key space).
info_home_team_idintegerGenius team id of the home team (Genius key space).
info_away_team_idintegerGenius team id of the away team (Genius key space).
blkintegerBlocks (total).
brintegerBlocks received (shots of the player that were blocked), total (read from BLKR in the box score; unverified).
stlintegerSteals (total).
plusintegerTeam points scored while the player was on court (total; unverified).
minusintegerOpponent points scored while the player was on court (total; unverified).
fgmintegerField goals made (total).
fgaintegerField goals attempted (total).
fg_percdoubleField-goal percentage, 0-100.
fge_percdoubleEffective field-goal percentage ((FGM + 0.5 x 3PM) / FGA), 0-100.
3_pmintegerThree-pointers made (total).
3_paintegerThree-pointers attempted (total).
2_pmintegerTwo-pointers made (total).
2_paintegerTwo-pointers attempted (total).
pfintegerPersonal fouls (total).
tfintegerTechnical fouls (total).
ofintegerOffensive fouls (total).
f_ondoubleFouls on (fouls drawn), total.
ufintegerUnsportsmanlike fouls (total).
f_outsintegerTimes fouled out.
o_ratdoubleOffensive rating (points produced per 100 possessions, the site's formula; unverified).
tsaintegerTrue-shooting attempts (FGA + 0.44 x FTA), total.
ts_percdoubleTrue-shooting percentage, 0-100.
aintegerAssists (total).
atrdoubleAssist-to-turnover ratio.
u_percdoubleUsage percentage, 0-100.
egsdoubleGame score per game (unverified).
tpintegerTotal points scored.
fbpintegerFast-break points (total).
fbp_percdoubleFast-break points as a percentage of the player's points (unverified).
pitpintegerPoints in the paint (total).
pitp_percdoublePoints in the paint as a percentage of the player's points (unverified).
2nd_ch_pintegerSecond-chance points (total).
2nd_ch_p_percdoubleSecond-chance points as a percentage of the player's points (unverified).
plus_minusintegerPlus/minus (team points minus opponent points while on court), total.
drdoubleDefensive rebounds (total).
orintegerOffensive rebounds (total).
rebintegerTotal rebounds.
or_percdoubleOffensive rebound percentage; the denominator is the site's own (unverified).
dr_percdoubleDefensive rebound percentage; values far below ORPerc in the same row suggest a different base (unverified).
rankintegerUnobserved: null in every sample and every full body. When filled: Always null on this table: the rows are sorted, not ranked.
lintegerLosses. Standings module: losses of the team in the ssgt.
forintegerPoints scored by the team (points for).
gaintegerPoints conceded.
strkcharacterCurrent streak: a positive number = wins in a row, '-n' = losses in a row.
gp_homeintegerHome games played.
att_total_overallintegerTotal attendance over all games (the site's own sum).
att_avg_overallintegerAverage attendance per game.
br_avgdoubleBlocks received per game.
dr_avgdoubleDefensive rebounds per game.
tdintegerTakeaways or turnovers forced (unverified).
td_avgdoublePer-game average of TD (unverified).
fgm_avgdoubleField goals made per game.
fga_avgdoubleField goals attempted per game.
fg_perc_avgdoubleField-goal percentage per game average (values near 0.1 in the rows seen; unverified).
3_pa_avgdoubleThree-pointers attempted per game.
3_pm_avgdoubleThree-pointers made per game.
2_pm_avgdoubleTwo-pointers made per game.
2_pa_avgdoubleTwo-pointers attempted per game.
fdintegerFouls drawn (0 in every row seen; unverified).
fd_avgintegerFouls drawn per game (unverified, as FD).
of_avgdoubleOffensive fouls per game.
f_on_avgdoubleFouls on per game.
pf_avgdoublePersonal fouls per game.
tf_avgdoubleTechnical fouls per game.
tfointegerTechnical fouls on the opponent (unverified).
tfo_avgintegerPer-game average of TFO (unverified).
uf_avgdoubleUnsportsmanlike fouls per game.
fointegerFouls-out count (unverified).
fo_avgintegerPer-game average of FO (unverified).
fcdintegerCoach disqualifying fouls (unverified).
fcd_avgintegerPer-game average of FCD (unverified).
fctintegerCoach technical fouls (read from the play-by-play foul subtype coachTechnical; unverified).
fct_avgdoubleCoach technical fouls per game.
fbtintegerBench technical fouls (read from the play-by-play foul subtype benchTechnical; unverified).
fbt_avgdoubleBench technical fouls per game.
fintegerTotal personal fouls committed.
f_teamintegerTeam fouls (unverified).
f_team_avgdoubleTeam fouls per game (unverified).
o_rat_avgdoubleOffensive rating per game average.
adintegerAssists difference or assists allowed (0 in every row seen; unverified).
ad_avgintegerPer-game average of AD (0 in every row seen; unverified).
ecdoubleUnverified (in the hundreds, e.g. '509.0'; possibly an efficiency sum).
tointegerTurnovers (total).
to_avgdoubleTurnovers per game.
fbp_avgdoubleFast-break points per game.
fbpaintegerFast-break points attempts (unverified).
fbpmintegerFast-break points made (unverified).
pitp_avgdoublePoints in the paint per game.
pitpaintegerPaint shots attempted (unverified).
pitpa_avgdoublePaint shots attempted per game (unverified).
pitpmintegerPaint shots made (unverified).
pitpm_avgdoublePaint shots made per game (unverified).
pftointegerPoints from turnovers (total).
pfto_avgdoublePoints from turnovers per game.
2nd_ch_pmintegerSecond-chance field goals made (unverified).
2nd_ch_pm_avgdoubleSecond-chance field goals made per game (unverified).
2nd_ch_paintegerSecond-chance field goals attempted (unverified).
2nd_ch_pa_avgdoubleSecond-chance field goals attempted per game (unverified).
ftmintegerFree throws made (total).
ftm_avgdoubleFree throws made per game.
ftaintegerFree throws attempted (total).
fta_avgdoubleFree throws attempted per game.
possintegerPossessions (total).
poss_avgdoublePossessions per game.
poss_ointegerOffensive possessions (total; equal to Poss in every row seen).
poss_o_avgdoubleOffensive possessions per game.
dpppdoubleDefensive points per possession (unverified).
dppp_avgdoubleDefensive points per possession, per game average (unverified).
opppdoubleOffensive points per possession.
oppp_avgdoubleOffensive points per possession, per game average.
paceintegerPace (possessions per 40 minutes; 0 in every row seen, unverified).
pace_avgintegerPace, per game average (0 in every row seen).
tlintegerTeam leads / lead changes (unverified).
otrintegerOffensive team rebounds (unverified).
dtrintegerDefensive team rebounds (unverified).
trintegerTotal team rebounds (unverified).
tr_avgdoubleTeam rebounds per game (unverified).
printegerPlayer rebounds (total; Reb minus TR, unverified).
pr_avgdoublePlayer rebounds per game (unverified).
ordintegerOffensive rebounds allowed or the opponent's offensive rebounds (0 in every row seen; unverified).

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in sportality_schedule().

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