Every finished game of a competition team with that team's totals.
Endpoint: GET https://bnxt.sportpress.info/api/v1/competition-team/statistics-by-game/total/{competition_team_id}
Arguments
- competition_team_id
(required) Competition-team id (integer): a team in ONE competition, so new every season (e.g. 541 = Antwerp in 2026-27); from
sportpress_competition_teams().
Value
A hoopR_data tibble: Every finished game of a competition team with that team's totals. An empty valid answer
raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py sportpress_team_games):
| col_name | type | description |
| competition_team_id | integer | Competition-team id the games were asked for (the team the totals belong to). |
| game_id | integer | Game id (key space: sportpress games), unique across seasons: the key of every game route. |
| game_time | POSIXct | Tip-off as a naive datetime. The source carries no offset; the league's local time is assumed and unverified. POSIXct in Europe/Brussels (league local time). |
| status | character | Game status: finished, or ready for an upcoming game. |
| competition_id | integer | Competition id (key space: sportpress competitions): ONE season of the league (24 = 2025-26, 25 = 2026-27). Not the season number. The key of the standings, ranking, slider and box routes. |
| season | integer | Season END year of the game's competition. |
| phase_id | integer | Phase id (key space: sportpress phases), a stage of one competition such as the regular season or the playoffs; new every season. |
| phase_name | character | Phase name as entered in the CMS ('Regular season 2026-27'). |
| round_name | character | Round label as entered in the CMS; often empty. |
| round_priority | integer | Sort order of the round within the phase (provider's priority); meaning of the values is unverified. |
| period_name | character | Name of the period the game is in or ended in; 'Extra2' means the second overtime. |
| arena | character | Name of the arena where the game is played. |
| home_competition_team_id | integer | Home side. Competition-team id (key space: sportpress competition teams): a team in ONE competition, so the same club has a new id every season (Antwerp = 3 in 2021-22, 506 in 2025-26, 541 in 2026-27). Joins competitors, rosters, box scores, film and standings. The stable club key across seasons is uu_team_id. |
| home_team | character | Home side. Display name incl. the sponsor. Teams of the playoff phases carry a ' playoff' suffix (2025-26), and standings names vary with X-Localization ('Partena Professional Okapi Aalst Playoff' (en) vs 'Okapi Aalst Playoff' (nl, fr)): never join on it. |
| home_team_short_name | character | Home side. Three-letter club code (CHA, OOS, ANT, MON, LIM, ...), stable across seasons in the samples. |
| home_score | integer | Home side. Final points of the side, including overtime. |
| away_competition_team_id | integer | Away side. Competition-team id (key space: sportpress competition teams): a team in ONE competition, so the same club has a new id every season (Antwerp = 3 in 2021-22, 506 in 2025-26, 541 in 2026-27). Joins competitors, rosters, box scores, film and standings. The stable club key across seasons is uu_team_id. |
| away_team | character | Away side. Display name incl. the sponsor. Teams of the playoff phases carry a ' playoff' suffix (2025-26), and standings names vary with X-Localization ('Partena Professional Okapi Aalst Playoff' (en) vs 'Okapi Aalst Playoff' (nl, fr)): never join on it. |
| away_team_short_name | character | Away side. Three-letter club code (CHA, OOS, ANT, MON, LIM, ...), stable across seasons in the samples. |
| away_score | integer | Away side. Final points of the side, including overtime. |
| minute | integer | The team's own minutes played; for a team total, the sum over its players (200 + 25 per overtime). |
| foul | integer | The team's own personal fouls committed. |
| defensive_foul | integer | The team's own fouls DRAWN (suffered), despite the name: equals the opponent's foul count up to scorer corrections. |
| dunk_made | integer | The team's own dunks made (a subset of the two-point field goals). |
| dunk_all | integer | The team's own dunks attempted. |
| dunk_percent | double | The team's own dunk percentage 0-100; 0 when none were attempted. |
| two_point_made | integer | The team's own two-point field goals made. |
| two_point_all | integer | The team's own two-point field goals attempted. |
| two_point_percent | double | The team's own two-point percentage 0-100. |
| three_point_made | integer | The team's own three-point field goals made. |
| three_point_all | integer | The team's own three-point field goals attempted. |
| three_point_percent | double | The team's own three-point percentage 0-100. |
| throw_made | integer | The team's own all field goals made, two- plus three-pointers (the provider calls them 'throw'). |
| throw_all | integer | The team's own all field goals attempted, two- plus three-pointers (the provider calls them 'throw'). |
| throw_percent | double | The team's own field-goal percentage 0-100. |
| free_throw_made | integer | The team's own free throws made. |
| free_throw_all | integer | The team's own free throws attempted. |
| free_throw_percent | double | The team's own free-throw percentage 0-100. |
| offensive_rebound | integer | The team's own offensive rebounds. |
| defensive_rebound | integer | The team's own defensive rebounds. |
| total_rebound | integer | The team's own total rebounds (offensive plus defensive). |
| block | integer | The team's own shots blocked by the player. |
| block_against | integer | The team's own own shots blocked by an opponent. |
| turnover | integer | The team's own turnovers committed. |
| steal | integer | The team's own steals (balls taken from an opponent). |
| assist | integer | The team's own assists (passes leading directly to a made basket). |
| points | integer | The team's own points scored (2 x two-pointers + 3 x three-pointers + free throws). |
| value | integer | The team's own efficiency rating (PIR with fouls drawn): points + rebounds + assists + steals + blocks + fouls drawn - missed field goals - missed free throws - turnovers. |
| plusminus | integer | The team's own plus/minus: the score margin while the player (or team) was on court; for a team total it is the game margin. |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in sportpress_ui_strings().
sportpress_team_games(competition_team_id = 541)See also
Other BNXT League Functions:
sportpress_club_seasons(),
sportpress_competition_staff(),
sportpress_competition_teams(),
sportpress_game_box(),
sportpress_game_film(),
sportpress_game_find(),
sportpress_game_leaders(),
sportpress_game_overview(),
sportpress_game_periods(),
sportpress_game_slider(),
sportpress_game_team_box(),
sportpress_game_top_performers(),
sportpress_nationality_codes(),
sportpress_phases(),
sportpress_player_career(),
sportpress_player_games(),
sportpress_player_rankings(),
sportpress_referees(),
sportpress_roster_find(),
sportpress_schedule(),
sportpress_season_roster(),
sportpress_standings(),
sportpress_team_find(),
sportpress_team_player_averages(),
sportpress_team_rankings(),
sportpress_team_roster(),
sportpress_ui_strings()
