Competition
On each planFree keyIn fullMatch WeekIn fullArchiveIn fullProIn fullAnalyst ProIn fullMCP toolcompetition
A competition: the names it was filed under, titles by team and all-time leaders.
GET
https://api.cricketdatabase.com/v1/competitions/{competition}Try it
Kept in this browser and filled in on every docs page.
Parameters
| Name | Type | Required | Description | Values |
|---|---|---|---|---|
competition | string | yes | In the address: the competition's address name | t20-blast |
Returns
| Field | Type | What it holds |
|---|---|---|
data | object | |
data.competition | string | The competition or tour |
data.name | string | The name as shown |
data.kind | string | |
data.gender | string | male or female |
data.country | string | |
data.matches | integer | |
data.first_match | string | |
data.latest_match | string | |
data.also_filed_as | array | |
data.titles | object | |
data.titles.Northamptonshire | integer | |
data.titles.Somerset | integer | |
data.titles.Nottinghamshire | integer | |
data.titles.Gloucestershire | integer | |
data.titles.Hampshire | integer | |
data.titles.Kent | integer | |
data.titles.Essex | integer | |
data.titles.Worcestershire | integer | |
data.titles.Lancashire | integer | |
data.titles.Warwickshire | integer | |
data.most_runs[] | array | player, name, runs, innings, hundreds |
data.most_wickets[] | array | player, name, wickets, economy |
meta | object | |
meta.plan | string | The plan the key is on |
Example answer
A real answer for /v1/competitions/t20-blast, lists cut to their first two items.
{
"data": {
"competition": "t20-blast",
"name": "T20 Blast",
"kind": "domestic",
"gender": "male",
"country": "England",
"matches": 1570,
"first_match": "2014-05-16",
"latest_match": "2026-07-18",
"also_filed_as": [
"Vitality Blast",
"NatWest T20 Blast",
"... 1 more"
],
"titles": {
"Northamptonshire": 2,
"Somerset": 2,
"Nottinghamshire": 2,
"Gloucestershire": 1,
"Hampshire": 1,
"Kent": 1,
"Essex": 1,
"Worcestershire": 1,
"Lancashire": 1,
"Warwickshire": 1
},
"most_runs": [
{
"player": "jm-vince",
"name": "JM Vince",
"runs": 5547,
"innings": 166,
"hundreds": 6
},
{
"player": "dj-bell-drummond",
"name": "DJ Bell-Drummond",
"runs": 4702,
"innings": 160,
"hundreds": 3
},
"... 6 more"
],
"most_wickets": [
{
"player": "dr-briggs",
"name": "DR Briggs",
"wickets": 206,
"economy": 7.54
},
{
"player": "cp-wood",
"name": "CP Wood",
"wickets": 182,
"economy": 8.21
},
"... 6 more"
]
},
"meta": {
"plan": "plus"
}
}
Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | A value is not one this parameter takes, or the key was sent in the address |
| 401 | unauthorized | No key, or one that is unknown or revoked |
| 404 | not_found | Nothing at that address |
| 422 | unknown_parameter | A parameter this endpoint does not take |
| 429 | rate_limited | Too fast: wait for Retry-After |
| 429 | quota_exceeded | The day's calls are used: they reset at midnight UTC |