---
title: "Get a Cricinfo record table"
method: GET
path: "/cricinfo/records"
tags: ["Cricinfo"]
---

# Get a Cricinfo record table

`GET /cricinfo/records`

## Request

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

Returns a bounded table from a Cricinfo records page. `record` is a relative Statsguru record path such as `batting/most_runs_career.html`. `class` must be one of `1`, `2`, `3`, `4`, `5`, `6`, `8`, `9`, `10`, `11`, `12`, `20`, `21`, `22`, or `23`.

## Query parameters

- `record` string, required
- `class` 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 20 | 21 | 22 | 23, required
- `id` string
- `type` string
- `current` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- CricinfoRecordsResponseDoc
  - `code` integer
  - `data` CricinfoRecordsResponse
    - `class` integer
    - `count` integer
    - `fetched_at` string
    - `headers` string[]
    - `record` string
    - `rows` CricinfoStatsRow[]
    - `source_url` 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)
