ball_lav ball_pink Asset 2 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

Season Player Stats API (Cricket Series Stats API)

Season Player Stats API gives stats for the given player in the season.

Guidelines: How Can Player Stats API Be Used.?

The response has the Total Number of Fours, Sixes, and Runs scored in the season.

  • Fielding: Most number of catches
  • Batting: Best battings, Most fours, Most sixes, Most dots, Most boundaries, and Best battings.
  • Bowling: Most wickets, Most runs, Most fours,Most sixes, Most boundaries, and Best bowling.

Metric Group 100 & 100B

Request

  • Path: https://rest.cricketapi.com/rest/v2/season/{SEASON_KEY}/player/{PLAYER_KEY}/stats/
  • Method: GET
  • Params:

    • access_token - Required
    • SEASON_KEY - Required. Season key
    • PLAYER_KEY - Required. Player key

Response

  • data.player.batting - dict object.
  • data.player.bowling - dict object.
  • data.player.fielding - dict object.

Example

Request

$ GET https://rest.cricketapi.com/rest/v2/season/iplt20_2018/player/v_kohli/stats/?access_token=ACCESSTOKEN

Response

{
    "status": true,
    "version": "2.0.3",
    "status_code": 200,
    "expires": "1542893532.0",
    "Etag": "1542893532.0",
    "cache_key": "player_stats|asiacup_2018|s_malik",
    "data": {
        "player": {
            "key": "s_malik",
            "name": "Shoaib Malik",
            "batting_style": "Right-Hand Bat",
            "country": "pk",
            "short_name": "Shoaib Malik",
            "role": "Batsman",
            "full_name": "Shoaib Malik",
            "bowling": {
                "dots": 35,
                "boundries": 6,
                "runs": 85,
                "best": {
                    "runs": 14,
                    "balls": 27,
                    "match": "asiacup_2018_s3",
                    "wickets": 0
                },
                "wickets": 0
            },
            "fielding": {
                "catches": 0
            },
            "batting": {
                "dots": 121,
                "sixes": 4,
                "runs": 211,
                "fours": 11,
                "boundries": 15,
                "best": {
                    "sixes": 2,
                    "fours": 4,
                    "balls": 90,
                    "runs": 78,
                    "match": "asiacup_2018_s3"
                }
            }
        }
    }
}

Metric Group 101

Request

  • Path: https://rest.cricketapi.com/rest/v4/season/SEASON-KEY/player/PLAYER-KEY/stats/
  • Method: GET
  • Params:

    • access_token - Required
    • SEASON_KEY - Required. Season key
    • PLAYER_KEY - Required. Player key

Response

  • data.player.batting - dict object.
  • data.player.bowling - dict object.
  • data.player.fielding - dict object.

Example

Request

$ GET https://rest.cricketapi.com/rest/v4/season/c.season.rnj.3bf96/player/sh_lumba/stats/?access_token=ACCESS-TOKEN

Response

{
    "status": true,
    "version": "4.0.0",
    "status_code": 200,
    "expires": "1577209773.0",
    "Etag": "1577209773.0",
    "cache_key": "player_stats|c.season.rnj.3bf96|sh_lumba|stats",
    "data": {
        "player": {
            "batting": {
                "best": {
                    "balls": 9,
                    "fours": 1,
                    "match": "c.match.13th_match.aa41d",
                    "runs": 4,
                    "sixes": 0
                },
                "boundries": 1,
                "fours": 1,
                "sixes": 0,
                "runs": 4
            },
            "bowling": {
                "best": {
                    "balls": 0,
                    "match": null,
                    "runs": 0,
                    "wickets": 0
                },
                "runs": 0,
                "wickets": 0
            },
            "fielding": {
                "catches": 4
            },
            "batting_style": "Right-Hand Bat",
            "country": "in",
            "full_name": "Sharad Lumba",
            "key": "sh_lumba",
            "name": "Sharad Lumba",
            "role": "Batsman",
            "short_name": "Sharad Lumba"
        }
    }

View all Docs

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.

000-800-040-1803 (Indian Tollfree Number)

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