Teams, Players & Rosters
The Cup calendar
NBA-only. The season's NBA Cup calendar from cup_calendars, written
daily by the espn:cup-calendar adapter from the note ESPN's
scoreboard puts on every cup game ("NBA Cup - Group Play", "NBA Cup -
Quarterfinals", "NBA Cup - Semifinals", "NBA Cup Championship"), read
for every day from October 15 to December 31 of the season's start
year.
stages lists the four rounds in order (group, quarterfinal,
semifinal, final). Each carries the ESPN scoreboard query dates
with a game of the round — the US game day, ascending and unique —
the number of games on them, and how many of those games still have
TBD teams (placeholders); a round ESPN lists no game for yet has
empty dates and games: 0. The games themselves carry the same
round as cup_stage (and the group as cup_group) on
/v1/nba/games.
Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.
https://api.sportquanta.com/v1/nba/cup-calendarReference context: NBA.
Overview · Response conventions
Authorizations
AuthorizationstringheaderrequiredSend a workspace API token in the Authorization: Bearer <token> header.
Query Parameters
seasonstringrequiredRequired NBA season label (2026-27); a bare start year (2026) or 2026-2027 is read as the same season. Anything else is a 422.
Response
application/jsonThe season's NBA Cup calendar.
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.
dataobjectrequiredA season's NBA Cup calendar (cup_calendars, written by the espn:cup-calendar adapter from ESPN's scoreboard notes) — the four rounds in order with their game days, game counts and TBD games.
data.seasonstringrequiredNBA season label, e.g. 2026-27.
data.sourcestringrequiredAlways espn.
data.fetched_atstringrequiredWhen the adapter read ESPN's scoreboards (ISO-8601).
data.stagesobject[]requiredgroup, quarterfinal, semifinal, final in that order.
data.stages.stageenum<string>requiredAvailable options: group, quarterfinal, semifinal, final
data.stages.datesstring[]requiredESPN scoreboard query dates (YYYY-MM-DD, the US game day) with a game of the round, ascending and unique; empty until ESPN lists one.
data.stages.gamesintegerrequiredGames of the round on those dates, TBD ones included.
data.stages.placeholdersintegerrequiredGames of the round whose teams are not known yet (ESPN lists them as TBD @ TBD).
_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.