Cricket API — Live Scores & Ball-by-Ball Data for Developers (2026)
Cricket API 11 Nov 2026

Cricket API — Live Scores & Ball-by-Ball Data for Developers (2026)

Get live cricket scores and ball-by-ball data via a fast REST JSON API. CricketLiveAPI covers 900+ leagues, 80+ countries — live scores, scorecard, commentary, fantasy points, ICC rankings, and webhooks. Free tier available, no credit card required.

CricketLiveApi Team
CricketLiveApi Team

Cricket API — Live Scores & Ball-by-Ball Data

A production-grade cricket API needs to deliver two things above everything else: live scores updated ball by ball, and ball-by-ball data structured cleanly enough to power a commentary feed, a fantasy points engine, or a real-time analytics dashboard — all without scraping, parsing HTML, or stitching together multiple services.

CricketLiveAPI is a REST JSON API that covers 900+ tournaments across 80+ countries. Every match is available through a consistent set of endpoints from the first ball to the final result. This guide walks through every data layer available and shows you exactly how to integrate it.

Live Cricket Scores API

The live matches endpoint returns every ongoing match with current score, batting team, run rate, and match state — updated every 3–5 seconds:

GET https://cricketliveapi.com/api/v1/cricket/matches/live
Authorization: Bearer YOUR_API_KEY

{
  "success": true,
  "type": "live",
  "count": 4,
  "data": [
    {
      "match_id": 173060,
      "series_name": "India tour of England, 2026",
      "match_desc": "3rd Test, Day 2",
      "format": "TEST",
      "venue": "Headingley, Leeds",
      "first_team": {
        "name": "India",
        "score": "342/6 (87.4 Ov)",
        "team_image_url": "https://cricketliveapi.com/images/team_images/776162.jpg"
      },
      "second_team": {
        "name": "England",
        "score": "289 (94.2 Ov)",
        "team_image_url": "https://cricketliveapi.com/images/team_images/776177.jpg"
      },
      "status": "India lead by 53 runs",
      "state": "live"
    }
  ]
}

The same match_id is the key for every downstream endpoint — scorecard, ball-by-ball commentary, highlights, graphs, and fantasy data all accept the same identifier.

Ball-by-Ball Data API

The commentary endpoint at /api/v1/cricket/commentary/{matchId} returns every delivery with over number, ball text, runs scored, wicket flag, and player metadata. This is the raw ball-by-ball data feed:

GET https://cricketliveapi.com/api/v1/cricket/commentary/173060
Authorization: Bearer YOUR_API_KEY

{
  "success": true,
  "data": {
    "match_id": 173060,
    "innings": 2,
    "commentary": [
      {
        "over": "87.4",
        "ball_text": "Good length delivery outside off, driven through covers for FOUR",
        "runs": 4,
        "event": "boundary",
        "batsman": "Virat Kohli",
        "bowler": "James Anderson",
        "score_after": "342/6"
      },
      {
        "over": "87.3",
        "ball_text": "Short ball, pulled to deep square leg — OUT! Caught",
        "runs": 0,
        "event": "WICKET",
        "batsman": "Rohit Sharma",
        "bowler": "James Anderson",
        "score_after": "342/6"
      },
      {
        "over": "87.2",
        "ball_text": "Full toss on leg stump, flicked to fine leg for a single",
        "runs": 1,
        "event": "run",
        "batsman": "Rohit Sharma",
        "bowler": "James Anderson",
        "score_after": "342/5"
      }
    ]
  }
}

The event field flags every delivery type: boundary, SIX, WICKET, run, dot, wide, no-ball, bye, leg-bye. This lets you build push notifications, highlight reels, or fantasy point triggers without parsing free-form text.

Full Scorecard API

The scorecard endpoint at /api/v1/cricket/scorecard/{matchId} returns complete innings data — every batter, every bowler, fall of wickets, extras, and partnerships:

GET /api/v1/cricket/scorecard/173060

{
  "innings": [
    {
      "team": "England",
      "total": "289",
      "wickets": 10,
      "overs": "94.2",
      "extras": { "wides": 8, "no_balls": 3, "byes": 4, "leg_byes": 6 },
      "batters": [
        {
          "name": "Zak Crawley",
          "runs": 78,
          "balls": 112,
          "fours": 11,
          "sixes": 0,
          "sr": 69.6,
          "dismissal": "c Kohli b Bumrah"
        },
        {
          "name": "Ben Duckett",
          "runs": 54,
          "balls": 67,
          "fours": 8,
          "sixes": 1,
          "sr": 80.6,
          "dismissal": "lbw b Siraj"
        }
      ],
      "bowlers": [
        {
          "name": "Jasprit Bumrah",
          "overs": "22",
          "maidens": 6,
          "runs": 54,
          "wickets": 4,
          "econ": 2.45
        },
        {
          "name": "Mohammed Siraj",
          "overs": "20",
          "maidens": 3,
          "runs": 71,
          "wickets": 3,
          "econ": 3.55
        }
      ],
      "fall_of_wickets": [
        { "wicket": 1, "score": "112", "over": "28.4", "batter": "Zak Crawley" },
        { "wicket": 2, "score": "156", "over": "41.1", "batter": "Ben Duckett" }
      ]
    }
  ]
}

