CricketLiveApi Documentation

Complete API Reference — All Plans — v1.0

https://cricketliveapi.com  |  support@cricketliveapi.com

Base URL: https://cricketliveapi.com/api/v1 Format: JSON Auth: Bearer Token Version: 1.0
Plan Comparison
Feature Free Starter Pro Enterprise
Price ₹0/mo ₹499/mo ₹999/mo ₹4,999/mo
API Calls / Day 100 1,000 5,000 20,000
Live Scores ✓ ✓ ✓ ✓
Match Schedule ✓ ✓ ✓ ✓
Scorecard ✗ ✓ ✓ ✓
Ball-by-Ball Commentary ✗ ✓ ✓ ✓
Player Statistics ✗ ✓ ✓ ✓
Fantasy Points (Dream11) ✗ ✗ ✓ ✓
Player & Team Images ✗ ✗ ✓ ✓
ICC Rankings ✗ ✓ ✓ ✓
Priority Support ✗ ✗ ✓ ✓
SLA Uptime — 99.5% 99.9% 99.99%
Authentication

Bearer Token Authentication

All protected endpoints require a Bearer token in the Authorization header. Get your token from the API Token page in your dashboard.

Authorization: Bearer YOUR_API_TOKEN

Example with curl:

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
     https://cricketliveapi.com/api/v1/cricket/live
Public Endpoints — No authentication required (Free plan)
GET /api/v1/cricket/live PUBLIC All live matches

Returns all currently live cricket matches with scores, status, and match details.

curl https://cricketliveapi.com/api/v1/cricket/live

# Response
{
  "status": "success",
  "count": 3,
  "data": [
    {
      "match_id": "67890",
      "teams": "India vs England",
      "score": "India 312/6 (47.3 ov)",
      "status": "live",
      "format": "ODI",
      "venue": "Eden Gardens, Kolkata",
      "series": "India vs England ODI Series 2026"
    }
  ]
}
GET /api/v1/cricket/recent PUBLIC Recently completed matches

Returns recently completed matches with final scores and results.

curl https://cricketliveapi.com/api/v1/cricket/recent
GET /api/v1/cricket/upcoming PUBLIC Upcoming scheduled matches

Returns upcoming matches with date, time, venue, and series information.

curl https://cricketliveapi.com/api/v1/cricket/upcoming
GET /api/v1/cricket/schedule PUBLIC Full match schedule

Returns the complete cricket schedule including all upcoming and ongoing series.

curl https://cricketliveapi.com/api/v1/cricket/schedule
GET /api/v1/cricket/series PUBLIC All active series

Returns all active cricket series with series ID, name, and match count.

curl https://cricketliveapi.com/api/v1/cricket/series
GET /api/v1/cricket/teams PUBLIC All cricket teams

Returns all international and domestic cricket teams.

curl https://cricketliveapi.com/api/v1/cricket/teams
GET /api/v1/cricket/rankings PUBLIC ICC rankings

Returns ICC rankings for Test, ODI, and T20I formats — batting and bowling.

curl https://cricketliveapi.com/api/v1/cricket/rankings

# Query params:
# ?format=test|odi|t20i
# ?type=batting|bowling
Starter Plan Endpoints — Bearer token required
GET /api/v1/cricket/live TOKEN+SUB Live scores (detailed)

With a Starter subscription, live scores include additional fields: over-by-over breakdown, current partnership, required run rate.

curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://cricketliveapi.com/api/v1/cricket/live
GET /api/v1/cricket/match/{match_id}/scorecard TOKEN+SUB Full scorecard

Returns the complete scorecard for a match including batting, bowling, and fall of wickets.

ParameterTypeRequiredDescription
match_idstringRequiredMatch ID from live/recent/upcoming endpoints
curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://cricketliveapi.com/api/v1/cricket/match/67890/scorecard

# Response
{
  "match_id": "67890",
  "innings": [
    {
      "team": "India",
      "score": "312/6",
      "overs": "47.3",
      "batsmen": [
        { "name": "Rohit Sharma", "runs": 87, "balls": 61, "fours": 8, "sixes": 4, "sr": 142.6 }
      ],
      "bowlers": [
        { "name": "Jofra Archer", "overs": "9.3", "wickets": 2, "runs": 54, "economy": 5.68 }
      ]
    }
  ]
}
GET /api/v1/cricket/match/{match_id}/commentary TOKEN+SUB Ball-by-ball commentary

Returns ball-by-ball commentary for a match. Use the page parameter for pagination.

ParameterTypeRequiredDescription
match_idstringRequiredMatch ID
pageintegerOptionalPage number (default: 1)
curl -H "Authorization: Bearer YOUR_TOKEN" \
     "https://cricketliveapi.com/api/v1/cricket/match/67890/commentary?page=1"
GET /api/v1/cricket/players/{player_id} TOKEN+SUB Player statistics

Returns career statistics for a player including batting and bowling averages across all formats.

curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://cricketliveapi.com/api/v1/cricket/players/1003332
GET /api/v1/cricket/teams/{team_id}/players TOKEN+SUB Team squad

Returns the full squad for a team with player IDs, roles, and basic stats.

curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://cricketliveapi.com/api/v1/cricket/teams/6/players
Pro Plan Endpoints — Pro subscription required
GET /api/v1/fantasy/points/{match_id} PRO Fantasy cricket points

Returns real-time fantasy cricket points for all players in a match. Compatible with Dream11, MPL, My11Circle scoring systems. Updated after every ball.

ParameterTypeRequiredDescription
match_idstringRequiredMatch ID
systemstringOptionalScoring system: dream11 (default), mpl, my11circle
curl -H "Authorization: Bearer YOUR_TOKEN" \
     "https://cricketliveapi.com/api/v1/fantasy/points/67890?system=dream11"

# Response
{
  "match_id": "67890",
  "system": "dream11",
  "players": [
    {
      "player_id": "1003332",
      "name": "Rohit Sharma",
      "team": "India",
      "role": "batsman",
      "fantasy_points": 94.5,
      "runs": 87,
      "fours": 8,
      "sixes": 4,
      "strike_rate": 142.6,
      "catches": 1
    }
  ]
}
GET /api/v1/cricket/players/{player_id}/image PRO Player profile image

Returns the player's profile image URL. Images are hosted on cricketliveapi.com CDN.

curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://cricketliveapi.com/api/v1/cricket/players/1003332/image

# Response
{
  "player_id": "1003332",
  "name": "Rohit Sharma",
  "image_url": "https://cricketliveapi.com/player_images/1003332.jpg"
}
GET /api/v1/cricket/teams/{team_id}/image PRO Team logo/flag image

Returns the team's logo or flag image URL.

curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://cricketliveapi.com/api/v1/cricket/teams/6/image
GET /api/v1/fantasy/team-suggestion/{match_id} PRO AI fantasy team suggestion

Returns an AI-generated fantasy team suggestion based on player form, pitch conditions, and head-to-head records.

curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://cricketliveapi.com/api/v1/fantasy/team-suggestion/67890
Rate Limits
Plan Calls / Day Calls / Month Rate Limit Overage
Free50015,00010 req/minBlocked
Starter5,000150,00060 req/minBlocked
Pro50,0001,500,000300 req/minBlocked
EnterpriseUnlimitedUnlimitedCustomN/A

When the rate limit is exceeded, the API returns HTTP 429 Too Many Requests. Retry after the Retry-After header value (in seconds).

Error Codes
HTTP Code Error Description
200OKRequest successful
400Bad RequestInvalid parameters or missing required fields
401UnauthorizedMissing or invalid Bearer token
403ForbiddenYour plan does not include this endpoint
404Not FoundMatch ID or resource not found
429Too Many RequestsRate limit exceeded. Check Retry-After header.
500Server ErrorInternal server error. Contact support.
# Error response format
{
  "status": "error",
  "code": 401,
  "message": "Unauthenticated. Please provide a valid Bearer token.",
  "docs": "https://cricketliveapi.com/api-docs"
}
Quick Start Examples
Python
import requests

API_KEY = "your_api_key_here"
BASE = "https://cricketliveapi.com/api/v1"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# Live scores
r = requests.get(f"{BASE}/cricket/live", headers=HEADERS)
for match in r.json()["data"]:
    print(f"{match['teams']} — {match['score']}")

# Fantasy points
r = requests.get(f"{BASE}/fantasy/points/67890", headers=HEADERS)
for p in sorted(r.json()["players"], key=lambda x: x["fantasy_points"], reverse=True)[:5]:
    print(f"{p['name']:20} {p['fantasy_points']} pts")
JavaScript / Node.js
const API_KEY = 'your_api_key_here';
const BASE = 'https://cricketliveapi.com/api/v1';
const headers = { Authorization: `Bearer ${API_KEY}` };

// Live scores
const res = await fetch(`${BASE}/cricket/live`, { headers });
const { data } = await res.json();
data.forEach(m => console.log(`${m.teams} — ${m.score}`));

// Scorecard
const sc = await fetch(`${BASE}/cricket/match/67890/scorecard`, { headers });
const scorecard = await sc.json();
PHP
$apiKey = 'your_api_key_here';
$ch = curl_init('https://cricketliveapi.com/api/v1/cricket/live');
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer $apiKey"]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = json_decode(curl_exec($ch), true);
foreach ($response['data'] as $match) {
    echo $match['teams'] . ' — ' . $match['score'] . "\n";
}
Kotlin (Android)
val client = OkHttpClient()
val request = Request.Builder()
    .url("https://cricketliveapi.com/api/v1/cricket/live")
    .addHeader("Authorization", "Bearer YOUR_API_KEY")
    .build()
val response = client.newCall(request).execute()
val json = JSONObject(response.body?.string() ?: "{}")