Skip to contents

Get the box score of one game from the Competition Engine: one row with the local and road sides flattened to prefixed columns; each side's players list is kept JSON-encoded.

Endpoint: GET https://api-live.euroleague.net/v2/competitions/{competition_code}/seasons/{season_code}/games/{game_code}/stats

For one row per player use euroleague_game_boxscore() (the live API).

Usage

euroleague_game_stats(competition_code, season_code, game_code)

Arguments

competition_code

(character required): E = EuroLeague, U = EuroCup (see euroleague_competitions()).

season_code

(character required): Competition code + start year, e.g. E2025 for 2025-26.

game_code

(integer required): Game number within the season (1-based; the game_code column of euroleague_games()).

Value

A hoopR_data tibble with one row (the game). The local_players / road_players cells are JSON text: semantically equal to sdv-py's, not byte-equal (separators and unicode escaping differ):

col_nametypesdescription
local_coach_codecharacterHome side: head coach code (Utf8 join key).
local_coach_namecharacterHome side: head coach name.
local_playerscharacterHome side: per-player box-score rows for the side, JSON-encoded.
local_team_time_playednumericHome side: team-only (not attributed to a player): seconds played.
local_team_valuationnumericHome side: team-only (not attributed to a player): performance index rating (PIR).
local_team_pointsnumericHome side: team-only (not attributed to a player): points.
local_team_field_goals_made2numericHome side: team-only (not attributed to a player): two-point field goals made.
local_team_field_goals_attempted2numericHome side: team-only (not attributed to a player): two-point field goals attempted.
local_team_field_goals_made3numericHome side: team-only (not attributed to a player): three-point field goals made.
local_team_field_goals_attempted3numericHome side: team-only (not attributed to a player): three-point field goals attempted.
local_team_free_throws_madenumericHome side: team-only (not attributed to a player): free throws made.
local_team_free_throws_attemptednumericHome side: team-only (not attributed to a player): free throws attempted.
local_team_field_goals_made_totalnumericHome side: team-only (not attributed to a player): field goals made.
local_team_field_goals_attempted_totalnumericHome side: team-only (not attributed to a player): field goals attempted.
local_team_accuracy_madenumericHome side: team-only (not attributed to a player): shots made (accuracy numerator).
local_team_accuracy_attemptednumericHome side: team-only (not attributed to a player): shots attempted (accuracy denominator).
local_team_total_reboundsnumericHome side: team-only (not attributed to a player): total rebounds.
local_team_defensive_reboundsnumericHome side: team-only (not attributed to a player): defensive rebounds.
local_team_offensive_reboundsnumericHome side: team-only (not attributed to a player): offensive rebounds.
local_team_assistancesnumericHome side: team-only (not attributed to a player): assists.
local_team_stealsnumericHome side: team-only (not attributed to a player): steals.
local_team_turnoversnumericHome side: team-only (not attributed to a player): turnovers.
local_team_blocks_favournumericHome side: team-only (not attributed to a player): blocks made.
local_team_blocks_againstnumericHome side: team-only (not attributed to a player): shots blocked by the opponent.
local_team_fouls_commitednumericHome side: team-only (not attributed to a player): personal fouls committed.
local_team_fouls_receivednumericHome side: team-only (not attributed to a player): fouls drawn.
local_team_plus_minusnumericHome side: team-only (not attributed to a player): plus/minus.
local_total_time_playednumericHome side: totals: seconds played.
local_total_valuationnumericHome side: totals: performance index rating (PIR).
local_total_pointsnumericHome side: totals: points.
local_total_field_goals_made2numericHome side: totals: two-point field goals made.
local_total_field_goals_attempted2numericHome side: totals: two-point field goals attempted.
local_total_field_goals_made3numericHome side: totals: three-point field goals made.
local_total_field_goals_attempted3numericHome side: totals: three-point field goals attempted.
local_total_free_throws_madenumericHome side: totals: free throws made.
local_total_free_throws_attemptednumericHome side: totals: free throws attempted.
local_total_field_goals_made_totalnumericHome side: totals: field goals made.
local_total_field_goals_attempted_totalnumericHome side: totals: field goals attempted.
local_total_accuracy_madenumericHome side: totals: shots made (accuracy numerator).
local_total_accuracy_attemptednumericHome side: totals: shots attempted (accuracy denominator).
local_total_total_reboundsnumericHome side: totals: total rebounds.
local_total_defensive_reboundsnumericHome side: totals: defensive rebounds.
local_total_offensive_reboundsnumericHome side: totals: offensive rebounds.
local_total_assistancesnumericHome side: totals: assists.
local_total_stealsnumericHome side: totals: steals.
local_total_turnoversnumericHome side: totals: turnovers.
local_total_blocks_favournumericHome side: totals: blocks made.
local_total_blocks_againstnumericHome side: totals: shots blocked by the opponent.
local_total_fouls_commitednumericHome side: totals: personal fouls committed.
local_total_fouls_receivednumericHome side: totals: fouls drawn.
local_total_plus_minusnumericHome side: totals: plus/minus.
road_coach_codecharacterAway side: head coach code (Utf8 join key).
road_coach_namecharacterAway side: head coach name.
road_playerscharacterAway side: per-player box-score rows for the side, JSON-encoded.
road_team_time_playednumericAway side: team-only (not attributed to a player): seconds played.
road_team_valuationnumericAway side: team-only (not attributed to a player): performance index rating (PIR).
road_team_pointsnumericAway side: team-only (not attributed to a player): points.
road_team_field_goals_made2numericAway side: team-only (not attributed to a player): two-point field goals made.
road_team_field_goals_attempted2numericAway side: team-only (not attributed to a player): two-point field goals attempted.
road_team_field_goals_made3numericAway side: team-only (not attributed to a player): three-point field goals made.
road_team_field_goals_attempted3numericAway side: team-only (not attributed to a player): three-point field goals attempted.
road_team_free_throws_madenumericAway side: team-only (not attributed to a player): free throws made.
road_team_free_throws_attemptednumericAway side: team-only (not attributed to a player): free throws attempted.
road_team_field_goals_made_totalnumericAway side: team-only (not attributed to a player): field goals made.
road_team_field_goals_attempted_totalnumericAway side: team-only (not attributed to a player): field goals attempted.
road_team_accuracy_madenumericAway side: team-only (not attributed to a player): shots made (accuracy numerator).
road_team_accuracy_attemptednumericAway side: team-only (not attributed to a player): shots attempted (accuracy denominator).
road_team_total_reboundsnumericAway side: team-only (not attributed to a player): total rebounds.
road_team_defensive_reboundsnumericAway side: team-only (not attributed to a player): defensive rebounds.
road_team_offensive_reboundsnumericAway side: team-only (not attributed to a player): offensive rebounds.
road_team_assistancesnumericAway side: team-only (not attributed to a player): assists.
road_team_stealsnumericAway side: team-only (not attributed to a player): steals.
road_team_turnoversnumericAway side: team-only (not attributed to a player): turnovers.
road_team_blocks_favournumericAway side: team-only (not attributed to a player): blocks made.
road_team_blocks_againstnumericAway side: team-only (not attributed to a player): shots blocked by the opponent.
road_team_fouls_commitednumericAway side: team-only (not attributed to a player): personal fouls committed.
road_team_fouls_receivednumericAway side: team-only (not attributed to a player): fouls drawn.
road_team_plus_minusnumericAway side: team-only (not attributed to a player): plus/minus.
road_total_time_playednumericAway side: totals: seconds played.
road_total_valuationnumericAway side: totals: performance index rating (PIR).
road_total_pointsnumericAway side: totals: points.
road_total_field_goals_made2numericAway side: totals: two-point field goals made.
road_total_field_goals_attempted2numericAway side: totals: two-point field goals attempted.
road_total_field_goals_made3numericAway side: totals: three-point field goals made.
road_total_field_goals_attempted3numericAway side: totals: three-point field goals attempted.
road_total_free_throws_madenumericAway side: totals: free throws made.
road_total_free_throws_attemptednumericAway side: totals: free throws attempted.
road_total_field_goals_made_totalnumericAway side: totals: field goals made.
road_total_field_goals_attempted_totalnumericAway side: totals: field goals attempted.
road_total_accuracy_madenumericAway side: totals: shots made (accuracy numerator).
road_total_accuracy_attemptednumericAway side: totals: shots attempted (accuracy denominator).
road_total_total_reboundsnumericAway side: totals: total rebounds.
road_total_defensive_reboundsnumericAway side: totals: defensive rebounds.
road_total_offensive_reboundsnumericAway side: totals: offensive rebounds.
road_total_assistancesnumericAway side: totals: assists.
road_total_stealsnumericAway side: totals: steals.
road_total_turnoversnumericAway side: totals: turnovers.
road_total_blocks_favournumericAway side: totals: blocks made.
road_total_blocks_againstnumericAway side: totals: shots blocked by the opponent.
road_total_fouls_commitednumericAway side: totals: personal fouls committed.
road_total_fouls_receivednumericAway side: totals: fouls drawn.
road_total_plus_minusnumericAway side: totals: plus/minus.

