The leagues served by the API: vtb, vtbyouth, wbc.
Endpoint: GET https://api.vtb-league.com/v2/leagues
Value
A hoopR_data tibble with one row per competition.
Its columns are listed in return_columns
(subset(return_columns, fn == "vtb_league_leagues")) and in the searchable
return columns article.
Details
Source, access, seasons, ids and the error classes: see the notes of
vtb_infobasket_seasons().v2 pages: meta.count is the rows returned (not a total), page is ignored and the default limit is 20, so the matches wrapper asks for 1000 and refuses a body whose count reaches its limit. The API lists new seasons only (from 2024-25; vtb: 2025-2027, wbc: 2026-2027): earlier years answer no rows (
hoopR_no_data).
See also
family_vtb lists every function in this family.
Examples
# \donttest{
try(vtb_league_leagues())
#> ── VTB League Leagues from api.vtb-league.com ─────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:19:07 UTC
#> # A tibble: 3 × 6
#> league_id league league_name_en league_name_ru league_abbrev_en
#> <int> <chr> <chr> <chr> <chr>
#> 1 1 vtb VTB United League Единая Лига ВТБ VTB UL
#> 2 2 vtbyouth VTB Youth United League Молодежный чемпио… YCH
#> 3 3 wbc WINLINE Basket Cup WINLINE Basket Cup WBC
#> # ℹ 1 more variable: league_abbrev_ru <chr>
# }
