Dismissals
On each planFree keyNot includedMatch WeekNot includedArchiveNot includedProNot includedAnalyst ProIn full
How a player gets out: by kind, by bowler and by balls faced.
GET
https://api.cricketdatabase.com/v1/analytics/players/{player}/dismissalsTry it
Kept in this browser and filled in on every docs page.
Parameters
| Name | Type | Required | Description | Values |
|---|---|---|---|---|
player | string | yes | In the address: the player's address name | je-root |
format | string | no | test, odi, t20i, t20, multi-day, one-day | testodit20it20multi-dayone-day |
Returns
| Field | Type | What it holds |
|---|---|---|
data | object | |
data.player | string | A player's address name |
data.format | string | test, odi, t20i, t20, multi-day or one-day |
data.dismissals | integer | |
data.by_how_out[] | array | how_out, count, pct |
data.by_bowler[] | array | player, name, count |
data.by_balls_faced[] | array | balls, count |
meta | object | |
meta.plan | string | The plan the key is on |
Example answer
A real answer for /v1/analytics/players/je-root/dismissals, lists cut to their first two items.
{
"data": {
"player": "je-root",
"format": "all",
"dismissals": 582,
"by_how_out": [
{
"how_out": "caught",
"count": 333,
"pct": 57.2
},
{
"how_out": "bowled",
"count": 103,
"pct": 17.7
},
"... 4 more"
],
"by_bowler": [
{
"player": "pj-cummins",
"name": "PJ Cummins",
"count": 16
},
{
"player": "jj-bumrah",
"name": "JJ Bumrah",
"count": 15
},
"... 8 more"
],
"by_balls_faced": [
{
"balls": "0-9",
"count": 95
},
{
"balls": "10-19",
"count": 98
},
"... 4 more"
]
},
"meta": {
"plan": "plus"
}
}
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 |
| 404 | not_found | Nothing at that address |
| 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 |