Every season a club played: its name that season and its championship and cup titles.
Endpoint: GET https://api.basketball-bundesliga.de/teams/{team_id} (DBBL: the same route on
https://api-1.dbbl.scb.world).
Arguments
- team_id
(required) Club id (
team_idinscb_season_teams), e.g. 413 (ALBA BERLIN).- league
(default
"bbl") League:bbl(men, easyCredit Basketball Bundesliga, api.basketball-bundesliga.de) ordbbl(women, Toyota Damen-Basketball-Bundesliga, api-1.dbbl.scb.world). The two share one API; game ids overlap, so a game is (league, game_id).
Value
A hoopR_data tibble: Every season a club played: its name that season and its championship and cup
titles. An empty valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py
scb_team_seasons):
| col_name | type | description |
| league | character | League the row belongs to: bbl (men) or dbbl (women); BBL and DBBL game ids overlap, so a game is (league, game_id). |
| team_id | character | Club id, a string; equal to season_team_id in every sample. Joins to scb_team and scb_season_teams. |
| season | integer | Season END year (2026 = 2025-26), the sdv key; the API's season_id plus one. |
| season_id | integer | Season, START year (2026 = 2026-27). |
| season_team_id | character | Season-team id, a string; equal to the club team_id in every sample (BBL 2005-2026, DBBL 2024-2026). |
| team_name | character | Team name as listed that season (sponsor names included). |
| is_championship_winner | logical | Won the championship that season. |
| is_cup_winner | logical | Won the cup that season. |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in scb_seasons().
scb_team_seasons(team_id = "413")See also
Other SCB Functions:
scb_game(),
scb_game_actions(),
scb_game_players(),
scb_game_teams(),
scb_games(),
scb_games_recent(),
scb_player_statistics(),
scb_playoff_games(),
scb_playoff_series(),
scb_records_per_game(),
scb_records_season_averages(),
scb_referees(),
scb_season_player(),
scb_season_players(),
scb_season_teams(),
scb_seasons(),
scb_standings(),
scb_team(),
scb_team_rosters(),
scb_team_statistics(),
scb_transfers(),
scb_transfers_teams()
