The Player performance API gives the players statistics or performance report details like the number of times the player was a captain, keeper, bowling stats, batting stats, fielding, number of matches played & the upcoming matches for the requested board & competition.
https://rest.cricketapi.com/rest/v3/player-performance/{player_key}/
GET
URL Params:
player_key
:Required. Get the player key from the Match API, Season Team API, and Season API.Params:
access_token
- Required.board
- Required.competition
- Required.year
- Optional.data.stats
- Object. Object of player stats$ GET https://rest.cricketapi.com/rest/v3/player-performance/ms_dhoni/?access_token=ACCESSTOKEN&board=icc&competition=international-t20
{
"cache_key": "player_performance_ms_dhoni_icc_international-t20",
"data": {
"coverage_included": 100,
"stats": {
"as_captain": 4,
"as_keeper": 41,
"bat": {
"average": 46.5,
"ball": {
"noball": 1,
"regular": 602,
"total": 615,
"wide": 28
},
"best": {
"match": {
"card_name": "IND vs ENG",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 10.1,
"run_str": "202/6 in 20.0",
"runs": 202,
"wickets": 6
},
"b_1": {
"innings_index": 1,
"overs": "16.3",
"run_rate": 7.7,
"run_str": "127/10 in 16.3",
"runs": 127,
"wickets": 10
}
},
"key": "indeng_2016_t20_03",
"name": "India vs England",
"played_innings": [
1
],
"related_name": "3rd T20 Match",
"result": "win",
"result_by": {
"difference": 75,
"kind": "run"
},
"start": "1485955800",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "ind",
"name": "India",
"score_string": "202/6 in 20.0"
},
"b": {
"key": "eng",
"name": "England",
"score_string": "127/10 in 16.3"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 5,
"6s": 2,
"balls": 36,
"not_out": 0,
"runs": 56,
"strike_rate": 155.56
},
"bowl": {},
"field": {
"caught": 1,
"run_out": 0,
"stumped": 1
}
},
"team_index": "a"
},
"season": {
"key": "indeng_2016",
"name": "India vs England 2016"
}
},
"innings": 45,
"milestone": {
"100s": 0,
"200s": 0,
"30s": 7,
"50s": 2
},
"previous_matches": [
{
"match": {
"card_name": "ENG vs IND",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "19.4",
"run_rate": 7.58,
"run_str": "149/5 in 19.4",
"runs": 149,
"wickets": 5
},
"b_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 7.4,
"run_str": "148/5 in 20.0",
"runs": 148,
"wickets": 5
}
},
"key": "engind_2018_t20_02",
"name": "England vs India",
"played_innings": [
1
],
"related_name": "2nd T20 Match",
"result": "lost",
"result_by": {
"difference": 5,
"kind": "wicket"
},
"start": "1530894600",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "eng",
"name": "England",
"score_string": "148/5 in 20.0"
},
"b": {
"key": "ind",
"name": "India",
"score_string": "149/5 in 19.4"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 5,
"6s": 0,
"balls": 24,
"not_out": 1,
"runs": 32,
"strike_rate": 133.33
},
"bowl": {},
"field": {
"caught": 0,
"run_out": 0,
"stumped": 0
}
},
"team_index": "b"
},
"season": {
"key": "engind_2018",
"name": "England vs India 2018"
}
},
{
"match": {
"card_name": "IRE vs IND",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 6.6,
"run_str": "132/9 in 20.0",
"runs": 132,
"wickets": 9
},
"b_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 10.4,
"run_str": "208/5 in 20.0",
"runs": 208,
"wickets": 5
}
},
"key": "ireind_2018_t20_01",
"name": "Ireland vs India",
"played_innings": [
1
],
"related_name": "1st T20 Match",
"result": "win",
"result_by": {
"difference": 76,
"kind": "run"
},
"start": "1530111600",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "ire",
"name": "Ireland",
"score_string": "208/5 in 20.0"
},
"b": {
"key": "ind",
"name": "India",
"score_string": "132/9 in 20.0"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 1,
"6s": 1,
"balls": 5,
"not_out": 0,
"runs": 11,
"strike_rate": 220
},
"bowl": {},
"field": {
"caught": 0,
"run_out": 0,
"stumped": 2
}
},
"team_index": "b"
},
"season": {
"key": "ireind_2018",
"name": "Ireland vs India 2018"
}
},
{
"match": {
"card_name": "RSA vs IND",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 8.25,
"run_str": "165/6 in 20.0",
"runs": 165,
"wickets": 6
},
"b_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 8.6,
"run_str": "172/7 in 20.0",
"runs": 172,
"wickets": 7
}
},
"key": "rsaind_2017_t20_03",
"name": "South Africa vs India",
"played_innings": [
1
],
"related_name": "3rd T20 Match",
"result": "win",
"result_by": {
"difference": 7,
"kind": "run"
},
"start": "1519488000",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "rsa",
"name": "South Africa",
"score_string": "172/7 in 20.0"
},
"b": {
"key": "ind",
"name": "India",
"score_string": "165/6 in 20.0"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 1,
"6s": 0,
"balls": 11,
"not_out": 0,
"runs": 12,
"strike_rate": 109.09
},
"bowl": {},
"field": {
"caught": 0,
"run_out": 0,
"stumped": 0
}
},
"team_index": "b"
},
"season": {
"key": "rsaind_2017",
"name": "South Africa vs India 2017"
}
},
{
"match": {
"card_name": "RSA vs IND",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "18.4",
"run_rate": 10.12,
"run_str": "189/4 in 18.4",
"runs": 189,
"wickets": 4
},
"b_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 9.4,
"run_str": "188/4 in 20.0",
"runs": 188,
"wickets": 4
}
},
"key": "rsaind_2017_t20_02",
"name": "South Africa vs India",
"played_innings": [
1
],
"related_name": "2nd T20 Match",
"result": "lost",
"result_by": {
"difference": 6,
"kind": "wicket"
},
"start": "1519228800",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "rsa",
"name": "South Africa",
"score_string": "188/4 in 20.0"
},
"b": {
"key": "ind",
"name": "India",
"score_string": "189/4 in 18.4"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 4,
"6s": 3,
"balls": 28,
"not_out": 1,
"runs": 52,
"strike_rate": 185.71
},
"bowl": {},
"field": {
"caught": 1,
"run_out": 0,
"stumped": 0
}
},
"team_index": "b"
},
"season": {
"key": "rsaind_2017",
"name": "South Africa vs India 2017"
}
},
{
"match": {
"card_name": "RSA vs IND",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 8.75,
"run_str": "175/9 in 20.0",
"runs": 175,
"wickets": 9
},
"b_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 10.15,
"run_str": "203/5 in 20.0",
"runs": 203,
"wickets": 5
}
},
"key": "rsaind_2017_t20_01",
"name": "South Africa vs India",
"played_innings": [
1
],
"related_name": "1st T20 Match",
"result": "win",
"result_by": {
"difference": 28,
"kind": "run"
},
"start": "1518957000",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "rsa",
"name": "South Africa",
"score_string": "203/5 in 20.0"
},
"b": {
"key": "ind",
"name": "India",
"score_string": "175/9 in 20.0"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 2,
"6s": 0,
"balls": 11,
"not_out": 0,
"runs": 16,
"strike_rate": 145.45
},
"bowl": {},
"field": {
"caught": 1,
"run_out": 0,
"stumped": 0
}
},
"team_index": "b"
},
"season": {
"key": "rsaind_2017",
"name": "South Africa vs India 2017"
}
},
{
"match": {
"card_name": "SL vs IND",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 8.5,
"run_str": "170/7 in 20.0",
"runs": 170,
"wickets": 7
},
"b_1": {
"innings_index": 1,
"overs": "19.2",
"run_rate": 9,
"run_str": "174/3 in 19.2",
"runs": 174,
"wickets": 3
}
},
"key": "slind_2017_t20_01",
"name": "Sri Lanka vs India",
"played_innings": [
1
],
"related_name": "Only T20 Match",
"result": "win",
"result_by": {
"difference": 7,
"kind": "wicket"
},
"start": "1504704600",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "sl",
"name": "Sri Lanka",
"score_string": "174/3 in 19.2"
},
"b": {
"key": "ind",
"name": "India",
"score_string": "170/7 in 20.0"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 0,
"6s": 0,
"balls": 1,
"not_out": 1,
"runs": 1,
"strike_rate": 100
},
"bowl": {},
"field": {
"caught": 0,
"run_out": 0,
"stumped": 1
}
},
"team_index": "b"
},
"season": {
"key": "slind_2017",
"name": "Sri Lanka vs India 2017"
}
},
{
"match": {
"card_name": "WI vs IND",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "18.3",
"run_rate": 10.49,
"run_str": "194/1 in 18.3",
"runs": 194,
"wickets": 1
},
"b_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 9.5,
"run_str": "190/6 in 20.0",
"runs": 190,
"wickets": 6
}
},
"key": "wiind_2017_t20_01",
"name": "West Indies vs India",
"played_innings": [
1
],
"related_name": "Only T20 Match",
"result": "lost",
"result_by": {
"difference": 9,
"kind": "wicket"
},
"start": "1499614200",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "wi",
"name": "West Indies",
"score_string": "190/6 in 20.0"
},
"b": {
"key": "ind",
"name": "India",
"score_string": "194/1 in 18.3"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 0,
"6s": 0,
"balls": 3,
"not_out": 0,
"runs": 2,
"strike_rate": 66.67
},
"bowl": {},
"field": {
"caught": 1,
"run_out": 0,
"stumped": 0
}
},
"team_index": "b"
},
"season": {
"key": "wiind_2017",
"name": "West Indies vs India 2017"
}
},
{
"match": {
"card_name": "IND vs ENG",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 10.1,
"run_str": "202/6 in 20.0",
"runs": 202,
"wickets": 6
},
"b_1": {
"innings_index": 1,
"overs": "16.3",
"run_rate": 7.7,
"run_str": "127/10 in 16.3",
"runs": 127,
"wickets": 10
}
},
"key": "indeng_2016_t20_03",
"name": "India vs England",
"played_innings": [
1
],
"related_name": "3rd T20 Match",
"result": "win",
"result_by": {
"difference": 75,
"kind": "run"
},
"start": "1485955800",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "ind",
"name": "India",
"score_string": "202/6 in 20.0"
},
"b": {
"key": "eng",
"name": "England",
"score_string": "127/10 in 16.3"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 5,
"6s": 2,
"balls": 36,
"not_out": 0,
"runs": 56,
"strike_rate": 155.56
},
"bowl": {},
"field": {
"caught": 1,
"run_out": 0,
"stumped": 1
}
},
"team_index": "a"
},
"season": {
"key": "indeng_2016",
"name": "India vs England 2016"
}
},
{
"match": {
"card_name": "IND vs ENG",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 7.2,
"run_str": "144/8 in 20.0",
"runs": 144,
"wickets": 8
},
"b_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 6.95,
"run_str": "139/6 in 20.0",
"runs": 139,
"wickets": 6
}
},
"key": "indeng_2016_t20_02",
"name": "India vs England",
"played_innings": [
1
],
"related_name": "2nd T20 Match",
"result": "win",
"result_by": {
"difference": 5,
"kind": "run"
},
"start": "1485696600",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "ind",
"name": "India",
"score_string": "144/8 in 20.0"
},
"b": {
"key": "eng",
"name": "England",
"score_string": "139/6 in 20.0"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 0,
"6s": 0,
"balls": 7,
"not_out": 0,
"runs": 5,
"strike_rate": 71.43
},
"bowl": {},
"field": {
"caught": 0,
"run_out": 0,
"stumped": 0
}
},
"team_index": "a"
},
"season": {
"key": "indeng_2016",
"name": "India vs England 2016"
}
},
{
"match": {
"card_name": "IND vs ENG",
"format": "t20",
"innings": {
"a_1": {
"innings_index": 1,
"overs": "20.0",
"run_rate": 7.35,
"run_str": "147/7 in 20.0",
"runs": 147,
"wickets": 7
},
"b_1": {
"innings_index": 1,
"overs": "18.1",
"run_rate": 8.15,
"run_str": "148/3 in 18.1",
"runs": 148,
"wickets": 3
}
},
"key": "indeng_2016_t20_01",
"name": "India vs England",
"played_innings": [
1
],
"related_name": "1st T20 Match",
"result": "lost",
"result_by": {
"difference": 7,
"kind": "wicket"
},
"start": "1485428400",
"status": "completed",
"status_overview": "result",
"teams": {
"a": {
"key": "ind",
"name": "India",
"score_string": "147/7 in 20.0"
},
"b": {
"key": "eng",
"name": "England",
"score_string": "148/3 in 18.1"
}
}
},
"player": {
"innings_index": 1,
"stats": {
"bat": {
"4s": 3,
"6s": 0,
"balls": 27,
"not_out": 1,
"runs": 36,
"strike_rate": 133.33
},
"bowl": {},
"field": {
"caught": 0,
"run_out": 0,
"stumped": 0
}
},
"team_index": "a"
},
"season": {
"key": "indeng_2016",
"name": "India vs England 2016"
}
}
],
"run": {
"0s": 212,
"1s": 263,
"2s": 72,
"3s": 4,
"4s": 67,
"6s": 25,
"total": 837
},
"strike_rate": 136.1,
"wicket": {
"bowled": 6,
"caught": 12,
"lbw": 0,
"not_out": 27,
"retirehut": 0,
"run_out": 0,
"stumped": 0,
"total": 18
}
},
"bowl": {
"average": null,
"ball": {
"legbye": 0,
"noball": 0,
"regular": 0,
"total": 0,
"wide": 0
},
"best": {},
"economy": null,
"innings": 0,
"milestone": {
"10w": 0,
"3w": 0,
"4w": 0,
"5w": 0
},
"previous_matches": [],
"run": {
"total": 0
},
"strike_rate": null,
"wicket": {
"bowled": 0,
"caught": 0,
"lbw": 0,
"run_out": 0,
"stumped": 0,
"total": 0
}
},
"field": {
"caught": 38,
"run_out": 0,
"stumped": 24
},
"last_updated_time": "1531246512",
"matches": 53,
"pom": 0,
"upcoming_matches": []
}
},
"expires": 1543124272,
"status": true,
"status_code": 200,
"version": "3.0.1"
}