Skip to contents

Single-game records: the season's and the all-time ones, one row per record.

Endpoint: GET https://api.basketball-bundesliga.de/records/per-game/{season} (DBBL: the same route on https://api-1.dbbl.scb.world).

Usage

scb_records_per_game(season, league = "dbbl")

Arguments

season

(required) Season END year (2026 = 2025-26, the sdv key). Sent to the API as its START-year seasonId (season - 1).

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).

Value

A wehoop_data tibble: Single-game records: the season's and the all-time ones, one row per record. An empty valid answer raises wehoop_no_data; the columns are always these, in this order (sdv-py scb_records_per_game):

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.
season_idintegerThe API's own season key, the START year (2025 = 2025-26); season minus one.
scopecharacterseason for the requested season's records, all_time for the all-time list.
statcharacterThe record's stat: points, rebounds, assists, steals, blocks, turnovers, efficiency, free_throws_made, three_point_shots_made or free_throws_success_percentage.
placeintegerRank within the list (1 = best); 0 on some rows.
all_time_placeintegerRank on the all-time list; null when not on it.
order_idintegerSort order within the list.
all_time_order_idintegerSort order on the all-time list; null when not on it.
valuedoubleThe record value. A STRING in /records/per-game ('52'); a number in /records/season-averages.
ratiodouble[made, attempted] as strings, on percentage records only; null otherwise.
season_player_idcharacterSeason-player id: one player's engagement with one club (kept across seasons while he stays, new after a move; see README). Joins to box-score seasonPlayer.id, action seasonPlayerId and /season-players/{seasonPlayerId}.
real_player_idintegerGlobal person id: the same across clubs and seasons. Joins to realPlayerId everywhere.
first_namecharacterPlayer's given name.
last_namecharacterPlayer's family name.
team_namecharacterTeam name as listed that season (sponsor names included).
team_tlccharacterThe player's team code.
home_tlccharacterThree-letter code of the home team of the record game.
guest_tlccharacterThree-letter code of the guest team of the record game.
game_idcharacterGame id, a string. Joins to /games/{gameId}.
scheduled_timecharacterScheduled tip-off, ISO 8601 UTC.

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.

 scb_records_per_game(season = 2026)