Download a bulk 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.
GET
https://api.cricketdatabase.com/v1/export/{file}Try it
Kept in this browser and filled in on every docs page.
Parameters
| Name | Type | Required | Description | Values |
|---|---|---|---|---|
file | string | yes | In the address: the file's address name | players-csv |
Returns
| Field | Type | What it holds |
|---|---|---|
data | object | |
data.file | string | |
data.table | string | |
data.year | string or null | |
data.format | string | test, odi, t20i, t20, multi-day or one-day |
data.filename | string | |
data.rows | integer | |
data.bytes | integer | |
data.sha256 | string | |
data.built_at | string | |
data.download | string | |
meta | object | |
meta.plan | string | The plan the key is on |
Example answer
A real answer for /v1/export/players-csv, lists cut to their first two items.
{
"data": {
"file": "players-csv",
"table": "players",
"year": null,
"format": "csv",
"filename": "players.csv.gz",
"rows": 15798,
"bytes": 447834,
"sha256": "e8882d00711395e955295d9375fad2000908ebd672acad1e3e5e24a00324f9a5",
"built_at": "2026-12-01T04:44:31Z",
"download": "https://api.cricketdatabase.com/v1/export/players-csv"
},
"meta": {
"plan": "plus"
}
}
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 |
| 404 | not_found | Nothing at that address |
| 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 |