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

Download a bulk file

GET/v1/export/{file}

On each planFree keyNot includedMatch WeekNot includedArchiveTo yesterdayProTo yesterdayAnalyst ProTo yesterday

One bulk file, sent as it is: gzipped CSV (a header row, then one row a record) or gzipped JSON lines (one object a line), with Content-Length, an ETag of its sha256 and X-Rows. Each download counts as one call. The example shows the file's entry; the call itself answers the file.

Parameters

NameInValuesRequired
filepathfile addressyes

Request

curl -H "Authorization: Bearer $CDB_KEY" \
  "https://api.cricketdatabase.com/v1/export/players-csv"

Response

{
    "data": {
        "file": "players-csv",
        "table": "players",
        "year": null,
        "format": "csv",
        "filename": "players.csv.gz",
        "rows": 13967,
        "bytes": 382770,
        "sha256": "d7e3bfec99e4fbff95dccac9ed8c6478011202a1eadbe70447484b43ca30c5e4",
        "built_at": "2026-10-10T07:04:46Z",
        "download": "https://api.cricketdatabase.com/v1/export/players-csv"
    },
    "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.