Live Mini-Score — Current Batter & Bowler

For a compact live widget showing only the current batter, bowler, and last few balls, use the overs endpoint at /api/v1/cricket/overs/{matchId}:

GET /api/v1/cricket/overs/173060

{
  "data": {
    "batsman1": { "name": "Virat Kohli",   "runs": 143, "balls": 198, "fours": 14, "sixes": 1 },
    "batsman2": { "name": "KL Rahul",      "runs": 42,  "balls": 78,  "fours": 5,  "sixes": 0 },
    "bowler":   { "name": "James Anderson","overs": "22", "runs": 67, "wickets": 2 },
    "last_5_balls": ["1", "4", "W", "0", "1"],
    "current_over_runs": 6,
    "run_rate": 3.91,
    "req_run_rate": null
  }
}

Match Highlights API

The highlights endpoint at /api/v1/cricket/highlights/{matchId} returns a structured list of key moments — wickets, sixes, fours, and over breaks — with batsman, bowler, and over reference attached to each event:

GET /api/v1/cricket/highlights/177701

{
  "success": true,
  "data": {
    "total": 28,
    "highlights": [
      {
        "over": 19.6,
        "event": "over-break,WICKET",
        "bat_team": "MI",
        "batsman": "Rohit Sharma",
        "bowler": "Jasprit Bumrah"
      },
      {
        "over": 18.4,
        "event": "SIX",
        "bat_team": "MI",
        "batsman": "Hardik Pandya",
        "bowler": "Pat Cummins"
      },
      {
        "over": 17.1,
        "event": "boundary",
        "bat_team": "MI",
        "batsman": "Suryakumar Yadav",
        "bowler": "Pat Cummins"
      }
    ]
  }
}

Momentum Graphs & Win Probability

The graphs endpoint at /api/v1/cricket/graphs/{matchId} returns pre-computed chart data ready to drop into any charting library — runs progression, run rate per over, and ball-by-ball win probability:

GET /api/v1/cricket/graphs/177701

{
  "data": {
    "matchId": 177701,
    "team1Name": "MI",
    "team2Name": "CSK",
    "runsChartData":    [{ "over": 1, "team1": 8,  "team2": 0  }],
    "runRateChartData": [{ "over": 1, "team1": 8.0,"team2": 0  }],
    "runsPerOverData":  [{ "over": 1, "team1": 8,  "team2": 6, "isTeam1Wicket": false }],
    "winProbability":   { "1": [{ "over": 0, "team1": 50, "team2": 50 }] }
  }
}

Fantasy Cricket API — Live Points Ball by Ball

Fantasy points update after every delivery. The fantasy layer includes six dedicated endpoints:

  • GET /api/v1/fantasy/matches — matches eligible for fantasy contests
  • GET /api/v1/fantasy/players/{matchId} — player pool with credits and roles
  • GET /api/v1/fantasy/playing-xi/{matchId} — confirmed playing XI once announced
  • GET /api/v1/fantasy/player-points/{matchId} — live fantasy points per player
  • GET /api/v1/fantasy/live-score/{matchId} — fantasy-optimised live score feed
  • GET /api/v1/fantasy/points-engine — scoring rules for your platform
GET /api/v1/fantasy/player-points/173060

{
  "players": [
    {
      "name": "Virat Kohli",
      "role": "BAT",
      "fantasy_points": 87.5,
      "breakdown": {
        "runs_points": 71.5,
        "boundary_bonus": 14.0,
        "milestone_bonus": 2.0
      }
    },
    {
      "name": "Jasprit Bumrah",
      "role": "BOWL",
      "fantasy_points": 112.0,
      "breakdown": {
        "wicket_points": 75.0,
        "economy_bonus": 25.0,
        "maiden_bonus": 12.0
      }
    }
  ]
}

ICC Rankings API

ICC rankings for men and women across batting, bowling, all-rounder, and teams in Test, ODI, and T20 formats:

GET /api/v1/cricket/icc-rankings/batting/t20i

