Skip to contents

One game's team lines: the team totals, the team-level counts and the game aggregates (lead changes, biggest lead).

Endpoint: GET https://embed-api.eui.connect.sportradar.com/v1/embed/{website_id}/fixture_detail?sub=statistics

The team line is the API's entity block (minutes are the sum over players, PT200M); extra_* are the team-level counts not credited to a player (team rebounds and turnovers) and total_* the game-level aggregates.

Usage

atrium_team_box_score(website_id, fixture_id, locale = NULL)

Arguments

website_id

(integer required): Site config id: which league site's widget this is (12 LNB France, 14 LNBP Mexico, 3 NBL1 Australia, 13 El Salvador, 22 Panama, 236 Austria, 326 Montenegro). Not a league id: one site serves several competitions.

fixture_id

(character required): Game UUID (fixture_id in atrium_fixtures()), e.g. "0dc631bd-c34c-11f1-8d16-4d5a21afb79d".

locale

(character optional): Locale of the labels, e.g. "en-EN" or "fr-FR". Omitted = the site's own language. Ids and codes never change.

Value

A wehoop_data tibble, one row per (fixture_id, entity_id):

col_nametypedescription
website_idintegerSite config id the body came from (12 LNB, 14 LNBP, 3 NBL1, 13 El Salvador, 22 Panama, 236 Austria, 326 Montenegro), read from the body's links.self.
fixture_idcharacterGame UUID (fixture); the key of every game frame and of the fixture_detail routes.
season_idcharacterSeason UUID of the game.
entity_idcharacterTeam UUID (from the fixture's isHome flag).
sidecharacterSide of the game the row belongs to: home or away (from the fixture's isHome flag).
minutescharacterTime played as an ISO 8601 duration (PT7M23S); a team's is the sum over its players (PT200M) (team, this game).
seconds_playedintegerTime played in whole seconds, parsed from minutes (team, this game).
pointsintegerPoints scored (team, this game).
reboundsintegerTotal rebounds (team, this game).
rebounds_offensiveintegerOffensive rebounds (team, this game).
rebounds_defensiveintegerDefensive rebounds (team, this game).
assistsintegerAssists (team, this game).
stealsintegerSteals (team, this game).
blocksintegerShots blocked (team, this game).
blocks_receivedintegerOwn shots blocked by an opponent (LNB only) (team, this game).
turnoversintegerTurnovers (team, this game).
fouls_totalintegerFouls committed (team, this game).
fouls_drawnintegerFouls drawn (committed against the player or team; LNBP only) (team, this game).
plus_minusintegerPlus/minus, the point differential while on court (LNB only; null in some team lines) (team, this game).
efficiencyintegerEfficiency rating, from the site's own formula (team, this game).
field_goals_madeintegerField goals made, two- and three-pointers together (LNBP only) (team, this game).
field_goals_attemptedintegerField goals attempted (LNBP only) (team, this game).
field_goals_percentagedoubleField-goal percentage, 0-100 (LNBP only) (team, this game).
points_two_madeintegerTwo-point field goals made (team, this game).
points_two_attemptedintegerTwo-point field goals attempted (team, this game).
points_two_percentagedoubleTwo-point percentage, 0-100 (team, this game).
points_three_madeintegerThree-point field goals made (team, this game).
points_three_attemptedintegerThree-point field goals attempted (team, this game).
points_three_percentagedoubleThree-point percentage, 0-100 (team, this game).
free_throws_madeintegerFree throws made (team, this game).
free_throws_attemptedintegerFree throws attempted (team, this game).
free_throws_percentagedoubleFree-throw percentage, 0-100 (team, this game).
points_fast_breakintegerFast-break points (LNBP only) (team, this game).
extra_fouls_totalintegerFouls committed (team, credited to the team rather than a player).
extra_reboundsintegerTotal rebounds (team, credited to the team rather than a player).
extra_rebounds_defensiveintegerDefensive rebounds (team, credited to the team rather than a player).
extra_rebounds_offensiveintegerOffensive rebounds (team, credited to the team rather than a player).
extra_turnoversintegerTurnovers (team, credited to the team rather than a player).
total_biggest_leadintegerBiggest lead of the game, in points (team, game total).
total_biggest_scoring_runintegerLongest unanswered scoring run of the game, in points (team, game total).
total_field_goals_percentagedoubleField-goal percentage, 0-100 (LNBP only) (team, game total).
total_free_throws_percentagedoubleFree-throw percentage, 0-100 (team, game total).
total_lead_changesintegerNumber of lead changes in the game (team, game total).
total_points_fast_breakintegerFast-break points (LNBP only) (team, game total).
total_points_from_benchintegerPoints scored by non-starters (LNBP only) (team, game total).
total_points_from_turnoverintegerPoints scored off opponent turnovers (LNBP only) (team, game total).
total_time_in_leadcharacterTime the team led, as an ISO 8601 duration (PT36M11S) (team, game total).
total_time_in_lead_secondsintegerTime the team led, in whole seconds (team, game total).
total_turnoversintegerTurnovers (team, game total).

Details

Unofficial. This is the public endpoint the Sportradar Atrium / Synergy "Connect" widget calls from every visitor's browser (keyless; the host has no robots.txt). The data is Sportradar's and the leagues'. The wrappers read it on the caller's behalf, one request at least 1 s after the last to the host, and it is not republished as release assets. Keep crawls small and incremental.

Sites and seasons. website_id picks the league site; one site carries many competitions. Seasons are END years (season = 2026): the site's own year is the START year on LNB and the calendar year elsewhere, and a year can hold several competitions, so pair season with competition_id (see atrium_seasons()) or pass season_id. atrium_end_year() maps a site's own year to that END year, and atrium_season_id() finds the season UUID.

Columns are configured per site: a statistic one site omits is NA. A key the documented columns do not list is appended with an inferred type. Player and team ids (UUIDs, character) are shared across sites; the player stat tables carry names only, so person_id there is decoded from the widget link beside each name.

Errors (classed conditions, all inheriting wehoop_error): wehoop_no_data when the site has nothing for the request (HTTP 404, no such season, an empty fixture list, a game with no play-by-play yet, or a fixture id the site does not serve: an unknown id or a game of another site, which the API answers alike with an empty fixture); wehoop_bad_request for HTTP 400 / 422 or an argument that cannot be mapped (an ambiguous END year, season with season_id); wehoop_asset_fetch for any other failed fetch, an error / stub body, or a body that belongs to another site, type, season, game, player or team than the one asked for.

Examples

# \donttest{
  try(atrium_team_box_score(website_id = 12, fixture_id = "5423072b-6715-11f0-bd8b-9ffadebc148f"))
#> ── Atrium team box score from embed-api.eui.connect.sportradar.com ─────────────
#> ℹ Data updated: 2026-10-22 02:33:53 UTC
#> # A tibble: 2 × 49
#>   website_id fixture_id  season_id entity_id side  minutes seconds_played points
#>        <int> <chr>       <chr>     <chr>     <chr> <chr>            <int>  <int>
#> 1         12 5423072b-6… df310a05… f43b1b0f… home  PT200M           12000     87
#> 2         12 5423072b-6… df310a05… 25bcb29d… away  PT200M           12000     76
#> # ℹ 41 more variables: rebounds <int>, rebounds_offensive <int>,
#> #   rebounds_defensive <int>, assists <int>, steals <int>, blocks <int>,
#> #   blocks_received <int>, turnovers <int>, fouls_total <int>,
#> #   fouls_drawn <int>, plus_minus <int>, efficiency <int>,
#> #   field_goals_made <int>, field_goals_attempted <int>,
#> #   field_goals_percentage <dbl>, points_two_made <int>,
#> #   points_two_attempted <int>, points_two_percentage <dbl>, …
# }