Skip to contents

Season leaders per statistic (top 5 each), with their player and team ids.

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

rank is the 1-based position within the statistic. value is numeric; a duration statistic (minutesPerGame) lands in value_text as an ISO string.

Usage

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

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.

entity_id

(character optional): Team UUID (entity_id in atrium_teams() or any fixture row).

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 hoopR_data tibble, one row per (season_id, stat_key, rank):

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.
season_idcharacterSeason UUID of the leaders.
stat_keycharacterStatistic the leader is ranked in (points, pointsPerGame, efficiency, doubleDouble, ...).
stat_namecharacterShort column heading the site shows for the statistic (PTS, REB), in the site's language.
stat_labelcharacterLonger statistic label the site shows (code in the API), in the site's language.
rankintegerPosition of the leader within the statistic, 1-based (the API lists the top 5).
entity_idcharacterTeam UUID of the leader's team.
entity_namecharacterName of the leader's team.
person_idcharacterPlayer UUID of the leader.
person_namecharacterName of the leader.
valuedoubleNumeric value of the statistic; null when the API sends a duration or text (see value_text).
value_textcharacterNon-numeric statistic value, e.g. an ISO 8601 duration such as PT12M2S for minutes per game.

Details

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

 atrium_leaders(
   website_id = 12, season = 2026, competition_id = "3f4064bb-51ad-11f0-aaaf-2923c944b404"
 )