{
  "data": {
    "category": "batting",
    "format": "t20i",
    "count": 15,
    "rankings": [
      { "rank": "1", "id": "3827",  "name": "Suryakumar Yadav", "country": "India",     "rating": "887" },
      { "rank": "2", "id": "4428",  "name": "Travis Head",       "country": "Australia", "rating": "841" },
      { "rank": "3", "id": "1413",  "name": "Babar Azam",        "country": "Pakistan",  "rating": "820" }
    ]
  }
}

Webhook Push — Real-Time Ball-by-Ball Events

Instead of polling every few seconds, register a webhook to receive ball-by-ball events pushed directly to your server the moment they happen:

POST /api/v1/webhooks
{
  "url": "https://yourapp.com/cricket-webhook",
  "events": ["score_update", "wicket", "over_complete", "match_end"]
}

// Your server receives (HMAC-SHA256 signed):
{
  "event": "wicket",
  "match_id": 173060,
  "data": {
    "over": "87.3",
    "batsman": "Rohit Sharma",
    "bowler": "James Anderson",
    "wicket_type": "caught",
    "score": "342/6 (87.3 Ov)"
  }
}

Supported webhook events: score_update, wicket, over_complete, innings_change, match_start, match_end, toss_update.

Quick Start — Live Cricket Scores in 60 Seconds

JavaScript / Node.js

npm install cricketliveapi

const cricket = require('cricketliveapi');
const api = cricket.createClient({ apiKey: process.env.CRICKETLIVEAPI_KEY });

const matches = await api.getLiveMatches();
const list = Array.isArray(matches.data) ? matches.data : [];
list.forEach(m => {
    console.log(`${m.first_team.name} ${m.first_team.score} vs ${m.second_team.name} ${m.second_team.score}`);
    console.log(`Status: ${m.status}\n`);
});

Python

import requests

API_KEY = "your_api_key_here"

# Live scores
r = requests.get(
    "https://cricketliveapi.com/api/v1/cricket/matches/live",
    headers={"Authorization": f"Bearer {API_KEY}"}
)
for match in r.json()["data"]["matches"]:
    t1 = match["first_team"]
    t2 = match["second_team"]
    print(f"{t1['name']} {t1['score']} vs {t2['name']} {t2['score']}")
    print(f"  {match['status']}\n")

# Ball-by-ball commentary
match_id = 173060
r2 = requests.get(
    f"https://cricketliveapi.com/api/v1/cricket/commentary/{match_id}",
    headers={"Authorization": f"Bearer {API_KEY}"}
)
for ball in r2.json()["data"]["commentary"][:5]:
    print(f"Over {ball['over']}: {ball['ball_text']} ({ball['runs']} runs)")

PHP / Laravel

use Illuminate\Support\Facades\Http;

$key = env('CRICKETLIVEAPI_KEY');

// Live scores
$matches = Http::withToken($key)
    ->get('https://cricketliveapi.com/api/v1/cricket/matches/live')
    ->json('data.matches', []);

foreach ($matches as $m) {
    echo $m['first_team']['name'] . ' ' . $m['first_team']['score'];
    echo ' vs ';
    echo $m['second_team']['name'] . ' ' . $m['second_team']['score'];
    echo PHP_EOL;
}

// Ball-by-ball commentary
$matchId = 173060;
$commentary = Http::withToken($key)
    ->get("https://cricketliveapi.com/api/v1/cricket/commentary/{$matchId}")
    ->json('data.commentary', []);

foreach (array_slice($commentary, 0, 5) as $ball) {
    echo "Over {$ball['over']}: {$ball['ball_text']}\n";
}

Android (Java)

// build.gradle
implementation 'com.github.Techvercore:cricketliveapi-android-sdk:1.0.0'

// Usage
CricketLiveApiClient client = new CricketLiveApiClient.Builder()
    .apiKey(BuildConfig.CRICKET_API_KEY)
    .build();

// Live matches
client.getLiveMatches().enqueue(new Callback() {
    @Override
    public void onResponse(Call call, Response response) {
        ApiResponse data = response.body();
        // render live scores
    }
    @Override public void onFailure(Call call, Throwable t) {}
});

// Ball-by-ball commentary
client.getCommentary(173060).enqueue(new Callback() {
    @Override
    public void onResponse(Call call, Response response) {
        // render commentary feed
    }
    @Override public void onFailure(Call call, Throwable t) {}
});

Player Statistics API

Player profiles at /api/v1/cricket/player/{playerId} include biographical data, batting and bowling career stats across all formats, and recent form:

GET /api/v1/cricket/player/11808

