Phases
On each planFree keyNot includedMatch WeekNot includedArchiveNot includedProNot includedAnalyst ProIn full
Powerplay, middle and death: strike rate, dot and boundary rates and dismissals; bowling economy and wickets.
GET
https://api.cricketdatabase.com/v1/analytics/players/{player}/phasesTry 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 | t20i, t20, odi or one-day (default t20) | t20it20odione-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.phases[] | array | phase, overs |
data.batting[] | array | phase, balls, runs, strike_rate, dot_pct, boundary_pct, dismissals |
data.bowling[] | array | phase, balls, runs, wickets, economy, dot_pct |
meta | object | |
meta.plan | string | The plan the key is on |
Example answer
A real answer for /v1/analytics/players/je-root/phases?format=t20i, lists cut to their first two items.
{
"data": {
"player": "je-root",
"format": "t20i",
"phases": [
{
"phase": "powerplay",
"overs": "1-6"
},
{
"phase": "middle",
"overs": "7-15"
},
"... 1 more"
],
"batting": [
{
"phase": "powerplay",
"balls": 209,
"runs": 259,
"strike_rate": 123.92,
"dot_pct": 44,
"boundary_pct": 18.7,
"dismissals": 2
},
{
"phase": "middle",
"balls": 416,
"runs": 502,
"strike_rate": 120.67,
"dot_pct": 28.4,
"boundary_pct": 12,
"dismissals": 15
},
"... 1 more"
],
"bowling": [
{
"phase": "powerplay",
"balls": 24,
"runs": 32,
"wickets": 2,
"economy": 8,
"dot_pct": 54.2
},
{
"phase": "middle",
"balls": 60,
"runs": 107,
"wickets": 4,
"economy": 10.7,
"dot_pct": 25
}
]
},
"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 |