Lineups & Box Scores
Play-by-play
Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.
https://api.sportquanta.com/v1/wkbl/games/{id}/play-by-playReference context: WKBL.
Overview · Response conventions
Authorizations
AuthorizationstringheaderrequiredSend a workspace API token in the Authorization: Bearer <token> header.
Path Parameters
idstringrequiredQuery Parameters
limitintegerdefault:1000Required range: 1 <= x, x <= 2000
provenancebooleandefault:falseOpt in to per-field provenance on supported single game, match, team, player, and venue reads. Lists and composites accept the flag but generally omit provenance. It is returned under _meta.provenance only when source metadata exists.
Response
application/jsonOrdered WKBL play records for the game.
Query validation failed. Depending on the handler, invalid_query_parameter is returned with HTTP 400 or 422. Pre-read validation is non-billable.
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 league is unsupported, the endpoint is not available for that sport, or the requested data has not been ingested. Inspect error.code.
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.
dataobjectrequireddata.gameobject | nullrequireddata.game.idstringdata.game.canonical_idstringdata.game.external_idsobjectMap from the exact stored source/namespace key to that provider's identifier for this entity. Keys vary by entity and league. Values are strings, even when the provider ID looks numeric. Use the exact key and value for external-ID lookups; these are distinct from the canonical ID. SOURCE_KEY below is an illustrative placeholder.
data.game.external_ids.{key}stringdata.game.created_atstring<date-time>Canonical document creation timestamp, when present; not the scheduled start or event time.
data.game.updated_atstring<date-time>Canonical document update timestamp, when present. It is not a guarantee that every field was refreshed at this time; field provenance carries individual ingestion times.
data.game.seasonstringdata.game.statusstringdata.game.home_team_idstringdata.game.away_team_idstringdata.game.game_typestringdata.game.cup_stageenum<string>NBA only. The NBA Cup round, from the note ESPN's scoreboard puts on every cup game (espn:cup-calendar); the final is also known from its own game type (in-season-tournament). Omitted for a game outside the cup. Group and knockout games are regular-season games, so their game_type stays regular.
Available options: group, quarterfinal, semifinal, final
data.game.cup_groupstringNBA only. The NBA Cup group as the NBA's season schedule writes it (e.g. East Group A); omitted for knockout and non-cup games, and when the schedule names no group.
data.game.schedule_datestringdata.game.scheduled_start_utcstringdata.game.venue_idstringdata.game.attendanceintegerdata.game.duration_minutesintegerdata.game.linescoreobjectdata.game.linescore.home_scoreintegerdata.game.linescore.away_scoreintegerdata.game.linescore.periodintegerdata.game.linescore.game_clockstringdata.game.linescore.periodsobject[]data.game.linescore.periods.periodintegerrequireddata.game.linescore.periods.home_scoreintegerdata.game.linescore.periods.away_scoreintegerdata.game.home_scoring_breakdownobjectdata.game.home_scoring_breakdown.points_in_paintobjectrequireddata.game.home_scoring_breakdown.points_in_paint.valueinteger | nullrequireddata.game.home_scoring_breakdown.points_in_paint.availabilitystringrequireddata.game.home_scoring_breakdown.points_in_paint.calculation_modestring | nullrequireddata.game.home_scoring_breakdown.points_in_paint.sourcestring | nullrequireddata.game.home_scoring_breakdown.fast_break_pointsobjectrequireddata.game.home_scoring_breakdown.fast_break_points.valueinteger | nullrequireddata.game.home_scoring_breakdown.fast_break_points.availabilitystringrequireddata.game.home_scoring_breakdown.fast_break_points.calculation_modestring | nullrequireddata.game.home_scoring_breakdown.fast_break_points.sourcestring | nullrequireddata.game.home_scoring_breakdown.second_chance_pointsobjectrequireddata.game.home_scoring_breakdown.second_chance_points.valueinteger | nullrequireddata.game.home_scoring_breakdown.second_chance_points.availabilitystringrequireddata.game.home_scoring_breakdown.second_chance_points.calculation_modestring | nullrequireddata.game.home_scoring_breakdown.second_chance_points.sourcestring | nullrequireddata.game.home_scoring_breakdown.bench_pointsobjectrequireddata.game.home_scoring_breakdown.bench_points.valueinteger | nullrequireddata.game.home_scoring_breakdown.bench_points.availabilitystringrequireddata.game.home_scoring_breakdown.bench_points.calculation_modestring | nullrequireddata.game.home_scoring_breakdown.bench_points.sourcestring | nullrequireddata.game.away_scoring_breakdownobjectdata.game.away_scoring_breakdown.points_in_paintobjectrequireddata.game.away_scoring_breakdown.points_in_paint.valueinteger | nullrequireddata.game.away_scoring_breakdown.points_in_paint.availabilitystringrequireddata.game.away_scoring_breakdown.points_in_paint.calculation_modestring | nullrequireddata.game.away_scoring_breakdown.points_in_paint.sourcestring | nullrequireddata.game.away_scoring_breakdown.fast_break_pointsobjectrequireddata.game.away_scoring_breakdown.fast_break_points.valueinteger | nullrequireddata.game.away_scoring_breakdown.fast_break_points.availabilitystringrequireddata.game.away_scoring_breakdown.fast_break_points.calculation_modestring | nullrequireddata.game.away_scoring_breakdown.fast_break_points.sourcestring | nullrequireddata.game.away_scoring_breakdown.second_chance_pointsobjectrequireddata.game.away_scoring_breakdown.second_chance_points.valueinteger | nullrequireddata.game.away_scoring_breakdown.second_chance_points.availabilitystringrequireddata.game.away_scoring_breakdown.second_chance_points.calculation_modestring | nullrequireddata.game.away_scoring_breakdown.second_chance_points.sourcestring | nullrequireddata.game.away_scoring_breakdown.bench_pointsobjectrequireddata.game.away_scoring_breakdown.bench_points.valueinteger | nullrequireddata.game.away_scoring_breakdown.bench_points.availabilitystringrequireddata.game.away_scoring_breakdown.bench_points.calculation_modestring | nullrequireddata.game.away_scoring_breakdown.bench_points.sourcestring | nullrequireddata.game.liveobjectdata.game.live.status_codestringrequireddata.game.live.status_labelstringrequireddata.game.live.period_labelstringdata.game.live.period_ordinalintegerrequireddata.game.live.scoreobjectdata.game.live.score.homeintegerrequireddata.game.live.score.awayintegerrequireddata.game.live.clockobjectdata.game.live.clock.minuteintegerdata.game.live.clock.secondintegerdata.game.live.clock.displaystringdata.game.live.clock.is_runningbooleanrequireddata.game.live.state_revisionintegerdata.game.live.updated_atstring<date-time>requireddata.itemsobject[] | nullrequireddata.items.canonicalIdstringdata.items.gameIdstringdata.items.eventNumnumberdata.items.periodnumber | nulldata.items.clockstring | nulldata.items.teamIdstring | nulldata.items.playerIdstring | nulldata.items.eventTypestring | nulldata.items.actionTypestring | nulldata.items.descriptionstring | nulldata.items.qualifiersstring[] | nulldata.items.shotResultstring | nulldata.items.homeScorenumber | nulldata.items.awayScorenumber | nulldata.items.shotIdstring | null_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.