Cricinfo API endpoint
Returns bounded metadata for the latest public Cricinfo photos, including captions, credits, dimensions, dates, and image variants. Media files are not downloaded by the endpoint.
/cricinfo/photosQuery parameters:
limit (optional): maximum photos returned, from 1 to 100; defaults to 20.Returns image metadata only; it does not download media. Records include captions, credits, dimensions, capture dates, and available image variants.
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| id | 20 | |
| url | 20 | cricinfo.com |
| width | 20 | |
| height | 20 | |
| caption | 20 | “Kusal Mendis works the ball into the leg side” and 19 other values |
| long_caption | 20 | median 106 characters |
| credit | 20 | Associated Press (6), AFP/Getty Images (4), Afghanistan Cricket Board (3) and 4 more |
| date_taken | 20 | 2026-10-13 |
| peer_urls | 20 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| limit | integer | No | Maximum photos 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/photos?limit=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"total": 307125,
"count": 1,
"photos": [
{
"id": "1552237",
"url": "https://www.cricinfo.com/lsci/db/PICTURES/CMS/...jpg",
"caption": "Chris Jordan bowled two economical overs"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/cricinfo.photosResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cricinfo.PhotosResponse | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.photos | array | No | ||||
| data.photos[].caption | string | No | ||||
| data.photos[].credit | string | No | ||||
| data.photos[].date_taken | string | No | ||||
| data.photos[].height | integer | No | ||||
| data.photos[].id | string | No | ||||
| data.photos[].long_caption | string | No | ||||
| data.photos[].peer_urls | object | No | ||||
| data.photos[].url | string | No | ||||
| data.photos[].width | integer | No | ||||
| 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/photos?limit=10" \
-H "x-api-key: $CRAWLORA_API_KEY"