Cricket Database
0 of 50 calls today
Get a free API key Sign in Dashboard Upgrade

Team

On each planFree keyIn fullMatch WeekIn fullArchiveIn fullProIn fullAnalyst ProIn full

A team: record by format, main competitions and most-capped players.

GEThttps://api.cricketdatabase.com/v1/teams/{team}

Try it

Kept in this browser and filled in on every docs page.

Press Run to call the API with your key. The answer appears here.

    

Parameters

NameTypeRequiredDescriptionValues
teamstringyesIn the address: the team's address nameengland

Returns

FieldTypeWhat it holds
dataobject
data.teamstringA side's address name
data.namestringThe name as shown
data.first_matchstring
data.latest_matchstring
data.recordobject
data.record.odiobject
data.record.odi.playedinteger
data.record.odi.wonintegerWhether this side won
data.record.odi.lostinteger
data.record.t20iobject
data.record.t20i.playedinteger
data.record.t20i.wonintegerWhether this side won
data.record.t20i.lostinteger
data.record.testobject
data.record.test.playedinteger
data.record.test.wonintegerWhether this side won
data.record.test.lostinteger
data.competitions[]arraycompetition, name, matches
data.most_matches[]arrayplayer, name, matches
metaobject
meta.planstringThe 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

StatusCodeWhen
400bad_requestA value is not one this parameter takes, or the key was sent in the address
401unauthorizedNo key, or one that is unknown or revoked
404not_foundNothing at that address
422unknown_parameterA parameter this endpoint does not take
429rate_limitedToo fast: wait for Retry-After
429quota_exceededThe day's calls are used: they reset at midnight UTC