CricketLineAPI

Cricket rankings API for teams and players

Display current batting, bowling, all-rounder, and team rankings by format. Each row includes rank, player or team, country, and rating points.

Ranking lists available

Team rankings

Current team position and rating points by format.

Batting rankings

Top batters with rank, country, and rating.

Bowling rankings

Top bowlers with rank, country, and rating.

All-rounders

Combined ranking lists for players credited in both roles.

Example ranking rows

{"format":"t20","gender":"men","type":"batting","rankings":[{"rank":1,"player":"Suryakumar Yadav","country":"India","rating":887}]}

Rankings use cases

Ranking pages

Publish separate pages for team, batting, bowling, and all-rounder tables.

Player pages

Show a player's current rating beside career stats.

Format filters

Let users switch between Test, ODI, and T20.

Content tools

Insert the current top ten into previews and newsletters.

Rankings endpoints

GET /api/rankings/men/test

Returns men's Test ranking lists.

GET /api/rankings/men/odi

Returns men's ODI ranking lists.

GET /api/rankings/men/t20

Returns men's T20 ranking lists.

GET /api/rankings/women/t20

Returns women's T20 ranking lists.

Implementation notes

Request rankings by gender, format, and type instead of downloading every table. Cache each table until the next official update because rankings do not change on every ball. Display rank and rating together so a tied or closely spaced list remains clear.

Player ranking rows should link to the player stats API through the player ID when one is present. Team rows should link to the schedule endpoint filtered by that team. This turns a static table into a path toward fixtures and profiles.

Do not mix formats in one table. A Test rating and a T20 rating are not comparable, so the page heading and endpoint path should always name the format.

Rankings questions

Which ranking types are available?

Batting, bowling, all-rounder, and team rankings are available.

Can I filter by format?

Yes. Use Test, ODI, or T20 in the endpoint path.

How often do rankings change?

Rankings refresh when the official ranking feed updates.

Related cricket APIs

Start with the free cricket data tier

Create an API key, call the endpoint with a match, player, or series ID, and upgrade only when your traffic grows.

Compare API plans