Cricket fixtures API
FixturesMatches by date, starting today.
This lists what is coming, with start times in UTC and the ids that carry on into results once played. It comes with the Cricket plan.
Try it
Your key stays in this browser and is filled in on every docs page.
{
"data": [],
"meta": {
"sport": "cricket",
"endpoint": "/fixtures",
"count": 0,
"page": 1,
"per_page": 50,
"total": 0,
"total_pages": 1,
"next_cursor": null,
"next_page": null,
"prev_page": null,
"cached": false,
"age_seconds": 0
}
}Parameters
Query values this call takes. Anything else is refused with bad_param and the list it accepts.
| Name | Type | What it does | |
|---|---|---|---|
| date | date | optional | One day, written YYYY-MM-DD. Leave it out for the default day. The free key reads yesterday only. |
| competition | id | optional | Only this competition, by its id from Competitions. |
| page | integer | optional | Which page of rows, from 1. |
| per_page | integer | optional | Rows per page, up to 100 on most lists. |
Returns
The fields of data are listed here from a real answer as soon as one is held. Every answer also carries meta.
| meta | What it holds |
|---|---|
| sport, endpoint | What you asked |
| count | Rows in this answer |
| page, per_page, total, next_cursor | Where you are in a paged list, when it is paged |
| as_of | When the data was built |
| cached, age_seconds | Whether this is a stored copy, and its age |
| access | On the free key: what it reads, and the plan that opens the rest |
Errors
Codes this call can give. Each is explained in Errors.
| Status | Code | When |
|---|---|---|
| 401 | no_key | No key sent, or not in a form we read |
| 401 | bad_key | A key we do not know |
| 403 | plan | The free key, or a sport you do not hold |
| 422 | bad_param | A value this call does not take |
| 429 | rate | Over the calls a minute for your plan |
| 503 | upstream | The data is not answering; retry after Retry-After |
Fixtures comes with the Cricket plan, $49 a month, with every date held and 250,000 calls a month.
Add Cricket