{
  "data": {
    "player_id": 11808,
    "name": "Shubman Gill",
    "country": "India",
    "role": "Batsman",
    "batting": {
      "test": { "matches": 32, "runs": 2341, "avg": 46.8, "sr": 52.1, "hundreds": 6, "fifties": 11 },
      "odi":  { "matches": 58, "runs": 3102, "avg": 58.5, "sr": 101.2,"hundreds": 9, "fifties": 14 },
      "t20i": { "matches": 41, "runs": 1287, "avg": 37.9, "sr": 148.6,"hundreds": 2, "fifties": 9  }
    }
  }
}

Schedule & Series API

The schedule endpoint returns upcoming fixtures months ahead. The series endpoints return points tables, match lists, and archive data for any tournament:

// Upcoming matches
GET /api/v1/cricket/matches/upcoming

// Series schedule
GET /api/v1/cricket/series/{seriesId}/matches

// Points table
GET /api/v1/cricket/series/{seriesId}/points-table

{
  "data": {
    "series": "IPL 2026",
    "standings": [
      { "rank": 1, "team": "Mumbai Indians",    "played": 14, "won": 10, "lost": 4, "pts": 20, "nrr": "+0.842" },
      { "rank": 2, "team": "Chennai Super Kings","played": 14, "won": 9,  "lost": 5, "pts": 18, "nrr": "+0.614" }
    ]
  }
}

Coverage — 900+ Leagues, 80+ Countries

CricketLiveAPI covers every ICC member nation and all major franchise leagues:

  • 🏏 International — Tests, ODIs, T20Is for all ICC members (men and women)
  • 🏆 IPL — ball-by-ball, fantasy points, playing XI, points table
  • 🌏 BBL, PSL, CPL, SA20, ILT20, The Hundred — full coverage
  • 🇮🇳 India domestic — Ranji Trophy, Vijay Hazare, Syed Mushtaq Ali, Women's T20
  • 📚 Historical data — series archive for analytics and machine learning

All Endpoints at a Glance

// Live, Recent & Upcoming
GET /api/v1/cricket/matches/live
GET /api/v1/cricket/matches/recent
GET /api/v1/cricket/matches/upcoming

// Match Detail
GET /api/v1/cricket/scorecard/{matchId}
GET /api/v1/cricket/commentary/{matchId}
GET /api/v1/cricket/highlights/{matchId}
GET /api/v1/cricket/graphs/{matchId}
GET /api/v1/cricket/overs/{matchId}
GET /api/v1/cricket/squads/{matchId}
GET /api/v1/cricket/match-facts/{matchId}

// Series & Schedule
GET /api/v1/cricket/schedule
GET /api/v1/cricket/series/{seriesId}
GET /api/v1/cricket/series/{seriesId}/matches
GET /api/v1/cricket/series/{seriesId}/points-table

// Teams & Players
GET /api/v1/cricket/teams
GET /api/v1/cricket/team/{teamId}/players
GET /api/v1/cricket/player/{playerId}

// ICC Rankings
GET /api/v1/cricket/icc-rankings/{category}/{format}

// Fantasy
GET /api/v1/fantasy/matches
GET /api/v1/fantasy/players/{matchId}
GET /api/v1/fantasy/playing-xi/{matchId}
GET /api/v1/fantasy/player-points/{matchId}
GET /api/v1/fantasy/live-score/{matchId}
GET /api/v1/fantasy/points-engine

// Webhooks
POST   /api/v1/webhooks
GET    /api/v1/webhooks
DELETE /api/v1/webhooks/{id}

// News & Media
GET /api/v1/cricket/news
GET /api/v1/cricket/videos
GET /api/v1/cricket/spotlight

Pricing — Flat Subscription, No Per-Call Surprises

  • 🆓 Free — 500 API calls/day, live scores, upcoming matches. No credit card.
  • 💼 Starter — ₹999/month — 5,000 calls/day, scorecard, fantasy points, webhooks
  • 🚀 Pro — ₹2,999/month — 25,000 calls/day, ball-by-ball, player stats, priority support
  • 🏢 Enterprise — Unlimited calls, dedicated infrastructure, SLA guarantee

No per-call charges that spike during a World Cup final. Full pricing at cricketliveapi.com/pricing.

Get Your Free Cricket API Key

Sign up in 30 seconds — no credit card required. Start building with live cricket scores and ball-by-ball data immediately.

→ Get Free Cricket API Key

Full endpoint reference at cricketliveapi.com/api-docs. Questions? Email support@cricketliveapi.com.

Share this article

Start building with CricketLiveApi

Free tier available. No credit card required.

Get Free API Key