Shared Resources
Lineup sides that became official since a cursor
Cross-league feed of official lineups. Each item is one side (home or
away) of one game, stamped the first time SportQuanta stored that side
as confirmed: MLB, KBO and NPB batting orders, NBA and KBL starting
fives, and soccer starting elevens. confirmed_at is our detection
time and never moves, so it can drive "lineups are out" alerts and
measure end-to-end lag.
Poll with since set to the previous page's next_since. Items are
oldest first; a stamp equal to since is not repeated. since is
clamped to the last 24 hours and defaults to the last hour. Requested
leagues without per-game lineups are skipped and echoed in
ignored_leagues. Never cached.
Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.
https://api.sportquanta.com/v1/lineups/confirmationsReference context: Catalog & Access.
Overview · Response conventions
Authorizations
AuthorizationstringheaderrequiredSend a workspace API token in the Authorization: Bearer <token> header.
Query Parameters
sincestring<date-time>RFC 3339 cursor; only sides confirmed strictly after it are returned.
leaguesstringComma-separated league ids (default every league with per-game lineups).
Response
application/jsonLineup sides confirmed since the cursor, oldest first (at most 500).
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.
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.itemsobject[]requireddata.items.leaguestringrequireddata.items.game_idstringrequiredCanonical game (soccer match) id.
data.items.sideenum<string>requiredAvailable options: home, away
data.items.confirmed_atstring<date-time>requiredWhen SportQuanta first stored this side as official.
data.items.schedule_datestringThe game's schedule date as the lineup carries it.
data.next_sincestring<date-time>requiredPass back as since; the newest confirmed_at returned, or the request's since.
data.ignored_leaguesstring[]_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.