Cricket competitions API
CompetitionsEvery competition held, over twelve hundred.
A list you will want once and then keep: it changes rarely. Ids in it open their own endpoints.
Try it
Your key stays in this browser and is filled in on every docs page.
{
"data": [
{
"competition": "ck_xv12h51ytx",
"name": "T20 Blast",
"kind": "domestic",
"gender": "male",
"country": "England",
"matches": 1570,
"first_match": "2014-05-16",
"latest_match": "2026-07-18"
},
{
"competition": "ck_tbzx43cepx",
"name": "County Championship",
"kind": "domestic",
"gender": "male",
"country": "England",
"matches": 1483,
"first_match": "2014-04-06",
"latest_match": "2026-09-27"
}
],
"meta": {
"sport": "cricket",
"endpoint": "/competitions",
"total": 1225,
"count": 1225,
"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 | |
|---|---|---|---|
| season | string | optional | The season, by the id or starting year shown in Competitions. |
| page | integer | optional | Which page of rows, from 1. |
| per_page | integer | optional | Rows per page, up to 100 on most lists. |
Returns
Each row of data, from a real answer. Every id is ours and opens its own endpoint.
| Field | Type | What it holds |
|---|---|---|
| competition | string | The competition |
| name | string | Its name |
| kind | string | Kind |
| gender | string | Men, women or mixed |
| country | string | The country |
| matches | integer | Matches played |
| first_match | date | First in metresatch |
| latest_match | date | Latest in metresatch |
| 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 asked for a date other than yesterday |
| 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 |
The free key reads yesterday. The Cricket plan opens live, fixtures and every date held, for $49 a month.
Add Cricket