Bulk files
On each planFree keyNot includedMatch WeekNot includedArchiveTo yesterdayProTo yesterdayAnalyst ProTo yesterday
Every match held ball by ball as files to download instead of pages to call: matches, innings, batting, bowling and every ball, one file a year for each, and one file each for players, teams and grounds, as gzipped CSV or gzipped JSON lines.
GET
https://api.cricketdatabase.com/v1/exportTry it
Kept in this browser and filled in on every docs page.
Parameters
| Name | Type | Required | Description | Values |
|---|---|---|---|---|
table | string | no | matches, innings, batting, bowling, deliveries, players, teams or grounds | matchesinningsbattingbowlingdeliveriesplayersteamsgrounds |
year | integer | no | Four digits, such as 2019 | |
format | string | no | csv or jsonl | csvjsonl |
Returns
| Field | Type | What it holds |
|---|---|---|
data | object | |
data.files[] | array | file, table, year, format, filename, rows, bytes, sha256, built_at, download |
data.count | integer | Items in this page |
data.built_at | string | |
data.up_to | string | |
data.years | object | |
data.years.from | integer | |
data.years.to | integer | |
data.tables | array | |
data.formats | array | |
meta | object | |
meta.plan | string | The plan the key is on |
meta.note | string |
Example answer
A real answer for /v1/export?table=matches&format=csv, lists cut to their first two items.
{
"data": {
"files": [
{
"file": "matches-2001-csv",
"table": "matches",
"year": 2001,
"format": "csv",
"filename": "matches-2001.csv.gz",
"rows": 13,
"bytes": 1767,
"sha256": "0612595ca3f5fde9bc4040230c57ca6d90c8498063bd34b26a0b53c9d6a53c40",
"built_at": "2026-12-01T04:40:07Z",
"download": "https://api.cricketdatabase.com/v1/export/matches-2001-csv"
},
{
"file": "matches-2002-csv",
"table": "matches",
"year": 2002,
"format": "csv",
"filename": "matches-2002.csv.gz",
"rows": 176,
"bytes": 12323,
"sha256": "ede4c0fd008f3e41996b886e93c45c7208ece013c8049db7ca57f5f4964ff4f1",
"built_at": "2026-12-01T04:40:09Z",
"download": "https://api.cricketdatabase.com/v1/export/matches-2002-csv"
},
"... 24 more"
],
"count": 26,
"built_at": "2026-12-01T04:44:31Z",
"up_to": "2026-11-30",
"years": {
"from": 2001,
"to": 2026
},
"tables": [
"matches",
"innings",
"... 6 more"
],
"formats": [
"csv",
"jsonl"
]
},
"meta": {
"plan": "plus",
"note": "One file a year for matches, innings, batting, bowling and deliveries; one file each for players, teams and grounds. Each download counts as one call. Files are rebuilt each night, a year only when its matches changed."
}
}
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 |
| 403 | upgrade_required | The plan does not reach it; the answer names the plan that does |
| 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 |