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

Records

GET/v1/records

On each planFree keySampleMatch WeekSampleArchiveIn fullProIn fullAnalyst ProIn fullMCP tooltop_performances

Record lists. Lower plans get the top 10; Archive and Analyst Pro the top 100.

Parameters

NameInValuesRequired
typequerymost-runs, most-wickets, highest-scores, best-bowling or team-totals
formatquerytest, odi, t20i, t20, multi-day, one-day (default test)
genderquerymale or female (default male)

Request

curl -H "Authorization: Bearer $CDB_KEY" \
  "https://api.cricketdatabase.com/v1/records?type=most-runs&format=test"

Response

{
    "data": {
        "type": "most-runs",
        "format": "test",
        "gender": "male",
        "data": [
            {
                "player": "je-root",
                "name": "JE Root",
                "runs": 14278,
                "innings": 309,
                "outs": 283,
                "balls": 24783,
                "hundreds": 41
            },
            {
                "player": "an-cook",
                "name": "AN Cook",
                "runs": 12472,
                "innings": 291,
                "outs": 275,
                "balls": 26562,
                "hundreds": 33
            },
            "... 98 more"
        ]
    },
    "meta": {
        "plan": "plus"
    }
}

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.