/basketball/matches/{id}/statsGet match statistics (box score)
Returns the box score of a match from the provider's per-league stats feeds, as the data provider sends it for that sport. Basketball (NBA, NCAA, WNBA, Euroleague, ACB, Eurocup, KBL and every other league the data provider has box scores for): team_stats, player_stats (starters and bench). Hockey (NHL, KHL, Liiga, SHL, DEL, Czech Extraliga and every other league the data provider has box scores for): scoring and penalties by period, team and player stats. Baseball (MLB; the data provider sends none for KBO and NPB): starting_pitchers, stats (hitters, pitchers), events, umpires. Tennis (top matches): player, with service/return/points stats for the match and each set. American football (NFL, NCAA FBS): team_stats, passing, rushing, receiving, defensive, kicking, punting, returns, fumbles, interceptions, events. Stats are fetched from kickoff until shortly after the end (leagues without a live box-score feed: from the league season file, which gets a game after it ends and can miss games); 404 for matches without a box score.
Parameters
idinteger · pathrequiredMatch ID
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataobjectfeed_match_idstringmatch_idintegersourcestringsportstringstatsobjectstatusstringupdated_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. |
| 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