Endpoint Playground
Test Crawlora's Cricinfo Statsguru API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/cricinfo/stats?class=1&type=batting&view=innings" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| class | integer | Yes | 1 | Statsguru match-class. Allowed values: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 20, 21, 22, 23 |
| type | string | Yes | batting | Statsguru statistic family |
| player | string | No | Numeric Cricinfo player identifier | |
| team | string | No | Numeric Cricinfo team identifier | |
| opposition | string | No | Numeric opposition team identifier | |
| host | string | No | Numeric host-country identifier | |
| ground | string | No | Numeric ground identifier | |
| season | string | No | Season formatted as YYYY or YYYY/YY | |
| span_min | string | No | Statsguru starting date | |
| span_max | string | No | Statsguru ending date | |
| view | string | No | innings | Statsguru table view |
| orderby | string | No | Statsguru sort column | |
| orderby_desc | boolean | No | Sort descending when true | |
| limit | integer | No | Maximum rows returned, from 1 to 100 |
{
"code": 200,
"msg": "OK",
"data": {
"class": 1,
"type": "batting",
"headers": [
"player",
"mat",
"runs"
],
"rows": [
{
"player": "V Kohli",
"mat": "100",
"runs": "9000"
}
],
"count": 1
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns a bounded normalized Statsguru table. `class` must be one of `1`, `2`, `3`, `4`, `5`, `6`, `8`, `9`, `10`, `11`, `12`, `20`, `21`, `22`, or `23`; `type` must be one of `batting`, `bowling`, `fielding`, `allround`, `fow`, `team`, `official`, or `aggregate`; `view` may be `innings`, `match`, `series`, `ground`, `host`, `opposition`, `year`, or `season`.
{
"code": 200,
"msg": "OK",
"data": {
"class": 1,
"type": "batting",
"headers": [
"player",
"mat",
"runs"
],
"rows": [
{
"player": "V Kohli",
"mat": "100",
"runs": "9000"
}
],
"count": 1
}
}curl "https://api.crawlora.net/api/v1/cricinfo/stats?class=<class>&type=<type>" \
-H "x-api-key: $CRAWLORA_API_KEY"