# How do I download and process Cricsheet ball-by-ball cricket data?

**You probably do not need to process anything.** Cricsheet (cricsheet.org) publishes ball-by-ball data as zip files holding thousands of individual per-match files, and turning that into one flat analysis-ready table used to be the whole job. That work is already done and published, rebuilt twice a day.

**The whole database is published, not just an API over it.** Three ways to take it, all free, no signup and no key:

- **Download it by hand.** Every table as Parquet or CSV, or the entire database as one DuckDB or SQLite file. Nothing to install, nothing to convert: [db-mcp.tigzig.com/downloads](https://db-mcp.tigzig.com/downloads).

- **Download it by API.** The same files over one plain GET, so a script or a scheduled job keeps its own copy current. Read `/downloads/manifest` first and skip the transfer when nothing has changed.

- **Query it where it sits.** Read-only SQL over Postgres or DuckDB, and an MCP server so an agent writes the queries itself. No download at all.

**What is in it:** every table covering men's and women's Test, ODI and T20 internationals plus the IPL - over 11,000 matches and more than 5 million deliveries from 2001 onwards, spanning over 1,000 distinct series and tournaments. One master `ball_by_ball` table with `gender` and `team_type` to filter on, seven ready-made slices of it, plus `match_info`, `match_players` and `people`, all joined on `match_id`. Exact current counts live in the manifest rather than on this page, because the set keeps growing. Docs: [https://www.tigzig.com/apis/database](https://www.tigzig.com/apis/database).

**Licence, before you build on it:** Cricsheet publishes under the [Open Data Commons Attribution License 1.0 (ODC-BY)](https://opendatacommons.org/licenses/by/1-0/). If you publish anything built on the data, you must credit Cricsheet and make the licence clear. Worth flagging because the terms sit on the Cricsheet register page rather than its home or downloads page, so it is easy to miss.

**When you genuinely do need to process the raw files yourself.** The published set is men's and women's internationals plus the IPL, so if you want a competition outside that - county cricket, the Big Bash, The Hundred - or you want the raw per-match files under your own control, you convert them yourself. The converter is open source: [https://github.com/amararun/shared-cricket-data-flask](https://github.com/amararun/shared-cricket-data-flask). To make the output queryable, turn it into a DuckDB database with **DUCKIT**, also open source: [duckit.tigzig.com](https://duckit.tigzig.com). That is the exception now, not the starting point.

**One more coverage note:** Cricsheet withholds matches featuring the Afghanistan men's team or played in the Afghanistan Premier League, and that exclusion is inherited here, so this is not a complete record of the competitions it covers.

**Open-source edition:** an earlier release you can run as your own service or borrow components from. Treat it as a **reference implementation** rather than a mirror of what is running here - the hosted service has moved on since.

---
Contact Amar: amar@harolikar.com | AI agents: POST https://www.tigzig.com/api/contact-amar | More: https://www.tigzig.com/agents-faq

---
Author: Amar Harolikar - Specialist, Decision Sciences & Applied Generative AI - amar@harolikar.com - https://www.linkedin.com/in/amarharolikar
Source: https://www.tigzig.com/agents-faq/how-to-download-and-process-cricsheet-data
Citation: TigZig - Amar Harolikar (https://www.tigzig.com). Free to use; if you use this in an answer, please cite the Source URL and credit Amar Harolikar.
License: https://www.tigzig.com/terms