Details

Unofficial, keyless API, not supported by Euroleague Basketball; hoopR only wraps it (wrap-only: payloads are not redistributed as release assets). This function mirrors its sdv-py twin of the same name: same arguments, defaults and snake_case columns, one row per sdv-py row.

A failed request raises a classed condition instead of returning an empty frame, mirroring sdv-py's error vocabulary: a 404 is hoopR_no_data, a 400 / 422 is hoopR_invalid_request, any other failure (another status, a transport error, a non-JSON body) is hoopR_fetch_error; all three inherit hoopR_error.

Examples

# \donttest{
  try({
    euroleague_game_stats(competition_code = "E", season_code = "E2025", game_code = 1)
  })
#> ── EuroLeague game stats from api-live.euroleague.net ────── hoopR 3.1.0.9000 ──
#> ℹ Data updated: 2026-10-12 03:08:46 UTC
#> # A tibble: 1 × 102
#>   local_coach_code local_coach_name local_players         local_team_time_played
#>   <chr>            <chr>            <chr>                                  <dbl>
#> 1 010561           KOKOSKOV, IGOR   "[{\"player\":{\"per…                      0
#> # ℹ 98 more variables: local_team_valuation <dbl>, local_team_points <dbl>,
#> #   local_team_field_goals_made2 <dbl>,
#> #   local_team_field_goals_attempted2 <dbl>,
#> #   local_team_field_goals_made3 <dbl>,
#> #   local_team_field_goals_attempted3 <dbl>, local_team_free_throws_made <dbl>,
#> #   local_team_free_throws_attempted <dbl>,
#> #   local_team_field_goals_made_total <dbl>, …
# }