Cricbuzz API endpoint
Returns the selected team's complete Batting and Bowling topic menus, supported format IDs, every year value and every opponent ID from Cricbuzz's team Stats page. Discover team_id and category from /cricbuzz/teams; use the exact dynamic values returned here with /cricbuzz/team/stats. The source page exposes no sort control.
/cricbuzz/team/stats/optionsMethod: GET
Discover a team's current Batting and Bowling stat menus, format IDs, every
year value, and every opponent ID. Use team_id and category from
GET /api/v1/cricbuzz/teams; pass the returned values to
GET /api/v1/cricbuzz/team/stats.
category (required): one of international, domestic, league, or
women.team_id (required): a team ID returned for that category by
/api/v1/cricbuzz/teams.The current India page exposes the following 15 values. Other team pages may expose a subset; the response for the selected team is authoritative.
mostRuns, highestScore, highestAvg, highestSr,
mostHundreds, mostFifties, mostFours, mostSixes, mostNineties.mostWickets, lowestAvg, bestBowlingInnings,
mostFiveWickets, lowestEcon, lowestSr.Format IDs and the years and opponents arrays are dynamic and are returned
in full. The India page currently exposes format IDs 1 (test), 2 (odi),
and 3 (t20), 91 year values including all, and 983 opponent values
including all. These are live snapshots, not pinned ranges. The page has no
sort control.
The stats, years, and opponents arrays above are shortened for
readability; the endpoint returns every current option.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| category | string | Yes | Team-directory category from /cricbuzz/teams Allowed values: international, domestic, league, women. | international | |
| team_id | integer | Yes | Team ID returned by /cricbuzz/teams for the selected category | 2 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cricbuzz/team/stats/options?category=international&team_id=2" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"category": "international",
"team": {
"id": 2,
"name": "India",
"profile_url": "https://www.cricbuzz.com/cricket-team/india/2"
},
"stats": [
{
"name": "Batting",
"stats": [
{
"value": "mostRuns",
"label": "Most Runs",
"category": "Batting"
}
]
}
],
"formats": [
{
"id": "1",
"label": "test"
},
{
"id": "2",
"label": "odi"
},
{
"id": "3",
"label": "t20"
}
],
"years": [
{
"id": "all",
"label": "all"
},
{
"id": "2026",
"label": "2026"
}
],
"opponents": [
{
"id": "all",
"label": "All"
},
{
"id": "4",
"label": "AUS"
}
],
"source_url": "https://www.cricbuzz.com/cricket-team/india/2/stats",
"fetched_at": "2026-10-29T00:00:00Z",
"stale": false
}
}Request schema
No body schema
Response schema
#/definitions/cricbuzz.teamStatsOptionsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cricbuzz.TeamStatsOptionsResponse | No | ||||
| data.category | string | No | ||||
| data.fetched_at | string | No | ||||
| data.formats | array | No | ||||
| data.formats[].id | string | No | ||||
| data.formats[].label | string | No | ||||
| data.opponents | array | No | ||||
| data.opponents[].id | string | No | ||||
| data.opponents[].label | string | No | ||||
| data.source_url | string | No | ||||
| data.stale | boolean | No | ||||
| data.stats | array | No | RecordCategory record, 5 fields: name, stats. Described under Cricbuzz records discovery API. | |||
| data.team | cricbuzz.Team | No | Team record, 6 fields: country, id, image_id, name, profile_url, short_name. Described under Cricbuzz team statistics API. | |||
| data.years | array | No | ||||
| data.years[].id | string | No | ||||
| data.years[].label | 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/cricbuzz/team/stats/options?category=international&team_id=2" \
-H "x-api-key: $CRAWLORA_API_KEY"