Chases
On each planFree keyNot includedMatch WeekNot includedArchiveNot includedProNot includedAnalyst ProIn full
Chase success by target band.
GET
https://api.cricketdatabase.com/v1/analytics/chasesTry it
Kept in this browser and filled in on every docs page.
Parameters
| Name | Type | Required | Description | Values |
|---|---|---|---|---|
format | string | no | t20i, t20, odi or one-day (default t20i) | t20it20odione-day |
gender | string | no | male or female | malefemale |
competition | string | no | ||
venue | string | no |
Returns
| Field | Type | What it holds |
|---|---|---|
data | object | |
data.format | string | test, odi, t20i, t20, multi-day or one-day |
data.gender | string | male or female |
data.chases | integer | |
data.bands[] | array | target, chases, won, won_pct |
meta | object | |
meta.plan | string | The plan the key is on |
meta.note | string |
Example answer
A real answer for /v1/analytics/chases?format=t20i, lists cut to their first two items.
{
"data": {
"format": "t20i",
"gender": "male",
"chases": 3775,
"bands": [
{
"target": "60-79",
"chases": 125,
"won": 122,
"won_pct": 97.6
},
{
"target": "80-99",
"chases": 247,
"won": 227,
"won_pct": 91.9
},
"... 13 more"
]
},
"meta": {
"plan": "plus",
"note": "Targets set in the first innings; rain-affected (DLS) chases left out, and targets under 60, which are matches cut short."
}
}
Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | A value is not one this parameter takes, or the key was sent in the address |
| 401 | unauthorized | No key, or one that is unknown or revoked |
| 403 | upgrade_required | The plan does not reach it; the answer names the plan that does |
| 422 | unknown_parameter | A parameter this endpoint does not take |
| 429 | rate_limited | Too fast: wait for Retry-After |
| 429 | quota_exceeded | The day's calls are used: they reset at midnight UTC |