# Cricket Scores Scraper - Live Scores, Scorecards & Results (`scrolahdata/cricket-scores-scraper`) Actor

Cricket scores API: live cricket scores, results, fixtures and full scorecards for Tests, ODIs, T20Is, IPL, Big Bash, PSL, The Hundred and domestic cricket. Batting and bowling figures, innings, venue, result. $1 per 1,000 matches.

- **URL**: https://apify.com/scrolahdata/cricket-scores-scraper.md
- **Developed by:** [Leping Gong](https://apify.com/scrolahdata) (community)
- **Categories:** Other, Automation, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 matches

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Cricket Scores Scraper: Live Scores, Scorecards & Results

Get **live cricket scores, results and fixtures** for every match ESPN Cricinfo covers: **Tests, ODIs, T20Is, IPL, Big Bash, PSL, The Hundred, CPL, county and domestic cricket**. Each match comes with both team scores, innings (runs, wickets, overs), result text, winner, venue and links. Switch on **full scorecards** to get every batter (runs, balls, 4s, 6s, strike rate, not out) and every bowler (overs, maidens, runs, wickets, economy, dots) for every innings. No API key, no login.

### What can it do?

- 🏏 **Live cricket scores**: matches in progress with current innings and situation ("India trail by 209 runs")
- ✅ **Results**: final scores, result text ("Zimbabwe won by 57 runs") and winner
- 📅 **Fixtures**: upcoming matches with start time and venue
- 📋 **Full scorecards**: batting and bowling figures for every innings (optional)
- 🔎 **Filters**: date range, series / league (IPL, Big Bash, Ashes ...), teams, format (Test, ODI, T20 ...), international only, live / results / fixtures
- 📈 **History**: any date range up to one year per run

### Example input

Yesterday's and today's matches (default):

```json
{ "dateFrom": "yesterday", "dateTo": "today" }
```

IPL results with full scorecards:

```json
{
  "series": ["Indian Premier League"],
  "dateFrom": "2026-03-20",
  "dateTo": "2026-05-31",
  "matchStatus": "final",
  "includeScorecard": true
}
```

International fixtures for the next two weeks:

```json
{ "dateFrom": "today", "dateTo": "14 days", "matchStatus": "scheduled", "internationalOnly": true }
```

Dates accept `YYYY-MM-DD`, `today`, `yesterday`, `tomorrow` or relative values like `-7 days` and `14 days`.

### Output

```json
{
  "type": "match",
  "matchId": "1539442",
  "series": "India tour of New Zealand 2026/27",
  "name": "New Zealand v India",
  "matchNumber": "1st Test",
  "format": "Test",
  "international": true,
  "date": "2026-11-18T22:00Z",
  "status": "Stumps",
  "state": "in",
  "session": "Day 2",
  "result": "India trail by 209 runs",
  "team1": "New Zealand",
  "team1Score": "368",
  "team2": "India",
  "team2Score": "159/1 (39 ov)",
  "innings": [
    {"inning": 1, "team": "New Zealand", "runs": 368, "wickets": 10, "overs": 121.0, "note": "all out"},
    {"inning": 2, "team": "India", "runs": 159, "wickets": 1, "overs": 39.0, "current": true}
  ],
  "venue": "Basin Reserve, Wellington",
  "country": "New Zealand"
}
```

With *Add full scorecards*, each match also has `scorecard`: one entry per innings with `battingTeam`, `bowlingTeam`, `batting` (`player`, `runs`, `balls`, `fours`, `sixes`, `strikeRate`, `notOut`) and `bowling` (`player`, `overs`, `maidens`, `runs`, `wickets`, `economy`, `dots`, `wides`, `noBalls`).

The *Matches* table view shows date, series, format, both scores, status, result and venue. Export to JSON, CSV, Excel or Google Sheets, or call it via API.

### Use cases

- **Cricket apps and websites**: live score widgets, results pages and fixture lists
- **Fantasy cricket**: player batting and bowling figures for every match
- **Betting and analytics models**: historical results and scorecards by format, series and venue
- **Club and media dashboards**: schedule a run every few minutes for live scores
- **AI agents and chatbots**: fresh cricket data for "what's the score?" answers

### Pricing

Pay per match: **$1 per 1,000 matches**, or $3 per 1,000 matches with full scorecards. Fixtures, results and live matches are all the same price. Set *Maximum cost per run* to cap spending.

### More from ScrolahData

- [ESPN Sports Scraper](https://apify.com/scrolahdata/espn-sports-scraper): live scores, box scores and standings for NFL, NBA, MLB, NHL, soccer, F1, UFC, golf and tennis
- [Prediction Markets Scraper](https://apify.com/scrolahdata/prediction-markets-scraper): Polymarket and Kalshi odds, including sports markets
- [YouTube Scraper](https://apify.com/scrolahdata/youtube-scraper): highlights, channels and video stats

### FAQ

**Where does the data come from?** From the public cricket score feeds behind ESPN Cricinfo. Scorecard and match page links are included in every row.

**How fresh are live scores?** As fresh as the feed at the moment of the run, usually within a minute. Schedule the Actor every few minutes for live tracking.

**Why do some matches have no scorecard?** Fixtures have not started yet, and a few minor matches are covered with scores only.

**Is it legal?** It collects publicly available match data. Use it responsibly and in line with applicable law and the source's terms.

**Need a feature?** Open an issue in the *Issues* tab, we answer fast.

# Actor input Schema

## `dateFrom` (type: `string`):

YYYY-MM-DD, today, yesterday or relative like -7 days. Default: yesterday.

## `dateTo` (type: `string`):

YYYY-MM-DD, today, tomorrow or relative like 14 days (future = fixtures). Default: today.

## `matchStatus` (type: `string`):

live = in progress, final = results only, scheduled = upcoming fixtures.

## `series` (type: `array`):

Optional: only these series or leagues (text match), e.g. IPL, Big Bash, Pakistan Super League, The Hundred, Ashes, World Cup, County Championship.

## `teams` (type: `array`):

Optional: only matches of these teams (name or abbreviation), e.g. India, AUS, Mumbai Indians.

## `formats` (type: `array`):

Optional: only these match formats.

## `internationalOnly` (type: `boolean`):

Only Tests, ODIs and T20Is between national teams.

## `includeScorecard` (type: `boolean`):

Batting (runs, balls, 4s, 6s, dismissal) and bowling (overs, maidens, runs, wickets, economy) for every innings. Charged as a scorecard.

## `maxMatches` (type: `integer`):

0 = no limit.

## Actor input object example

```json
{
  "dateFrom": "yesterday",
  "dateTo": "today",
  "matchStatus": "all",
  "internationalOnly": false,
  "includeScorecard": false,
  "maxMatches": 0
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "dateFrom": "yesterday",
    "dateTo": "today"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrolahdata/cricket-scores-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "dateFrom": "yesterday",
    "dateTo": "today",
}

# Run the Actor and wait for it to finish
run = client.actor("scrolahdata/cricket-scores-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "dateFrom": "yesterday",
  "dateTo": "today"
}' |
apify call scrolahdata/cricket-scores-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrolahdata/cricket-scores-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QQeToIeF5JDtiUZZK/builds/A5UbvooFCZN20eROv/openapi.json
