# Cricbuzz Scraper — Live Cricket Scores, Scorecards & Rankings (`he_work/cricbuzz-scraper`) Actor

Scrape Cricbuzz: live, recent and upcoming cricket matches, full scorecards (batting, bowling, fall of wickets, partnerships), ball-by-ball commentary, schedules, series fixtures, ICC rankings and player career stats. Tests, ODIs, T20s, IPL and domestic.

- **URL**: https://apify.com/he_work/cricbuzz-scraper.md
- **Developed by:** [HE Work](https://apify.com/he_work) (community)
- **Categories:** Sports, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.28 / 1,000 rows

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

## Cricbuzz Scraper — Live Cricket Scores, Scorecards & Rankings

> ✅ **Checked daily.** An automated test runs this Actor on the Apify cloud every day and checks that it still returns real data, so if the website changes and something breaks, it's caught the same day and fixed.

Scrape **Cricbuzz** into clean JSON, CSV or Excel. It covers live, recent and upcoming matches, full scorecards, ball-by-ball commentary, schedules, series fixtures, **ICC rankings** and **player career stats**. Tests, ODIs, T20Is, IPL, BBL, PSL, domestic and women's cricket are all included.

### What you get

- **Matches** (live / recent / upcoming): series, match, format, state, result line, both teams with scores ("185 (40.2)", "329 & 387"), innings totals, venue, city, start time, links.
- **Full scorecards**:
  - Toss and result (winner, margin, runs/wickets).
  - Players of the match, live win probability.
  - Every innings: total, run rate and extras.
  - Batting: dismissal, runs, balls, 4s, 6s, dots, minutes, strike rate.
  - Bowling: overs, maidens, runs, wickets, economy, no-balls, wides.
  - Fall of wickets and partnerships.
- **Ball-by-ball commentary** of live matches: over.ball, text, events (FOUR / SIX / WICKET), batter and bowler.
- **Schedules**: upcoming international, domestic, league and women's fixtures by date.
- **Series**: every fixture and result of a series (e.g. a bilateral tour or an IPL season).
- **ICC rankings**: men and women; batting, bowling, all-rounders and teams; Test, ODI and T20I. Each row has rank, rating, country and trend.
- **Player profiles**:
  - Role, batting and bowling style, date and place of birth, teams.
  - Current and best ICC ranks.
  - Batting and bowling career tables per format (Test / ODI / T20 / IPL), recent scores.

### Use cases

- **Fantasy cricket** (Dream11 and similar): recent form, scorecards and player stats before you pick a team.
- **Betting and odds models**: live scores and win probability on a schedule.
- **Apps, bots and websites**: a live-score feed or match alerts for Discord, Telegram or WhatsApp.
- **Media and analysts**: rankings, career stats and full scorecards for articles and dashboards.

### Example input

```json
{
  "matchLists": ["live", "recent"],
  "categories": ["international"],
  "includeScorecards": true,
  "maxMatches": 10
}
```

### Example output

One match row, one scorecard (shortened to the first innings, 2 batters, 1 bowler) and one ranking row from real runs:

```json
[
  {
    "type": "match",
    "match_id": 177701,
    "series_id": 13430,
    "series": "Nepal Premier League 2026",
    "match": "14th Match",
    "format": "T20",
    "category": "League",
    "state": "Complete",
    "status": "Lumbini Lions won by 16 runs",
    "start_time": "2026-11-05T06:45:00Z",
    "end_time": "2026-11-05T10:15:00Z",
    "team1": "Lumbini Lions",
    "team1_short": "LUL",
    "team1_id": 2940,
    "team2": "Janakpur Bolts",
    "team2_short": "JAB",
    "team2_id": 2918,
    "team1_score": "149/8 (19.6 ov)",
    "team2_score": "133/8 (19.6 ov)",
    "team1_innings": [
      {
        "innings": 1,
        "runs": 149,
        "wickets": 8,
        "overs": 19.6,
        "declared": false,
        "follow_on": false
      }
    ],
    "team2_innings": [
      {
        "innings": 1,
        "runs": 133,
        "wickets": 8,
        "overs": 19.6,
        "declared": false,
        "follow_on": false
      }
    ],
    "batting_team_id": 2940,
    "venue": "Tribhuvan University International Cricket Ground",
    "city": "Kirtipur",
    "venue_timezone": "+05:45",
    "url": "https://www.cricbuzz.com/live-cricket-scores/177701/lul-vs-jab-14th-match-nepal-premier-league-2026",
    "scorecard_url": "https://www.cricbuzz.com/live-cricket-scorecard/177701/lul-vs-jab-14th-match-nepal-premier-league-2026",
    "list": "recent",
    "scraped_at": "2026-11-06T07:13:18Z"
  },
  {
    "type": "scorecard",
    "match_id": 161245,
    "series_id": 12543,
    "series": "India tour of New Zealand 2026",
    "match": "1st ODI",
    "format": "ODI",
    "category": "International",
    "state": "Complete",
    "status": "India won by 5 wkts  -  2nd inns reduced to 32 overs - DLS Target 143",
    "complete": true,
    "start_time": "2026-11-04T02:00:00Z",
    "end_time": "2026-11-04T09:40:21Z",
    "day_night": false,
    "team1": "New Zealand",
    "team1_short": "NZ",
    "team1_id": 13,
    "team2": "India",
    "team2_short": "IND",
    "team2_id": 2,
    "toss_winner": "India",
    "toss_decision": "Bowling",
    "winner": "India",
    "win_margin": 5,
    "win_by": "wickets",
    "result_type": "win",
    "players_of_match": [
      "Anshul Kamboj"
    ],
    "players_of_series": null,
    "win_probability": null,
    "venue": "Eden Park",
    "city": "Auckland",
    "innings": [
      {
        "innings": 1,
        "batting_team": "New Zealand",
        "batting_team_short": "NZ",
        "bowling_team": "India",
        "runs": 185,
        "wickets": 10,
        "overs": 40.2,
        "run_rate": 4.59,
        "declared": false,
        "follow_on": false,
        "extras": {
          "byes": 0,
          "legByes": 4,
          "noBalls": 1,
          "penalty": 0,
          "total": 13,
          "wides": 8
        },
        "batting": [
          {
            "player_id": 8549,
            "name": "Will Young",
            "captain": false,
            "keeper": false,
            "dismissal": "c Shreyas Iyer b Arshdeep Singh",
            "wicket_type": "CAUGHT",
            "runs": 9,
            "balls": 11,
            "fours": 2,
            "sixes": 0,
            "dots": 8,
            "minutes": 19,
            "strike_rate": 81.82
          },
          {
            "player_id": 9443,
            "name": "Tim Seifert",
            "captain": false,
            "keeper": false,
            "dismissal": "c (sub)Ruturaj Gaikwad b Gurnoor Brar",
            "wicket_type": "CAUGHT",
            "runs": 38,
            "balls": 43,
            "fours": 3,
            "sixes": 2,
            "dots": 27,
            "minutes": 74,
            "strike_rate": 88.37
          }
        ],
        "bowling": [
          {
            "player_id": 13217,
            "name": "Arshdeep Singh",
            "overs": 10,
            "maidens": 0,
            "runs": 70,
            "wickets": 4,
            "economy": 7,
            "no_balls": 0,
            "wides": 2,
            "dots": 0
          }
        ],
        "fall_of_wickets": [
          {
            "wicket": 1,
            "player_id": 8549,
            "name": "Will Young",
            "score": 22,
            "over": 4.3
          },
          {
            "wicket": 2,
            "player_id": 10694,
            "name": "Henry Nicholls",
            "score": 40,
            "over": 8.3
          }
        ],
        "partnerships": [
          {
            "batter1": "Will Young",
            "batter1_runs": 9,
            "batter2": "Tim Seifert",
            "batter2_runs": 13,
            "runs": 22,
            "balls": 27
          }
        ]
      }
    ],
    "url": "https://www.cricbuzz.com/live-cricket-scorecard/161245/match",
    "scraped_at": "2026-11-06T07:12:58Z"
  },
  {
    "type": "ranking",
    "gender": "men",
    "category": "batting",
    "format": "ODI",
    "rank": 1,
    "name": "Shubman Gill",
    "country": "India",
    "rating": 841,
    "points": 841,
    "matches": null,
    "trend": null,
    "player_id": 11808,
    "team_id": null,
    "url": "https://www.cricbuzz.com/profiles/11808/shubman-gill",
    "scraped_at": "2026-11-06T07:13:22Z"
  }
]
```

### How it compares

| | This Actor | Typical alternative |
|---|---|---|
| Fields per result | 75 (see *Example output*) | Varies by actor |
| Freshness | Read live from the source when the run starts | Varies |
| Reliability | Tested daily by an automated run on the Apify cloud (see the top of this page) | — |
| Price | $1.50 per 1,000 rows | No comparable Actor on the Apify Store (6 Nov 2026); the alternative is the source's own API or export, or collecting it by hand |

### Pricing

Pay per result, no monthly fee:

- **$1.50 per 1,000 rows**: One match, fixture, commentary ball or ranking entry.
- **$2.00 per 1,000 scorecard or player profiles** (add-on): One full match scorecard or one player profile with career stats.
- $0.001 per run (start).

Bronze plans pay 5% less, Silver 10% less, Gold and above 15% less.

**Examples:** 1,000 rows = $1.50; 1,000 rows plus 1,000 scorecard or player profiles = $3.50; 10,000 = $15.00.

### FAQ

**How fresh is the data?** It's read from Cricbuzz when the run starts. For live matches, run it on a schedule (e.g. every 5 minutes) or start it through the API when you need an update.

**Do I need an API key?** No. It reads the public Cricbuzz website.

**How do I find match, series or player IDs?** They're the numbers in Cricbuzz URLs: `cricbuzz.com/live-cricket-scores/173060/...` is match 173060, and `cricbuzz.com/profiles/1413/virat-kohli` is player 1413. Paste the URL or just the number.

**Is the full ball-by-ball commentary included?** You get the latest balls shown on the match page (usually the last few overs). For a complete match, run it during the match on a schedule.

# Actor input Schema

## `matchLists` (type: `array`):

Cricbuzz match lists to scrape: one row per match with teams, scores, status, venue and links.

## `categories` (type: `array`):

Only these categories (empty = all). Applies to match lists and series.

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

Only these formats (empty = all).

## `includeScorecards` (type: `boolean`):

Also scrape the full scorecard of every live / recent / series match found: batting, bowling, extras, fall of wickets, partnerships, toss, result, player of the match, win probability.

## `includeCommentary` (type: `boolean`):

Also scrape the latest ball-by-ball commentary of those matches (the balls shown on the match page, newest first).

## `matchUrls` (type: `array`):

Cricbuzz match pages or match IDs (e.g. 173060): the full scorecard of each (plus commentary if enabled).

## `seriesUrls` (type: `array`):

Cricbuzz series pages or IDs: every match of the series (fixtures and results).

## `schedules` (type: `array`):

Upcoming fixtures from Cricbuzz's schedule pages, one row per match with date, teams and venue.

## `rankingCategories` (type: `array`):

ICC ranking tables to scrape (rank, name, country, rating, trend).

## `rankingGender` (type: `array`):

Which ICC rankings.

## `rankingFormats` (type: `array`):

Formats for the rankings (empty = all three).

## `playerUrls` (type: `array`):

Cricbuzz player profiles or player IDs (e.g. 1413 = Virat Kohli): bio, batting and bowling career stats per format, ranking history and recent form.

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

Cap per match list, series or schedule.

## `maxResults` (type: `integer`):

Hard cap for the whole run (0 = no cap).

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy by default; failed pages are retried on fresh IPs.

## Actor input object example

```json
{
  "matchLists": [
    "live"
  ],
  "categories": [
    "international"
  ],
  "formats": [
    "T20"
  ],
  "includeScorecards": true,
  "includeCommentary": true,
  "matchUrls": [
    "https://www.cricbuzz.com/live-cricket-scores/173060/wi-vs-ban-2nd-test-west-indies-tour-of-bangladesh-2026"
  ],
  "seriesUrls": [
    "https://www.cricbuzz.com/cricket-series/13211/west-indies-tour-of-bangladesh-2026/matches"
  ],
  "schedules": [
    "international"
  ],
  "rankingCategories": [
    "batting",
    "teams"
  ],
  "rankingGender": [
    "men",
    "women"
  ],
  "rankingFormats": [
    "odi"
  ],
  "playerUrls": [
    "https://www.cricbuzz.com/profiles/1413/virat-kohli"
  ],
  "maxMatches": 50,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per match, scorecard, ball, ranking entry or player.

## `report` (type: `string`):

Rows per section and request counts.

# 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 = {
    "matchLists": [
        "live",
        "recent"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("he_work/cricbuzz-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 = { "matchLists": [
        "live",
        "recent",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("he_work/cricbuzz-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 '{
  "matchLists": [
    "live",
    "recent"
  ]
}' |
apify call he_work/cricbuzz-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,he_work/cricbuzz-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/D54MsWyvV5bDEam3l/builds/WrLj6xeQ7oknlbeoG/openapi.json
