Cricinfo API endpoint
Returns ICC rankings (team or player) from a Cricinfo rankings page, given as the required `url`, which must be a canonical `https://www.cricinfo.com/rankings/...` address. Each entry has its rank, name, country, rating, points, matches and format, plus a team or player id.
/cricinfo/rankingsQuery parameters:
url (required): a canonical HTTPS URL on www.cricinfo.com whose path starts with
/rankings/ (e.g., https://www.cricinfo.com/rankings/content/page/211271.html for
ICC Men's Team Rankings, or https://www.cricinfo.com/rankings/content/page/211272.html
for ICC Men's Batting Rankings).The response includes a list of ranking entries with rank, name, country, rating, points, matches, and format. It does not expose video, commentary streams, or account-specific data.
| Field | Filled in, of 229 checked | Values in the sample |
|---|---|---|
| rank | 229 | 1 to 102, median 35 |
| name | 229 | “Australia” and 181 other values |
| rating | 211 | 2 to 291, median 58 |
| points | 213 | 6 to 18,802, median 1,753 |
| matches | 229 | 5 to 87, median 27 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical Cricinfo rankings URL | https://www.cricinfo.com/rankings/content/page/211271.html | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cricinfo/rankings?url=https%3A%2F%2Fwww.cricinfo.com%2Frankings%2Fcontent%2Fpage%2F211271.html" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"rankings": [
{
"rank": 1,
"name": "India",
"country": "India",
"rating": 118,
"points": 2845,
"matches": 24,
"team_id": "6",
"format": "ODI"
},
{
"rank": 2,
"name": "Australia",
"country": "Australia",
"rating": 115,
"points": 2765,
"matches": 24,
"team_id": "2",
"format": "ODI"
}
],
"fetched_at": "2026-08-29T12:34:56Z"
}
}Request schema
No body schema
Response schema
#/definitions/cricinfo.rankingsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cricinfo.RankingsResponse | No | ||||
| data.fetched_at | string | No | ||||
| data.rankings | array | No | ||||
| data.rankings[].country | string | No | ||||
| data.rankings[].format | string | No | ||||
| data.rankings[].matches | integer | No | ||||
| data.rankings[].name | string | No | ||||
| data.rankings[].player_id | string | No | ||||
| data.rankings[].points | integer | No | ||||
| data.rankings[].rank | integer | No | ||||
| data.rankings[].rating | integer | No | ||||
| data.rankings[].team_id | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/cricinfo/rankings?url=https%3A%2F%2Fwww.cricinfo.com%2Frankings%2Fcontent%2Fpage%2F211271.html" \
-H "x-api-key: $CRAWLORA_API_KEY"