---
title: "Get ICC rankings from Cricinfo"
method: GET
path: "/cricinfo/rankings"
tags: ["Cricinfo"]
---

# Get ICC rankings from Cricinfo

`GET /cricinfo/rankings`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/cricinfo/rankings`
- Auth: API key in header `x-api-key`

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.

## Query parameters

- `url` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- CricinfoRankingsResponseDoc
  - `code` integer
  - `data` CricinfoRankingsResponse
    - `fetched_at` string
    - `rankings` CricinfoRankingEntry[]
      - `country` string
      - `format` string
      - `matches` integer
      - `name` string
      - `player_id` string
      - `points` integer
      - `rank` integer
      - `rating` integer
      - `team_id` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
