/soccer/teams/{id}/factsTeam facts: streaks, records, first since, milestones
Insights plan feature (403 FEATURE_NOT_IN_PLAN without it). A soccer team's current facts, each with a sentence (lang de, es, it, fr): current runs (and whether one is the longest of the season), runs its last match ended ("first defeat after 11 unbeaten"), what that match ended that our data can date ("first away win at X since ..."; since and history_from on each: nothing is claimed before our data starts), home and away record, table place, gaps and zone, the next match's stakes, and players' milestones for the club (debut, first goal; 50/100/150 league appearances, 25/50/75 league goals; milestone_next: one short before the next match). coach_change: a head coach appointed in the last 45 days (Wikidata), with the record since when our matches cover the whole tenure. suspended_out and one_booking_from_ban: players banned for, or one booking from a ban before, the next league match (official card rules; only when every league match of the team has our cards). League milestones only when every league match of the team's season has our statistics and the player's earlier league seasons are complete in his profile; debut and first goal only when every match of the season in every competition has them. Kept for an hour. Facts only, no predictions.
Parameters
idinteger · pathrequiredTeam ID
langstring · queryLanguage of sentences and names: de, es, it, fr
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataobjectas_ofstringfactsarray of objectbased_onarray of integerhistory_fromstringimportanceintegerincompletebooleana match without a result cuts it: no sentence
opponentobjectplayer_idintegersincestringteamobjectteam_idintegerFlat fields for consumers that do not read values: the team's and player's id, the fact's main number, the day a run or "first since" reaches back to, and the start of our data (no claim reaches further).
textstringtypestringvalueintegervaluesobjecthistory_fromstringresults_completebooleansportstringteamobjectidintegernamestringerrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 402 | x402 offers | No key and no valid payment: the body lists what to pay. Only a 200 answer is charged. |
| 403 | FORBIDDEN | The sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features). |
| 404 | NOT_FOUND | No record with that id. |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON