Teams, Players & Rosters
League injuries
Requires stats access. Baseball returns all teams in data.items. NBA requires date=YYYY-MM-DD and returns archived reports in data.items; without date it returns 404 endpoint_not_for_sport. KBL returns 200 with availability=provider_unavailable and reason=dated_injury_feed_not_exposed. NFL and NHL have their own static league injury routes.
https://api.sportquanta.com/v1/{league}/injuriesReference context: WKBL.
Overview · Response conventions
Authorizations
AuthorizationstringheaderrequiredSend a workspace API token in the Authorization: Bearer <token> header.
Path Parameters
leagueenum<string>default:wkblrequiredLeague for this reference section: wkbl.
Available options: wkbl
Query Parameters
datestringNBA historical report date, YYYY-MM-DD. Required for NBA league-wide injuries; optional for NBA team injuries. KBL returns availability=provider_unavailable.
Response
application/jsonLeague-wide injuries payload (items array of team injury docs).
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 id is well-formed but no document has been ingested for it yet.
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.idstringdata.items.canonical_idstringdata.items.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.items.external_ids.{key}stringdata.items.created_atstring<date-time>Canonical document creation timestamp, when present; not the scheduled start or event time.
data.items.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.items.team_idstringdata.items.injuriesobject[] | nullrequireddata.items.injuries.player_idstringdata.items.injuries.player_namestringrequireddata.items.injuries.statusenum<string>requiredAvailable options: out, doubtful, questionable, probable, day-to-day, unknown
data.items.injuries.status_textstringdata.items.injuries.commentstringdata.items.injuries.updated_atstringdata.items.injuries.status_i18nobjectTranslated injury-status badge text keyed by language, not by status code. For example status=out can have en=Out and ko=결장. Values come from the translation store and are not a fixed enum. Only filled translations appear; the map is omitted when empty. Fall back to the source status label/code when your language is missing. See injury status codes and labels.
data.items.injuries.status_i18n.enstringEnglish display label, when a filled translation is available.
data.items.injuries.status_i18n.kostringKorean display label, when a filled translation is available.
data.items.injuries.status_i18n.jastringJapanese display label, when a filled translation is available.
data.items.injuries.status_i18n.esstringSpanish display label, when a filled translation is available.
data.items.injuries.status_i18n.destringGerman display label, when a filled translation is available.
data.items.injuries.status_i18n.frstringFrench display label, when a filled translation is available.
data.items.injuries.status_i18n.ptstringPortuguese display label, when a filled translation is available.
data.items.injuries.status_i18n.itstringItalian display label, when a filled translation is available.
data.items.injuries.status_i18n.nlstringDutch display label, when a filled translation is available.
data.items.injuries.status_i18n.zh-HansstringSimplified Chinese display label, when a filled translation is available.
data.items.injuries.status_i18n.zh-HantstringTraditional Chinese display label, when a filled translation is available.
data.items.injuries.status_i18n.{key}stringdata.items.injuries.status_text_i18nobjectLocalized text keyed by language tag. Entries are translated strings, unlike the structured localized_names map. Only available translations are returned; fall back to the corresponding base text when a language is absent.
data.items.injuries.status_text_i18n.enstringEnglish display label, when a filled translation is available.
data.items.injuries.status_text_i18n.kostringKorean display label, when a filled translation is available.
data.items.injuries.status_text_i18n.jastringJapanese display label, when a filled translation is available.
data.items.injuries.status_text_i18n.esstringSpanish display label, when a filled translation is available.
data.items.injuries.status_text_i18n.destringGerman display label, when a filled translation is available.
data.items.injuries.status_text_i18n.frstringFrench display label, when a filled translation is available.
data.items.injuries.status_text_i18n.ptstringPortuguese display label, when a filled translation is available.
data.items.injuries.status_text_i18n.itstringItalian display label, when a filled translation is available.
data.items.injuries.status_text_i18n.nlstringDutch display label, when a filled translation is available.
data.items.injuries.status_text_i18n.zh-HansstringSimplified Chinese display label, when a filled translation is available.
data.items.injuries.status_text_i18n.zh-HantstringTraditional Chinese display label, when a filled translation is available.
data.items.injuries.status_text_i18n.{key}stringdata.items.injuries.comment_headstringdata.items.injuries.comment_head_i18nobjectLocalized text keyed by language tag. Entries are translated strings, unlike the structured localized_names map. Only available translations are returned; fall back to the corresponding base text when a language is absent.
data.items.injuries.comment_head_i18n.enstringEnglish display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.kostringKorean display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.jastringJapanese display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.esstringSpanish display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.destringGerman display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.frstringFrench display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.ptstringPortuguese display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.itstringItalian display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.nlstringDutch display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.zh-HansstringSimplified Chinese display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.zh-HantstringTraditional Chinese display label, when a filled translation is available.
data.items.injuries.comment_head_i18n.{key}stringdata.items.fetched_atstringrequireddata.items.report_datestringdata.items.report_published_atstringdata.items.source_urlstring_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.