ESPNcricinfo+API.SH

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
ESPNcricinfo ball-by-ball commentary (latest)
GET https://api.api.sh/espncricinfo/v1/commentary
1 credit · $1 per 1,000 calls

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.

Rankings and team pages

Track ICC team and player rankings for Tests, ODIs and T20Is, men and women, alongside each team's recent form and top players.

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

Posts and media1
ESPNcricinfo live and current matches
/espncricinfo/v1/live
params none required +6 optionaldocstry
$1 · $2 PAYG
1 credit
Comments and reviews1
ESPNcricinfo ball-by-ball commentary (latest)
/espncricinfo/v1/commentary
params iddocstry
$1 · $2 PAYG
1 credit
Products, listings and places2
ESPNcricinfo player career statistics
/espncricinfo/v1/player/stats
params id +3 optionaldocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo full scorecard
/espncricinfo/v1/scorecard
params iddocstry
$1 · $2 PAYG
1 credit
More data11
ESPNcricinfo upcoming fixtures
/espncricinfo/v1/fixtures
params none required +6 optionaldocstry
$2 · $4 PAYG
2 credits
ESPNcricinfo match summary
/espncricinfo/v1/match
params iddocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo playing XI and squads of a match
/espncricinfo/v1/playing-xi
params iddocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo ICC rankings
/espncricinfo/v1/rankings
params none required +3 optionaldocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo Statsguru records
/espncricinfo/v1/records
params none required +14 optionaldocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo recent results
/espncricinfo/v1/results
params none required +6 optionaldocstry
$2 · $4 PAYG
2 credits
ESPNcricinfo series overview
/espncricinfo/v1/series
params iddocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo series fixtures and results
/espncricinfo/v1/series/matches
params id +3 optionaldocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo series squads
/espncricinfo/v1/series/squads
params iddocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo points table
/espncricinfo/v1/series/standings
params iddocstry
$1 · $2 PAYG
1 credit
ESPNcricinfo team
/espncricinfo/v1/team
params iddocstry
$1 · $2 PAYG
1 credit

Call the ESPNcricinfo API

ESPNcricinfo ball-by-ball commentary (latest): GET https://api.api.sh/espncricinfo/v1/commentary

curl "https://api.api.sh/espncricinfo/v1/commentary?id=1546598" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 921 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for 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.

More sports APIs all sports APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 921 platforms.
Get a free API key