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

Team matches

GET/v1/teams/{team}/matches

On each planFree keyLast 30 daysMatch WeekLast 30 daysArchiveTo yesterdayProIn fullAnalyst ProIn full

A team's matches, with every filter of /v1/matches.

Parameters

NameInValuesRequired
teampathteam addressyes
datequeryOne day, YYYY-MM-DD
fromqueryOn or after
toqueryOn or before
yearqueryA calendar year
monthqueryWith year, 1 to 12
formatquerytest, odi, t20i, t20, multi-day, one-day
genderquerymale or female
pagequeryPage number, from 1
limitqueryResults per page, 1 to 100 (default 50)

Request

curl -H "Authorization: Bearer $CDB_KEY" \
  "https://api.cricketdatabase.com/v1/teams/england/matches"

Response

{
    "data": [
        {
            "match": "2026-09-27-england-v-sri-lanka",
            "date": "2026-09-27",
            "format": "odi",
            "gender": "male",
            "coverage": "full",
            "competition": "Sri Lanka tour of England",
            "stage": "Match 3",
            "ground": null,
            "official_number": null,
            "teams": [
                {
                    "team": "england",
                    "name": "England",
                    "score": "355/7",
                    "overs": "50",
                    "won": true
                },
                {
                    "team": "sri-lanka",
                    "name": "Sri Lanka",
                    "score": "132",
                    "overs": "29.1",
                    "won": false
                }
            ],
            "result": "England won by 223 runs"
        },
        {
            "match": "2026-09-24-sri-lanka-v-england",
            "date": "2026-09-24",
            "format": "odi",
            "gender": "male",
            "coverage": "full",
            "competition": "Sri Lanka tour of England",
            "stage": "Match 2",
            "ground": null,
            "official_number": null,
            "teams": [
                {
                    "team": "sri-lanka",
                    "name": "Sri Lanka",
                    "score": "321/6",
                    "overs": "50",
                    "won": true
                },
                {
                    "team": "england",
                    "name": "England",
                    "score": "305/9",
                    "overs": "50",
                    "won": false
                }
            ],
            "result": "Sri Lanka won by 16 runs"
        },
        "... 48 more"
    ],
    "meta": {
        "plan": "plus",
        "count": 50,
        "next_cursor": "Y2RiOnAy",
        "page": 1,
        "per_page": 50,
        "total": 2926,
        "total_pages": 59,
        "next_page": 2,
        "prev_page": null
    }
}

A real response from the database for the example request, on a Analyst Pro key. Lists are cut to their first two items.

Run it live

A real request from your browser straight to api.cricketdatabase.com with your own key. Keys you add are kept in this browser, and the page remembers the one you last used. No key yet? Get a free key.