Games & Live Scores
A season's per-game analysis aggregates
KBL-only route. Folds every final official regular-season game of the
season: the text cast's coverage (a cast is complete when the points it
scores add up to the final score), team turnovers and team rebounds,
the clutch window (fourth quarter or overtime, five minutes or less on
the clock, score within five; both teams' counting stats inside it),
and the game extension's officials and official team-record scoring
extras (points off turnovers, fast-break, second-chance, bench points,
largest lead). An incomplete cast serves team_events and clutch as
null, and a game without an extension serves scoring as null — never
zero. definition.action_codes_version names the text-cast decode.
Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.
https://api.sportquanta.com/v1/kbl/games/analysis-aggregatesReference context: KBL.
Overview · Response conventions
Authorizations
AuthorizationstringheaderrequiredSend a workspace API token in the Authorization: Bearer <token> header.
Query Parameters
seasonintegerrequiredRequired range: 2000 <= x, x <= 2100
Response
application/jsonPer-game analysis aggregates for the season.
Missing or invalid bearer API token.
Access is forbidden: the token lacks api.read scope, the plan lacks an endpoint/bookmaker capability, or configured billing access is inactive. Inspect error.code and details.feature when present.
The id is well-formed but no document has been ingested for it yet.
Query validation failed. Depending on the handler, invalid_query_parameter is returned with HTTP 400 or 422. Pre-read validation is non-billable.
Hourly rate ceiling or monthly quota exceeded. The error code disambiguates
which limit was hit. X-RateLimit-* and X-Requests-*-Month response headers
carry the current state of both counters.
Token validation or an internal handler failed. Token-store failures use api_token_lookup_failed; unsupported internal sport dispatch can use data_layer_unavailable.
The data layer (Mongo / ClickHouse / Redis cache) is temporarily unreachable. The server attempted the lookup; it failed. Retry with backoff. Per the spec's order of evaluation, this DOES consume monthly quota — the request reached step 6.
The configured billing provider could not verify API access. The request is refused before the data handler and does not consume monthly quota.
dataobjectrequireddata.seasonintegerrequireddata.definitionobjectrequireddata.definition.clutch_from_periodintegerrequireddata.definition.clutch_last_secondsintegerrequireddata.definition.clutch_max_marginintegerrequireddata.definition.action_codes_versionstringrequireddata.coverageobjectrequireddata.coverage.gamesintegerrequireddata.coverage.plays_completeintegerrequireddata.coverage.with_extensionintegerrequireddata.coverage.with_officialsintegerrequireddata.gamesobject[]requireddata.games.game_idstringrequireddata.games.schedule_datestringrequireddata.games.home_team_idstringrequireddata.games.away_team_idstringrequireddata.games.venue_idstring | nullrequireddata.games.home_scoreinteger | nullrequireddata.games.away_scoreinteger | nullrequireddata.games.playsobjectrequireddata.games.plays.countintegerrequireddata.games.plays.completebooleanrequireddata.games.plays.points_homeintegerrequireddata.games.plays.points_awayintegerrequireddata.games.plays.periodsintegerrequireddata.games.team_eventsobject | nullrequireddata.games.team_events.homeobjectrequireddata.games.team_events.home.team_turnoversintegerrequireddata.games.team_events.home.team_reboundsintegerrequireddata.games.team_events.awayobjectrequireddata.games.team_events.away.team_turnoversintegerrequireddata.games.team_events.away.team_reboundsintegerrequireddata.games.clutchobject | nullrequireddata.games.clutch.secondsintegerrequireddata.games.clutch.homeobjectrequireddata.games.clutch.home.pointsintegerrequireddata.games.clutch.home.fgmintegerrequireddata.games.clutch.home.fgaintegerrequireddata.games.clutch.home.fg2mintegerrequireddata.games.clutch.home.fg2aintegerrequireddata.games.clutch.home.fg3mintegerrequireddata.games.clutch.home.fg3aintegerrequireddata.games.clutch.home.ftmintegerrequireddata.games.clutch.home.ftaintegerrequireddata.games.clutch.home.orebintegerrequireddata.games.clutch.home.drebintegerrequireddata.games.clutch.home.tovintegerrequireddata.games.clutch.home.player_tovintegerrequireddata.games.clutch.home.team_tovintegerrequireddata.games.clutch.home.astintegerrequireddata.games.clutch.home.stlintegerrequireddata.games.clutch.home.blkintegerrequireddata.games.clutch.home.pfintegerrequireddata.games.clutch.awayobjectrequireddata.games.clutch.away.pointsintegerrequireddata.games.clutch.away.fgmintegerrequireddata.games.clutch.away.fgaintegerrequireddata.games.clutch.away.fg2mintegerrequireddata.games.clutch.away.fg2aintegerrequireddata.games.clutch.away.fg3mintegerrequireddata.games.clutch.away.fg3aintegerrequireddata.games.clutch.away.ftmintegerrequireddata.games.clutch.away.ftaintegerrequireddata.games.clutch.away.orebintegerrequireddata.games.clutch.away.drebintegerrequireddata.games.clutch.away.tovintegerrequireddata.games.clutch.away.player_tovintegerrequireddata.games.clutch.away.team_tovintegerrequireddata.games.clutch.away.astintegerrequireddata.games.clutch.away.stlintegerrequireddata.games.clutch.away.blkintegerrequireddata.games.clutch.away.pfintegerrequireddata.games.scoringobject | nullrequireddata.games.scoring.homeobjectrequireddata.games.scoring.home.points_off_turnoversinteger | nullrequireddata.games.scoring.home.fast_break_pointsinteger | nullrequireddata.games.scoring.home.second_chance_pointsinteger | nullrequireddata.games.scoring.home.bench_pointsinteger | nullrequireddata.games.scoring.home.largest_leadinteger | nullrequireddata.games.scoring.awayobjectrequireddata.games.scoring.away.points_off_turnoversinteger | nullrequireddata.games.scoring.away.fast_break_pointsinteger | nullrequireddata.games.scoring.away.second_chance_pointsinteger | nullrequireddata.games.scoring.away.bench_pointsinteger | nullrequireddata.games.scoring.away.largest_leadinteger | nullrequireddata.games.officialsobject[]requireddata.games.officials.namestringrequireddata.games.officials.rolestringrequired_metaobjectResponse request/cache metadata. Optional evidence fields are specific to this handler; cache TTL does not measure source-data freshness.
_meta.request_idstring_meta.served_fromenum<string>Available options: live, cache
_meta.cache_ttl_secondsintegerResponse cache TTL; independent of source freshness. Omitted when zero.
errorobjectrequirederror.codestringrequiredStable machine-readable error code.
error.messagestringrequiredUser-facing error summary.
error.detailsanyOptional error details.