Cricinfo API endpoint
Returns the featured public ground directory snapshot and the country index used to discover Cricinfo venue pages. Use the existing venue endpoint for detailed ground profiles.
/cricinfo/groundsQuery parameters:
limit (optional): maximum featured ground records returned from 1 to 100; defaults to 20.Returns the featured ground snapshot published by Cricinfo's public ground directory, together with its country index. The directory page currently supplies a bounded featured result set, so limit only bounds the records present in that snapshot; it does not paginate the full ground catalog. Use /api/v1/cricinfo/venue with a canonical ground URL for a detailed profile.
| Field | Filled in, of 91 checked | Values in the sample |
|---|---|---|
| id | 91 | |
| name | 91 | “Australia” and 90 other values |
| short_name | 91 | “Australia” and 90 other values |
| abbreviation | 91 | “AUS” and 90 other values |
| slug | 91 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| limit | integer | No | Maximum featured grounds returned, from 1 to 100 | 20 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cricinfo/grounds?limit=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://www.cricinfo.com/cricket-grounds",
"total": 239,
"count": 1,
"grounds": [
{
"id": "56544",
"name": "Sydney Cricket Ground",
"slug": "sydney-cricket-ground",
"town": "Sydney",
"country": "Australia"
}
],
"countries": [
{
"id": "2",
"name": "Australia",
"slug": "australia"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/cricinfo.groundsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cricinfo.GroundsResponse | No | ||||
| data.count | integer | No | ||||
| data.countries | array | No | ||||
| data.countries[].abbreviation | string | No | ||||
| data.countries[].id | string | No | ||||
| data.countries[].name | string | No | ||||
| data.countries[].short_name | string | No | ||||
| data.countries[].slug | string | No | ||||
| data.fetched_at | string | No | ||||
| data.grounds | array | No | Venue record, 18 fields: address, capacity, country, end_names, established, floodlights, has_stats, id, long_name, name, pitch, slug and 6 more. Described under Cricinfo cricket-ground profile API. | |||
| data.source_url | string | No | ||||
| data.total | integer | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/grounds?limit=10" \
-H "x-api-key: $CRAWLORA_API_KEY"