/basketball/factsFacts feed: what finished matches changed
Insights plan feature (403 FEATURE_NOT_IN_PLAN without it). Finished matches of the last days with their new facts: the match story (comebacks, late winners, red cards), runs that started, grew or ended, table places and zones. Each fact also as a sentence (lang de, es, it, fr). Newest first; poll with since (the last item's updated_at). Facts only, no predictions.
Parameters
league_idinteger · queryLeague id
sincestring · queryOnly matches updated after this time (RFC 3339)
min_importanceinteger · queryOnly facts with at least this importance (0-100, default 50)
limitinteger · queryMatches (default 50, max 200)
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.
dataarray of objectaway_scoreintegeraway_teamobjectidintegernamestringdatestringfactsarray 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).
textstringtypestringvalueintegervaluesobjecthome_scoreintegerhome_teamobjectidintegernamestringleague_idintegerleague_namestringmatch_idintegerupdated_atstringerrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 400 | INVALID_PARAM | A parameter is missing or wrong, and the message names it. Fix the request; do not retry it. |
| 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). |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON