Skip to contents

League table of a season: record, home / away split, streaks and tie-break detail (2005-06 on).

Endpoint: GET https://api.basketball-bundesliga.de/standings (DBBL: the same route on https://api-1.dbbl.scb.world).

Usage

scb_standings(league = "dbbl", season = NULL, competition = NULL)

Arguments

league

(default "dbbl", the women's DBBL) League: bbl (men, easyCredit Basketball Bundesliga, api.basketball-bundesliga.de) or dbbl (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).

season

(default NULL) Season END year (2026 = 2025-26, the sdv key). Sent to the API as its START-year seasonId (season - 1). Omitted = the season in progress. Seasons before about 2000 answer an empty table.

competition

(default NULL) Competition: BBL, BBL_CUP, ALLSTAR, CHAMPIONS_CUP (BBL host) or DBBL, DBBL_CUP (DBBL host). BBL_CUP answers an empty table.

Value

A wehoop_data tibble: League table of a season: record, home / away split, streaks and tie-break detail (2005-06 on). An empty valid answer raises wehoop_no_data; the columns are always these, in this order (sdv-py scb_standings):

col_nametypedescription
leaguecharacterLeague the row belongs to: bbl (men) or dbbl (women); BBL and DBBL game ids overlap, so a game is (league, game_id).
seasonintegerSeason END year (2026 = 2025-26), the sdv key; the API's season_id plus one.
standing_idcharacterOpaque id of the standings row, a string.
season_team_idcharacterSeason-team id; equal to the club teamId in every sample (BBL 2005-2026, DBBL 2024-2026). An integer here.
team_idcharacterClub id; equal to seasonTeamId in every sample. Joins to /teams/{teamId}.
team_namecharacterTeam name; null on some rows.
team_tlccharacterThree-letter club code.
team_name_shortcharacterShort team name (null on DBBL).
has_reached_playoffslogicalClinched a playoff place.
has_reached_playinslogicalClinched at least the play-ins.
is_relegation_certainlogicalRelegated for certain.
season_idintegerSeason, START year (2026 = 2026-27).
competitioncharacterCompetition: BBL, BBL_CUP (Pokal), ALLSTAR, CHAMPIONS_CUP on the BBL host; DBBL, DBBL_CUP on the DBBL host.
stagecharacterStage: MAIN_ROUND (Hauptrunde, regular season), PLAYINS, FIRST_ROUND, SECOND_ROUND, ROUND_OF_16 (Achtelfinale), ROUND_OF_8 (Viertelfinale), SEMI_FINALS, FINALS, THIRD_PLACE_GAME, QUALIFICATION, GROUP_STAGE.
rankintegerTable position.
streakcharacterCurrent streak: W or L; empty when none.
streak_countintegerLength of the current streak.
point_correctionscharacterTable-point deductions; [] in every sample.
home_victoriesintegerHome games: wins.
home_lossesintegerHome games: number of losses in the table.
home_victory_percentagedoubleHome games: win percentage, 0-100.
away_victoriesintegerAway games: wins.
away_lossesintegerAway games: number of losses in the table.
away_victory_percentagedoubleAway games: win percentage, 0-100.
table_pointsintegerTable points scored (2 per win), from the API's totalPointsMade; the provider's notes call its 'Points' fields table points.
table_points_againstintegerTable points conceded (2 per loss), from the API's totalPointsAgainst; per the provider's notes, table points.
total_victory_percentagedoubleAll games: win percentage, 0-100.
total_gamesintegerGames played in the table (home and away together).
total_victoriesintegerAll games: wins.
total_lossesintegerLosses in the table over all games.
last10_victoriesintegerWins in the last 10 games.
last10_lossesintegerLosses in the last 10 games.
last10_percentagedoubleWin percentage over the last 10 games, 0-100.
last10_outcomescharacterResults of the last games, newest first: W or L.
home_last10_victoriesintegerHome games: last 10 games, wins.
home_last10_lossesintegerHome games: last 10 games, losses.
home_last10_victory_percentagedoubleHome games: last 10 games, win percentage, 0-100.
home_streakcharacterHome games: current streak, W or L.
home_streak_countintegerHome games: length of the current streak.
away_last10_victoriesintegerAway games: last 10 games, wins.
away_last10_lossesintegerAway games: last 10 games, losses.
away_last10_victory_percentagedoubleAway games: last 10 games, win percentage, 0-100.
away_streakcharacterAway games: current streak, W or L.
away_streak_countintegerAway games: length of the current streak.
updated_datecharacterLast update of the row, ISO 8601 UTC.
ranking_comparison_infocharacterTie-break detail among teams level on record.
home_points_forintegerHome games: basketball points scored (the API's football-style GoalsMade).
away_points_forintegerAway games: basketball points scored (the API's football-style GoalsMade).
total_points_forintegerAll games: basketball points scored (the API's football-style GoalsMade).
home_points_againstintegerHome games: basketball points allowed (the API's football-style GoalsAgainst).
away_points_againstintegerAway games: basketball points allowed (the API's football-style GoalsAgainst).
total_points_againstintegerAll games: basketball points allowed (the API's football-style GoalsAgainst).
home_point_differenceintegerHome games: point differential, scored minus allowed (the API's GoalDifference).
away_point_differenceintegerAway games: point differential, scored minus allowed (the API's GoalDifference).
total_point_differenceintegerAll games: point differential, scored minus allowed (the API's GoalDifference).

Details

  • Unofficial use of a public source: these wrappers read the front-end API of the German Bundesliga sites (easycredit-bbl.de, toyota-dbbl.de), run by SCB; payloads are not redistributed as release assets.

  • Legal notice: the BBL Impressum forbids storing BBL content (Inhalte) in an information system without BBL's written permission. That is a copyright term, not a robots rule (the API host has no robots.txt). The owner reviewed it and accepted the intake (2026-10-12 ruling); keep requests slow (the runtime waits at least 1 s per host) and raise any published data release with the owner. The DBBL host is the same operator and API; its site notice was not separately reviewed.

  • Both hosts need two headers: a constant x-api-key and an x-api-secret that rotates. The runtime derives the secret on first use from the key embedded in an easycredit-bbl.de page (reversed, : turned into -) and never logs or returns it. The derivation was reverse-engineered from observed requests and responses and has not been checked against the site's own front-end code; if the site changes how it signs requests, every call fails with wehoop_asset_fetch.

  • Id key spaces: seasonId is the START year (2025 = 2025-26), so a wrapper's END-year season is sent as season - 1. Teams are keyed by teamId (seasonTeamId equals it in every sample). seasonPlayerId is per player per season and per club (a player traded mid-season has two); realPlayerId is the person. playerId is ambiguous (the seasonPlayerId in box scores, records and /season-players; the person in /transfers). Game ids are strings.

  • Errors are classed conditions: wehoop_no_data (404, 204, a 400 "not a valid" id, no rows, a box score of a game not yet started), wehoop_bad_request (a bad argument, another 400 / 422) and wehoop_asset_fetch (a refused secret after one re-derive, any other non-2xx, an HTML / non-JSON / error-shaped body, a truncated page, a body for another game, season, club or league, a box score still in play), all inheriting wehoop_error. Wrappers raise; they never return an empty frame.

Examples

# \donttest{
  try(scb_standings())
#> Error in scb_standings() : 
#>   www.easycredit-bbl.de/ answered HTTP 503: the API key could not be read.
# }