Teams entered in a competition edition.
One row per team: the entry of the selected edition (team_id, new every season) and the club's latest
entry (latest_team_id). club_id is the stable key.
Endpoint: GET https://api2.acb.com/api/seasondata/TeamProfile/teams
Arguments
- competition_id
(default
NULL) Competition id: 1 Liga Endesa, 2 Copa del Rey, 3 Supercopa Endesa, 10 Minicopa Endesa (youth). Omitted = the API's default competition. A whole number; a whole double is accepted.- season
(default
NULL) Season END year (2027 = 2026-27; the first ACB season, 1983-84, is 1984).acb_runtimesends the API'seditionId= season - 1936. Omitted = the current season. A whole number; a whole double is accepted.
Value
A hoopR_data tibble, one row per record described above; the columns are always these, in this order
(sportsdataverse-py acb_teams):
| col_name | type | description |
| team_id | integer | Season-team entry of the selected edition (new every season). |
| club_id | integer | Club id, stable across seasons and sponsor names (2 = Barca, 9 = Real Madrid, 13 = Valencia Basket): the clubId request param and every homeClubId / awayClubId. |
| team | character | Team name that season (sponsor names change) |
| team_abbr | character | Three-letter abbreviation (BAR, RMB) |
| competition_id | integer | Competition of the selected entry. |
| edition_id | integer | Season id of the selected entry (START year - 1935). |
| season | integer | Season END year (2027 = 2026-27) = edition_id + 1936: the key the wrappers take. |
| latest_team_id | integer | The club's most recent season-team entry. |
| latest_team | character | The club's most recent team name. |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in acb_match_header().
See also
Other ACB Functions:
acb_box_info(),
acb_bracket(),
acb_bracket_games(),
acb_calendar(),
acb_career_stints(),
acb_career_trophies(),
acb_club_data(),
acb_competition_current(),
acb_competition_editions(),
acb_competition_rounds(),
acb_competition_weeks(),
acb_current_roster(),
acb_lead_stats(),
acb_lead_tracker(),
acb_league_zones(),
acb_lineup(),
acb_match_advanced_stats(),
acb_match_header(),
acb_match_leaders(),
acb_matchlist(),
acb_next_matches(),
acb_pbp(),
acb_period_scores(),
acb_player_advanced_stats(),
acb_player_box(),
acb_player_data(),
acb_player_matches(),
acb_player_stats(),
acb_player_totals(),
acb_quickfacts(),
acb_round_matches(),
acb_search(),
acb_season_leaders(),
acb_serie(),
acb_shots(),
acb_standings(),
acb_standings_rounds(),
acb_team_box(),
acb_team_comparison(),
acb_team_leaders(),
acb_team_matches(),
acb_team_records(),
acb_team_stats(),
acb_team_totals()
Examples
# \donttest{
try(acb_teams(season = 2027))
#> ── ACB Teams from api2.acb.com ────────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:26:46 UTC
#> # A tibble: 18 × 9
#> team_id club_id team team_abbr competition_id edition_id season
#> <int> <int> <chr> <chr> <int> <int> <int>
#> 1 4473 8 Asisa Joventut JOV 1 91 2027
#> 2 4467 2 Barça BAR 1 91 2027
#> 3 4474 16 Casademont Zarago… CAZ 1 91 2027
#> 4 4470 591 FIATC Girona GIR 1 91 2027
#> 5 4465 658 iLERNA Lleida ILE 1 91 2027
#> 6 4471 10 Kids&Us Manresa K&U 1 91 2027
#> 7 4463 3 Kosner Baskonia BKN 1 91 2027
#> 8 4478 28 La Laguna Tenerife LLT 1 91 2027
#> 9 4480 657 Leyma Coruña COR 1 91 2027
#> 10 4479 57 Monbus Obradoiro MOB 1 91 2027
#> 11 4466 22 MoraBanc Andorra MBA 1 91 2027
#> 12 4476 9 Real Madrid RMB 1 91 2027
#> 13 4469 549 Recoletas Salud S… BUR 1 91 2027
#> 14 4464 25 Río Breogán BRE 1 91 2027
#> 15 4475 4 Surne Bilbao SBB 1 91 2027
#> 16 4468 12 UCAM Murcia UCM 1 91 2027
#> 17 4477 14 Unicaja UNI 1 91 2027
#> 18 4472 13 Valencia Basket VBC 1 91 2027
#> # ℹ 2 more variables: latest_team_id <int>, latest_team <chr>
# }
