/cricket/leagues/{id}/standingsGet league standings
Returns a league's table as the data provider sends it for that sport: soccer with position, form and overall/home/away records; NBA, NHL, MLB, NFL and NCAA by conference and division; other leagues as one table; cricket: computed from the results (IPL, BBL, The Hundred, PSL, CPL, SA20, T20 Blast, County Championship, Sheffield Shield, Ranji Trophy...), with the points rules in rules and groups per group or division. Where the data provider has no usable table, the current table of the Wikipedia season article is served as it stands (rugby union: Premiership, Top 14, URC, Super Rugby, Six Nations; cricket with bonus points and deductions: County Championship, Sheffield Shield, World Test Championship), with source wikipedia, as_of (the time of the page revision) and the attribution in data and meta. Read again a few minutes after each of the league's matches finishes, and weekly. 404 for leagues without a table (cups, uncovered leagues).
Parameters
idinteger · pathrequiredLeague ID
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataobjectas_ofstringattributionstringchecked_atstringleague_idintegerseasonstringsourcestringTables from Wikipedia (rugby union, cricket bonus-point tables): source "wikipedia", as_of the page revision's time, attribution. Tables we compute from results where the feed has none: source "computed" (points deductions not included). Tables from the official league or federation page: source "official", source_url the page.
source_urlstringsportstringstandingsobjectupdated_atstringwhen the table last changed
errorobjectcodestringmessagestringmetaobjectattributionstringAttribution 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. |
| 401 | UNAUTHORIZED | The key is missing, mistyped or was rotated. |
| 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