Skip to contents

A team's per-game averages and totals at a competition, with the bench totals.

Endpoint: GET https://digital-api.fiba.basketball/hapi/getgdapcompetitionteamstatisticsbyteamid

Usage

fiba_gdap_team_stats(team_id, return_parsed = TRUE)

Arguments

team_id

(integer, required) Required. Competition team id: one per team per competition (teamA.teamId of a game row; Germany is 279569 at the 2023 World Cup and 281545 at Paris 2024). Not the federation organisationId

return_parsed

Parse the payload into a tibble (default TRUE); FALSE returns the raw JSON list.

Value

A hoopR_data tibble (the raw JSON list when return_parsed = FALSE) with the following columns:

col_nametypedescription
team_idintegerCompetition team id: one per team per competition (Germany = 279569 at the 2023 World Cup, 281545 at Paris 2024). Joins getgdapcompetitionteamrosterbyteamid / getgdapcompetitionteamstatisticsbyteamid gdapTeamId; not an organisationId.
competition_idintegerFIBA competition id (GDAP key space): one per edition (2023 World Cup = 208182, BCL 2024-25 = 208850); gdapCompetitionId.
points_per_gamedoubleThe team's average points per game played.
rebounds_per_gamedoubleThe bench players' average rebounds per game played.
rebounds_offensive_per_gamedoubleThe bench players' average offensive rebounds per game played.
rebounds_defensive_per_gamedoubleThe bench players' average defensive rebounds per game played.
assists_per_gamedoubleThe team's average assists per game played.
blocks_per_gamedoubleThe team's average blocked shots per game played.
turnovers_per_gamedoubleThe bench players' average turnovers per game played.
fouls_per_gamedoubleThe bench players' average personal fouls per game played.
plus_minus_per_gamedoubleThe team's average plus/minus (point differential while on court) per game played.
efficiency_per_gamedoubleThe team's average efficiency (FIBA EFF) per game played.
play_time_in_seconds_per_gamedoubleThe team's average playing time in seconds per game played.
field_goals_made_per_gamedoubleThe team's average field goals made per game played.
field_goals_attempted_per_gamedoubleThe team's average field goals attempted per game played.
two_points_made_per_gamedoubleThe team's average two-point field goals made per game played.
two_points_attempted_per_gamedoubleThe team's average two-point field goals attempted per game played.
three_points_made_per_gamedoubleThe team's average three-point field goals made per game played.
three_points_attempted_per_gamedoubleThe team's average three-point field goals attempted per game played.
free_throws_made_per_gamedoubleThe team's average free throws made per game played.
free_throws_attempted_per_gamedoubleThe team's average free throws attempted per game played.
points_from_turnovers_per_gamedoubleThe team's average points from turnovers per game played.
fast_break_points_per_gamedoubleThe team's average fast-break points per game played.
second_chance_points_per_gamedoubleThe team's average second-chance points per game played.
points_in_the_paint_per_gamedoubleThe team's average points in the paint per game played.
from_bench_points_per_gamedoubleThe team's average points by bench players per game played.
steals_per_gamedoubleThe team's average steals per game played.
total_games_playedintegerThe bench players' total games played over the games played.
total_games_wonintegerThe team's total games won over the games played.
total_games_lostintegerThe team's total games lost over the games played.
total_reboundsintegerThe bench players' total rebounds over the games played.
total_rebounds_offensiveintegerThe bench players' total offensive rebounds over the games played.
total_rebounds_defensiveintegerThe bench players' total defensive rebounds over the games played.
total_blocksintegerThe team's total blocked shots over the games played.
total_turnoversintegerThe bench players' total turnovers over the games played.
total_foulsintegerThe bench players' total personal fouls over the games played.
total_assistsintegerThe team's total assists over the games played.
total_plus_minusintegerThe team's total plus/minus (point differential while on court) over the games played.
total_efficiencyintegerThe team's total efficiency (FIBA EFF) over the games played.
total_play_time_in_secondsintegerThe team's total playing time in seconds over the games played.
total_pointsintegerThe team's total points over the games played.
total_field_goals_madeintegerThe team's total field goals made over the games played.
total_field_goals_attemptedintegerThe team's total field goals attempted over the games played.
field_goals_percentagedoubleField-goal percentage, 0-100 (over the competition; full float precision in averages).
total_two_points_madeintegerThe team's total two-point field goals made over the games played.
total_two_points_attemptedintegerThe team's total two-point field goals attempted over the games played.
two_points_percentagedoubleTwo-point field-goal percentage, 0-100 (over the competition; full float precision in averages).
total_three_points_madeintegerThe team's total three-point field goals made over the games played.
total_three_points_attemptedintegerThe team's total three-point field goals attempted over the games played.
three_points_percentagedoubleThree-point field-goal percentage, 0-100 (over the competition; full float precision in averages).
total_free_throws_madeintegerThe team's total free throws made over the games played.
total_free_throws_attemptedintegerThe team's total free throws attempted over the games played.
free_throws_percentagedoubleFree-throw percentage, 0-100 (over the competition; full float precision in averages).
total_double_doublesintegerThe team's total double-doubles over the games played.
total_triple_doublesintegerThe team's total triple-doubles over the games played.
total_quadruple_doublesintegerThe team's total quadruple-doubles over the games played.
total_quintuple_doublesintegerThe team's total quintuple-doubles over the games played.
total_points_from_turnoversintegerThe team's total points from turnovers over the games played.
total_fast_break_pointsintegerThe team's total fast-break points over the games played.
total_second_chance_pointsintegerThe team's total second-chance points over the games played.
total_points_in_the_paintintegerThe team's total points in the paint over the games played.
total_from_bench_pointsintegerThe team's total points by bench players over the games played.
total_stealsintegerThe team's total steals over the games played.
biggest_leadintegerTeam's biggest lead in any game of the competition, points.
bench_total_games_playedintegerThe bench players' total games played over the games played.
bench_rebounds_per_gamedoubleThe bench players' average rebounds per game played.
bench_rebounds_offensive_per_gamedoubleThe bench players' average offensive rebounds per game played.
bench_rebounds_defensive_per_gamedoubleThe bench players' average defensive rebounds per game played.
bench_turnovers_per_gamedoubleThe bench players' average turnovers per game played.
bench_fouls_per_gamedoubleThe bench players' average personal fouls per game played.
bench_total_reboundsintegerThe bench players' total rebounds over the games played.
bench_total_rebounds_offensiveintegerThe bench players' total offensive rebounds over the games played.
bench_total_rebounds_defensiveintegerThe bench players' total defensive rebounds over the games played.
bench_total_turnoversintegerThe bench players' total turnovers over the games played.
bench_total_foulsintegerThe bench players' total personal fouls over the games played.

Details

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

Examples

# \donttest{
  try(fiba_gdap_team_stats(team_id = 279569))
#> ── FIBA gdap_team_stats from fiba.basketball ──────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:30:19 UTC
#> # A tibble: 1 × 75
#>   team_id competition_id points_per_game rebounds_per_game
#>     <int>          <int>           <dbl>             <dbl>
#> 1  279569         208182              93              36.1
#> # ℹ 71 more variables: rebounds_offensive_per_game <dbl>,
#> #   rebounds_defensive_per_game <dbl>, assists_per_game <dbl>,
#> #   blocks_per_game <dbl>, turnovers_per_game <dbl>, fouls_per_game <dbl>,
#> #   plus_minus_per_game <dbl>, efficiency_per_game <dbl>,
#> #   play_time_in_seconds_per_game <dbl>, field_goals_made_per_game <dbl>,
#> #   field_goals_attempted_per_game <dbl>, two_points_made_per_game <dbl>,
#> #   two_points_attempted_per_game <dbl>, three_points_made_per_game <dbl>, …
# }