Team
On each planFree keyIn fullMatch WeekIn fullArchiveIn fullProIn fullAnalyst ProIn full
A team: record by format, main competitions and most-capped players.
GET
https://api.cricketdatabase.com/v1/teams/{team}Try it
Kept in this browser and filled in on every docs page.
Parameters
| Name | Type | Required | Description | Values |
|---|---|---|---|---|
team | string | yes | In the address: the team's address name | england |
Returns
| Field | Type | What it holds |
|---|---|---|
data | object | |
data.team | string | A side's address name |
data.name | string | The name as shown |
data.first_match | string | |
data.latest_match | string | |
data.record | object | |
data.record.odi | object | |
data.record.odi.played | integer | |
data.record.odi.won | integer | Whether this side won |
data.record.odi.lost | integer | |
data.record.t20i | object | |
data.record.t20i.played | integer | |
data.record.t20i.won | integer | Whether this side won |
data.record.t20i.lost | integer | |
data.record.test | object | |
data.record.test.played | integer | |
data.record.test.won | integer | Whether this side won |
data.record.test.lost | integer | |
data.competitions[] | array | competition, name, matches |
data.most_matches[] | array | player, name, matches |
meta | object | |
meta.plan | string | The plan the key is on |
Example answer
A real answer for /v1/teams/england, lists cut to their first two items.
{
"data": {
"team": "england",
"name": "England",
"first_match": "2001-12-03",
"latest_match": "2026-11-29",
"record": {
"odi": {
"played": 651,
"won": 351,
"lost": 268
},
"t20i": {
"played": 430,
"won": 273,
"lost": 140
},
"test": {
"played": 322,
"won": 139,
"lost": 114
}
},
"competitions": [
{
"competition": "natwest-series",
"name": "NatWest Series",
"matches": 95
},
{
"competition": "mens-t20-world-cup",
"name": "ICC Men's T20 World Cup",
"matches": 57
},
"... 8 more"
],
"most_matches": [
{
"player": "jc-buttler",
"name": "JC Buttler",
"matches": 423
},
{
"player": "je-root",
"name": "JE Root",
"matches": 402
},
"... 8 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 |