Dhoni have 144.78 Strike rate against MI 7 Batting performance of MSD with MI? Question Answer MSD performance with MI? ball_lav ball_pink Asset 2

Cricket Player vs Team Peformance API

Get players statistics or performance against a team. How about Ashwin bowling performance against Mumbai Indians.

Request

  • Path: https://rest.cricketapi.com/rest/v3/player-vs-team-performance/{player_key}/
  • Method: GET
  • URL Params:

    • player_key - Required. Player key
    • Params:

    • access_token - Required

    • board - Required, possible values are 'icc', 'bcci'
    • competition - Required, Match competition - possible values are 'international-t20', 'international-one-day', 'international-test' and 'ipl'.
    • vs_team - Required. Team key
    • year - Optional. year

Response

  • data.stats - Object. Object of player stats against given team

Example

Request:

$ GET https://rest.cricketapi.com/rest/v3/player-vs-team-performance/ms_dhoni/?access_token=ACCESSTOKEN&board=icc&competition=international-t20&vs_team=sl

Response:

{
    "cache_key": "player_vs_team_stats_ms_dhoni_icc_international-t20_aus", 
    "data": {
      "coverage_included": 100, 
      "stats": {
        "as_captain": 0, 
        "as_keeper": 6, 
        "bat": {
          "average": 58.33, 
          "ball": {
            "noball": 1, 
            "regular": 141, 
            "total": 145, 
            "wide": 9
          }, 
          "best": {
            "match": {
              "card_name": "AUS vs IND", 
              "format": "t20", 
              "innings": {
                "a_1": {
                  "overs": "20.0", 
                  "run_rate": 8.55, 
                  "run_str": "171/4 in 20.0", 
                  "runs": 171, 
                  "wickets": 4
                }, 
                "b_1": {
                  "innings_index": 1, 
                  "overs": "20.0", 
                  "run_rate": 7.0, 
                  "run_str": "140/6 in 20.0", 
                  "runs": 140, 
                  "wickets": 6
                }
              }, 
              "key": "aus-vs-ind-2012-02-01", 
              "name": "Australia vs India", 
              "played_innings": [
                1
              ], 
              "related_name": "", 
              "result": "lost", 
              "result_by": {
                "difference": 31, 
                "kind": "run"
              }, 
              "start": "1328034600", 
              "status": "completed", 
              "status_overview": "result", 
              "teams": {
                "a": {
                  "key": "aus", 
                  "name": "Australia"
                }, 
                "b": {
                  "key": "ind", 
                  "name": "India"
                }
              }
            }, 
            "player": {
              "stats": {
                "bat": {
                  "4s": 1, 
                  "6s": 3, 
                  "balls": 43, 
                  "not_out": 1, 
                  "runs": 48, 
                  "strike_rate": 111.63
                }, 
                "bowl": {}, 
                "field": {
                  "caught": 0, 
                  "run_out": 0, 
                  "stumped": 0
                }
              }, 
              "team_index": "b"
            }, 
            "season": {
              "key": "unknown_season", 
              "name": "Unknown Season"
            }
          }, 
          "innings": 8, 
          "milestone": {
            "100s": 0, 
            "200s": 0, 
            "30s": 1, 
            "50s": 0
          }, 
          "previous_matches": [
            {
              "match": {
                "card_name": "IND vs AUS", 
                "format": "t20", 
                "innings": {
                  "a_1": {
                    "innings_index": 1, 
                    "overs": "19.1", 
                    "run_rate": 8.4, 
                    "run_str": "161/4 in 19.1", 
                    "runs": 161, 
                    "wickets": 4
                  }, 
                  "b_1": {
                    "overs": "20.0", 
                    "run_rate": 8.0, 
                    "run_str": "160/6 in 20.0", 
                    "runs": 160, 
                    "wickets": 6
                  }
                }, 
                "key": "icc_wc_t20_2016_g31", 
                "name": "India vs Australia", 
                "played_innings": [
                  1
                ], 
                "related_name": "31st Match - Group 2", 
                "result": "win", 
                "result_by": {
                  "difference": 6, 
                  "kind": "wicket"
                }, 
                "start": "1459067400", 
                "status": "completed", 
                "status_overview": "result", 
                "teams": {
                  "a": {
                    "key": "ind", 
                    "name": "India"
                  }, 
                  "b": {
                    "key": "aus", 
                    "name": "Australia"
                  }
                }
              }, 
              "player": {
                "stats": {
                  "bat": {
                    "4s": 3, 
                    "6s": 0, 
                    "balls": 10, 
                    "not_out": 1, 
                    "runs": 18, 
                    "strike_rate": 180.0
                  }, 
                  "bowl": {}, 
                  "field": {
                    "caught": 2, 
                    "run_out": 0, 
                    "stumped": 0
                  }
                }, 
                "team_index": "a"
              }, 
              "season": {
                "key": "icc_wc_t20_2016", 
                "name": "ICC World Cup Twenty20 2016"
              }
            }, 
            {
              "match": {
                "card_name": "AUS vs IND", 
                "format": "t20", 
                "innings": {
                  "a_1": {
                    "overs": "20.0", 
                    "run_rate": 7.85, 
                    "run_str": "157/8 in 20.0", 
                    "runs": 157, 
                    "wickets": 8
                  }, 
                  "b_1": {
                    "innings_index": 1, 
                    "overs": "20.0", 
                    "run_rate": 9.2, 
                    "run_str": "184/3 in 20.0", 
                    "runs": 184, 
                    "wickets": 3
                  }
                }, 
                "key": "ausind_2016_t20_02", 
                "name": "Australia vs India", 
                "played_innings": [
                  1
                ], 
                "related_name": "2nd T20 Match", 
                "result": "win", 
                "result_by": {
                  "difference": 27, 
                  "kind": "run"
                }, 
                "start": "1454037000", 
                "status": "completed", 
                "status_overview": "result", 
                "teams": {
                  "a": {
                    "key": "aus", 
                    "name": "Australia"
                  }, 
                  "b": {
                    "key": "ind", 
                    "name": "India"
                  }
                }
              }, 
              "player": {
                "stats": {
                  "bat": {
                    "4s": 2, 
                    "6s": 0, 
                    "balls": 9, 
                    "not_out": 0, 
                    "runs": 14, 
                    "strike_rate": 155.56
                  }, 
                  "bowl": {}, 
                  "field": {
                    "caught": 1, 
                    "run_out": 0, 
                    "stumped": 0
                  }
                }, 
                "team_index": "b"
              }, 
              "season": {
                "key": "ausind_2016", 
                "name": "Australia vs India 2016"
              }
            }, 
            {
              "match": {
                "card_name": "AUS vs IND", 
                "format": "t20", 
                "innings": {
                  "a_1": {
                    "overs": "19.3", 
                    "run_rate": 7.74, 
                    "run_str": "151/10 in 19.3", 
                    "runs": 151, 
                    "wickets": 10
                  }, 
                  "b_1": {
                    "innings_index": 1, 
                    "overs": "20.0", 
                    "run_rate": 9.4, 
                    "run_str": "188/3 in 20.0", 
                    "runs": 188, 
                    "wickets": 3
                  }
                }, 
                "key": "ausind_2016_t20_01", 
                "name": "Australia vs India", 
                "played_innings": [
                  1
                ], 
                "related_name": "1st T20 Match", 
                "result": "win", 
                "result_by": {
                  "difference": 37, 
                  "kind": "run"
                }, 
                "start": "1453777800", 
                "status": "completed", 
                "status_overview": "result", 
                "teams": {
                  "a": {
                    "key": "aus", 
                    "name": "Australia"
                  }, 
                  "b": {
                    "key": "ind", 
                    "name": "India"
                  }
                }
              }, 
              "player": {
                "stats": {
                  "bat": {
                    "4s": 1, 
                    "6s": 1, 
                    "balls": 3, 
                    "not_out": 1, 
                    "runs": 11, 
                    "strike_rate": 366.67
                  }, 
                  "bowl": {}, 
                  "field": {
                    "caught": 0, 
                    "run_out": 0, 
                    "stumped": 0
                  }
                }, 
                "team_index": "b"
              }, 
              "season": {
                "key": "ausind_2016", 
                "name": "Australia vs India 2016"
              }
            }, 
            {
              "match": {
                "card_name": "Australia vs India", 
                "format": "t20", 
                "innings": {
                  "a_1": {
                    "overs": "16.2", 
                    "run_rate": 5.27, 
                    "run_str": "86/10 in 16.2", 
                    "runs": 86, 
                    "wickets": 10
                  }, 
                  "b_1": {
                    "innings_index": 1, 
                    "overs": "20.0", 
                    "run_rate": 7.95, 
                    "run_str": "159/7 in 20.0", 
                    "runs": 159, 
                    "wickets": 7
                  }
                }, 
                "key": "icc_world_t20_2014_g28", 
                "name": "Australia vs India", 
                "played_innings": [
                  1
                ], 
                "related_name": "28th Match - Group 2", 
                "result": "win", 
                "result_by": {
                  "difference": 73, 
                  "kind": "run"
                }, 
                "start": "1396166400", 
                "status": "completed", 
                "status_overview": "result", 
                "teams": {
                  "a": {
                    "key": "aus", 
                    "name": "Australia"
                  }, 
                  "b": {
                    "key": "ind", 
                    "name": "India"
                  }
                }
              }, 
              "player": {
                "stats": {
                  "bat": {
                    "4s": 1, 
                    "6s": 1, 
                    "balls": 20, 
                    "not_out": 0, 
                    "runs": 24, 
                    "strike_rate": 120.0
                  }, 
                  "bowl": {}, 
                  "field": {
                    "caught": 1, 
                    "run_out": 0, 
                    "stumped": 0
                  }
                }, 
                "team_index": "b"
              }, 
              "season": {
                "key": "icc_world_t20_2014", 
                "name": "ICC World Twenty20 2014"
              }
            }, 
            {
              "match": {
                "card_name": "India vs Australia", 
                "format": "t20", 
                "innings": {
                  "a_1": {
                    "innings_index": 1, 
                    "overs": "19.4", 
                    "run_rate": 10.27, 
                    "run_str": "202/4 in 19.4", 
                    "runs": 202, 
                    "wickets": 4
                  }, 
                  "b_1": {
                    "overs": "20.0", 
                    "run_rate": 10.05, 
                    "run_str": "201/7 in 20.0", 
                    "runs": 201, 
                    "wickets": 7
                  }
                }, 
                "key": "indaus_2013_t20_01", 
                "name": "India vs Australia 2013", 
                "played_innings": [
                  1
                ], 
                "related_name": "Only T20 Match at Rajkot", 
                "result": "win", 
                "result_by": {
                  "difference": 6, 
                  "kind": "wicket"
                }, 
                "start": "1381392000", 
                "status": "completed", 
                "status_overview": "result", 
                "teams": {
                  "a": {
                    "key": "ind", 
                    "name": "India"
                  }, 
                  "b": {
                    "key": "aus", 
                    "name": "Australia "
                  }
                }
              }, 
              "player": {
                "stats": {
                  "bat": {
                    "4s": 2, 
                    "6s": 0, 
                    "balls": 21, 
                    "not_out": 1, 
                    "runs": 24, 
                    "strike_rate": 114.29
                  }, 
                  "bowl": {}, 
                  "field": {
                    "caught": 1, 
                    "run_out": 0, 
                    "stumped": 0
                  }
                }, 
                "team_index": "a"
              }, 
              "season": {
                "key": "demo_indaus_2013", 
                "name": "India vs Australia 2013"
              }
            }, 
            {
              "match": {
                "card_name": "Australia vs India ", 
                "format": "t20", 
                "innings": {
                  "a_1": {
                    "overs": "14.5", 
                    "run_rate": 9.51, 
                    "run_str": "141/1 in 14.5", 
                    "runs": 141, 
                    "wickets": 1
                  }, 
                  "b_1": {
                    "innings_index": 1, 
                    "overs": "20.0", 
                    "run_rate": 7.0, 
                    "run_str": "140/7 in 20.0", 
                    "runs": 140, 
                    "wickets": 7
                  }
                }, 
                "key": "icc_world_t20_2012_s16", 
                "name": "Australia vs India ", 
                "played_innings": [
                  1
                ], 
                "related_name": "16th Match, Super Eights, Group 2", 
                "result": "lost", 
                "result_by": {
                  "difference": 9, 
                  "kind": "wicket"
                }, 
                "start": "1348821000", 
                "status": "completed", 
                "status_overview": "result", 
                "teams": {
                  "a": {
                    "key": "aus", 
                    "name": "Australia"
                  }, 
                  "b": {
                    "key": "ind", 
                    "name": "India"
                  }
                }
              }, 
              "player": {
                "stats": {
                  "bat": {
                    "4s": 2, 
                    "6s": 0, 
                    "balls": 21, 
                    "not_out": 0, 
                    "runs": 15, 
                    "strike_rate": 71.43
                  }, 
                  "bowl": {}, 
                  "field": {
                    "caught": 0, 
                    "run_out": 0, 
                    "stumped": 0
                  }
                }, 
                "team_index": "b"
              }, 
              "season": {
                "key": "icc_world_t20_2012", 
                "name": "ICC World Twenty20 2012"
              }
            }, 
            {
              "match": {
                "card_name": "AUS vs IND", 
                "format": "t20", 
                "innings": {
                  "a_1": {
                    "overs": "19.4", 
                    "run_rate": 6.66, 
                    "run_str": "131/10 in 19.4", 
                    "runs": 131, 
                    "wickets": 10
                  }, 
                  "b_1": {
                    "innings_index": 1, 
                    "overs": "19.4", 
                    "run_rate": 6.86, 
                    "run_str": "135/2 in 19.4", 
                    "runs": 135, 
                    "wickets": 2
                  }
                }, 
                "key": "aus-vs-ind-2012-02-03", 
                "name": "Australia vs India", 
                "played_innings": [
                  1
                ], 
                "related_name": "", 
                "result": "win", 
                "result_by": {
                  "difference": 8, 
                  "kind": "wicket"
                }, 
                "start": "1328207400", 
                "status": "completed", 
                "status_overview": "result", 
                "teams": {
                  "a": {
                    "key": "aus", 
                    "name": "Australia"
                  }, 
                  "b": {
                    "key": "ind", 
                    "name": "India"
                  }
                }
              }, 
              "player": {
                "stats": {
                  "bat": {
                    "4s": 2, 
                    "6s": 0, 
                    "balls": 18, 
                    "not_out": 1, 
                    "runs": 21, 
                    "strike_rate": 116.67
                  }, 
                  "bowl": {}, 
                  "field": {
                    "caught": 2, 
                    "run_out": 0, 
                    "stumped": 0
                  }
                }, 
                "team_index": "b"
              }, 
              "season": {
                "key": "unknown_season", 
                "name": "Unknown Season"
              }
            }, 
            {
              "match": {
                "card_name": "AUS vs IND", 
                "format": "t20", 
                "innings": {
                  "a_1": {
                    "overs": "20.0", 
                    "run_rate": 8.55, 
                    "run_str": "171/4 in 20.0", 
                    "runs": 171, 
                    "wickets": 4
                  }, 
                  "b_1": {
                    "innings_index": 1, 
                    "overs": "20.0", 
                    "run_rate": 7.0, 
                    "run_str": "140/6 in 20.0", 
                    "runs": 140, 
                    "wickets": 6
                  }
                }, 
                "key": "aus-vs-ind-2012-02-01", 
                "name": "Australia vs India", 
                "played_innings": [
                  1
                ], 
                "related_name": "", 
                "result": "lost", 
                "result_by": {
                  "difference": 31, 
                  "kind": "run"
                }, 
                "start": "1328034600", 
                "status": "completed", 
                "status_overview": "result", 
                "teams": {
                  "a": {
                    "key": "aus", 
                    "name": "Australia"
                  }, 
                  "b": {
                    "key": "ind", 
                    "name": "India"
                  }
                }
              }, 
              "player": {
                "stats": {
                  "bat": {
                    "4s": 1, 
                    "6s": 3, 
                    "balls": 43, 
                    "not_out": 1, 
                    "runs": 48, 
                    "strike_rate": 111.63
                  }, 
                  "bowl": {}, 
                  "field": {
                    "caught": 0, 
                    "run_out": 0, 
                    "stumped": 0
                  }
                }, 
                "team_index": "b"
              }, 
              "season": {
                "key": "unknown_season", 
                "name": "Unknown Season"
              }
            }
          ], 
          "run": {
            "0s": 64, 
            "1s": 54, 
            "2s": 16, 
            "3s": 1, 
            "4s": 14, 
            "6s": 5, 
            "total": 175
          }, 
          "strike_rate": 120.69, 
          "wicket": {
            "bowled": 1, 
            "caught": 2, 
            "lbw": 0, 
            "not_out": 5, 
            "retirehut": 0, 
            "run_out": 0, 
            "stumped": 0, 
            "total": 3
          }
        }, 
        "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": 8, 
          "run_out": 0, 
          "stumped": 4
        }, 
        "last_updated_time": "1519998983", 
        "matches": 8, 
        "pom": 0, 
        "upcoming_matches": []
      }
    }, 
    "expires": 1521375827.0, 
    "status": true, 
    "status_code": 200, 
    "version": "3.0.1"
  }

True Support Center

Not sure, what plan to choose? Just get in touch us. We are committed to providing a solution to all cricket data requirements. Feel free to write your technical questions, to know about best practice and guidelines.

+0-800-040-1803 (Indian Tollfree Number - BETA)

+1 (855) 2SPORT4 (US Tollfree Number)