+ESPNcricinfo API
Live cricket scores, full scorecards, commentary, points tables, ICC rankings and Statsguru records from ESPNcricinfo as clean JSON.
The API.SH ESPNcricinfo API returns cricket data from espncricinfo.com in one consistent JSON shape: live, upcoming and recent matches filtered by format and team, a match's summary with live performers, the full scorecard with every batter, bowler, fall of wicket and partnership, the latest ball-by-ball commentary, playing XIs, series overviews, fixtures, points tables and squads, team pages, ICC team and player rankings, and Statsguru: player career figures and the records engine.
- 15 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/espncricinfo/v1/ commentary
What you can build with the ESPNcricinfo API
Live score apps and widgets
List live and upcoming matches by format, then show each match's score, status, current batters and bowlers and the latest balls.
Scorecard and match databases
Store every innings with runs, balls, fours, sixes, strike rate, dismissals, bowling figures, fall of wickets and partnerships.
Fantasy cricket and team selection
Check playing XIs with roles, recent results and each series' top run scorers and wicket takers before picking a side.
Tournament trackers
Follow a series or league with its fixtures and results, points table with net run rate, and the squads named.
Player statistics and records research
Pull a player's Statsguru career figures by format and split by opposition, ground or year, and query all-time records ordered by any column.
ESPNcricinfo data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
ESPNcricinfo API endpoints and prices
ESPNcricinfo endpoints cost 1 to 2 credits per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| ESPNcricinfo live and current matches /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo ball-by-ball commentary (latest) /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo player career statistics /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo full scorecard /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo upcoming fixtures /espncricinfo/ | $2 · $4 PAYG 2 credits |
| ESPNcricinfo match summary /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo playing XI and squads of a match /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo ICC rankings /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo Statsguru records /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo recent results /espncricinfo/ | $2 · $4 PAYG 2 credits |
| ESPNcricinfo series overview /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo series fixtures and results /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo series squads /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo points table /espncricinfo/ | $1 · $2 PAYG 1 credit |
| ESPNcricinfo team /espncricinfo/ | $1 · $2 PAYG 1 credit |
Call the ESPNcricinfo API
ESPNcricinfo ball-by-ball commentary (latest): GET https://api.api.sh/espncricinfo/
curl "https://api.api.sh/espncricinfo/v1/commentary?id=1546598" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/espncricinfo/v1/commentary",
params={"id": "1546598"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/espncricinfo/v1/commentary");
url.searchParams.set("id", "1546598");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/espncricinfo/v1/commentary", "id", "1546598")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "ESPNcricinfo" and "ESPNcricinfo ball-by-ball commentary (latest)".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 921 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for ESPNcricinfo data
- Public data only: no ESPNcricinfo login, cookies or account needed
- One key and one response shape for ESPNcricinfo and 920 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- No rate limits: run as many calls in parallel as you need
- Live status for every endpoint
API.SH vs the official ESPNcricinfo API
ESPNcricinfo has no public developer API or API key program; its site runs on internal endpoints, and licensed cricket feeds come from vendors such as Sportradar and Entity Sport. Free options are community Python and R packages that read the site and break when it changes. API.SH reads espncricinfo.com's public pages for you and returns documented JSON.
Instead of maintaining a Python or R scraper for Cricinfo pages and Statsguru tables or comparing Apify actors, API.SH gives you one key and documented routes for scores, scorecards and stats.
ESPNcricinfo API questions
What ESPNcricinfo data can I get?+
Live matches (/espncricinfo/v1/live), fixtures (/espncricinfo/v1/fixtures), results (/espncricinfo/v1/results), match summaries (/espncricinfo/v1/match), full scorecards (/espncricinfo/v1/scorecard), latest ball-by-ball commentary (/espncricinfo/v1/commentary), playing XIs (/espncricinfo/v1/playing-xi), series overviews, matches, points tables and squads (/espncricinfo/v1/series and its sub-routes), team pages (/espncricinfo/v1/team), ICC rankings (/espncricinfo/v1/rankings), Statsguru player stats (/espncricinfo/v1/player/stats) and records (/espncricinfo/v1/records).
How much does the ESPNcricinfo API cost?+
Most ESPNcricinfo endpoints cost 1 credit per call; /espncricinfo/v1/fixtures and /espncricinfo/v1/results cost 2 credits. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /espncricinfo/v1/commentary at 1 credit each.
Is there an official ESPNcricinfo API or API key?+
No. ESPNcricinfo does not issue API keys or publish developer documentation. API.SH documents every route and parameter at https://api.sh/docs.
Do I need an ESPNcricinfo account or login?+
No. Every route reads public espncricinfo.com pages and Statsguru tables. No account is used.
Can I get Statsguru data through the API?+
Yes. /espncricinfo/v1/player/stats returns a player's career averages and summary splits for any format, and /espncricinfo/v1/records runs Statsguru's records queries with ordering and filters, paged.
Can I use it from Python?+
Yes. Any HTTP client works: send your key in the x-api-key header and read JSON. There are also JS and Python SDKs.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /espncricinfo/v1/live, then /espncricinfo/v1/scorecard with a match id. Every parameter is in the docs at https://api.sh/docs. You can also use the SDKs, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.
Does the ESPNcricinfo API have a rate limit?+
No. API.SH puts no rate limit on your key: send as many ESPNcricinfo calls in parallel as you need and pay only for the calls that run. If ESPNcricinfo itself slows down, the call returns 503 with a retry-after header and is not charged.