/baseball/matchesList baseball matches
Returns a paginated list of baseball matches with optional filtering
Parameters
limitinteger · queryMaximum results (1-100)
Default:50offsetinteger · queryResults to skip
Default:0datestring · queryFilter by date (YYYY-MM-DD)
date_fromstring · queryMatches on or after this date (YYYY-MM-DD)
date_tostring · queryMatches on or before this date (YYYY-MM-DD)
statusstring · queryFilter by status (Not Started, Finished, Inning 1-9)
league_idinteger · queryFilter by league ID
team_idinteger · queryOnly matches of this team (home or away, every competition)
orderstring · querydesc for latest first (default: by start time ascending)
One of:asc,descfuturestring · queryFilter to matches scheduled today or later (true)
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataarray of objectaway_teamobjectidintegernamestringscoreintegerextra_inningsintegerfile_groupstringhome_teamobjectidintegernamestringscoreintegeridintegerinning_scoresobjecterrorsobjectextraobjecthitsobjectin1objectin2objectin3objectin4objectin5objectin6objectin7objectin8objectin9objectleague_gidintegerleague_idintegerleague_namestringmatch_idintegersportstringstart_datestringstart_timestringstatusstringerrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 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). |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests (QUOTA_EXCEEDED for the daily limit). Wait for Retry-After. |
| 500 | INTERNAL_ERROR | Our side. Try again after a few seconds and check the status page. |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON