Teams, Players & Rosters
Extended stat definitions
Additive baseball enrichment. Existing endpoints and caches are unchanged. Private, no-store; BASEBALL_EXTENSIONS_ENABLED=false disables this route. Requires stats entitlement. Source observations may be absent until enrichment is deployed/backfilled. Season statistics are exact-scope, regular season by default; postseason/preseason can be requested but are not synthesized. Cursor ordering uses canonical extension ID, not event occurrence order. Multiple producers remain separate; never sum duplicate official totals and team stints.
https://api.sportquanta.com/v1/mlb/stat-definitionsReference context: MLB.
Overview · Response conventions
Authorizations
AuthorizationstringheaderrequiredSend a workspace API token in the Authorization: Bearer <token> header.
Response
application/jsonIndependent observed enrichment with explicit coverage; missing data never implies zero.
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.
dataobjectmetaobjecterrorobjectrequirederror.codestringrequiredStable machine-readable error code.
error.messagestringrequiredUser-facing error summary.
error.detailsanyOptional error details.