Cricket API
03 Sep 2026
ICC Rankings API — Fetch Live Test, ODI & T20I Rankings (2026)
Get live ICC cricket rankings for Test, ODI, and T20I formats using CricLive API. Includes batters, bowlers, and all-rounders rankings with full code examples.
CricLive Team
CricketLiveApi Team
ICC Cricket Rankings API — Real-Time Data for All Formats
The ICC cricket rankings are updated after every international match. CricLive API provides real-time ICC rankings for all formats — Test, ODI, and T20I — for batters, bowlers, and all-rounders.
Endpoint
GET /api/v1/cricket/rankings?format=t20i&type=batting
Params:
format — test | odi | t20i
type — batting | bowling | allrounderSample Response
{
"data": {
"batting": [
{ "rank": 1, "player": "Suryakumar Yadav", "country": "India", "rating": 887 },
{ "rank": 2, "player": "Babar Azam", "country": "Pakistan", "rating": 821 }
]
}
}Python Example
import requests
API_KEY = "your_api_key_here"
headers = {"Authorization": f"Bearer {API_KEY}"}
r = requests.get(
"https://cricketliveapi.com/api/v1/cricket/rankings",
params={"format": "t20i", "type": "batting"},
headers=headers
)
for p in r.json()["data"]["batting"][:5]:
print(f"{p['rank']}. {p['player']} ({p['country']}) — {p['rating']}")JavaScript Example
const res = await fetch(
"https://cricketliveapi.com/api/v1/cricket/rankings?format=odi&type=bowling",
{ headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const { data } = await res.json();
data.bowling.slice(0, 5).forEach(p =>
console.log(`${p.rank}. ${p.player} — ${p.rating}`)
);Get your free API key at cricketliveapi.com/register.