Skip to contents

A player page: bio and the season averages the card shows.

Endpoint: GET https://embed-api.eui.connect.sportradar.com/v1/embed/{website_id}/person_detail

Info items the documented columns do not list (height, position, ...) are appended as columns named after their key.

Usage

atrium_player(
  website_id,
  person_id,
  season = NULL,
  season_id = NULL,
  competition_id = NULL,
  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.

person_id

(character required): Player UUID (person_id in atrium_players() or a box score), e.g. "4458f165-f865-11f0-8ebf-539c931c1654".

season

(integer optional): Season END year (2026 = 2025-26 on LNB, site 12, whose own year is the START year; the calendar year on the other sites). Needs competition_id when several competitions share that year (see atrium_seasons()). Omit season and season_id for the site's default season.

season_id

(character optional): Season UUID (season_id in atrium_seasons()); sent as is, skipping the END-year lookup of season.

competition_id

(character optional): Competition UUID (competition_id in atrium_seasons()). Picks the season together with season, and is then not sent; with neither season nor season_id the API filters by it.

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 for the player:

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.
person_idcharacterPlayer UUID (person), shared across seasons and sites.
namecharacterPlayer name as the site prints it.
bibcharacterJersey number on the card; null when none.
team_idcharacterTeam UUID of the player's current team on the card.
team_namecharacterName of the player's current team on the card.
image_urlcharacterURL of the Sportradar-hosted image (400 px).
date_of_birthDatePlayer's date of birth, from the card's info items.
ageintegerPlayer's age in years, from the card's info items.
nationalitycharacterPlayer's nationality in the site's language, from the card's info items.
points_per_gamedoublePoints per game over the season shown on the card.
rebounds_offensive_per_gamedoubleOffensive rebounds per game over the season shown on the card.
rebounds_defensive_per_gamedoubleDefensive rebounds per game over the season shown on the card.

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.

 atrium_player(website_id = 12, person_id = "4458f165-f865-11f0-8ebf-539c931c1654")