Cricket Database
0 of 50 calls today
Get a free API key Sign in Dashboard Upgrade

Splits

GET/v1/analytics/players/{player}/splits

On each planFree keyNot includedMatch WeekNot includedArchiveNot includedProNot includedAnalyst ProIn fullMCP toolplayer_splits

Batting by opposition, venue, year, innings and position; bowling by opposition, venue, year and innings.

Parameters

NameInValuesRequired
playerpathplayer addressyes
formatquerytest, odi, t20i, t20, multi-day, one-day

Request

curl -H "Authorization: Bearer $CDB_KEY" \
  "https://api.cricketdatabase.com/v1/analytics/players/je-root/splits"

Response

{
    "data": {
        "player": "je-root",
        "format": "all",
        "batting": {
            "by_opposition": [
                {
                    "split": "Australia",
                    "innings": 111,
                    "runs": 3750,
                    "outs": 99,
                    "average": 37.88,
                    "strike_rate": 56.39,
                    "hundreds": 6,
                    "fifties": 25
                },
                {
                    "split": "India",
                    "innings": 96,
                    "runs": 4644,
                    "outs": 82,
                    "average": 56.63,
                    "strike_rate": 61.51,
                    "hundreds": 16,
                    "fifties": 19
                },
                "... 28 more"
            ],
            "by_venue": [
                {
                    "split": "Headingley, Leeds",
                    "innings": 39,
                    "runs": 1903,
                    "outs": 33,
                    "average": 57.67,
                    "strike_rate": 74.22,
                    "hundreds": 5,
                    "fifties": 8
                },
                {
                    "split": "Lord's",
                    "innings": 34,
                    "runs": 1554,
                    "outs": 32,
                    "average": 48.56,
                    "strike_rate": 60.94,
                    "hundreds": 4,
                    "fifties": 7
                },
                "... 28 more"
            ],
            "by_year": [
                {
                    "split": "2018",
                    "innings": 63,
                    "runs": 2166,
                    "outs": 53,
                    "average": 40.87,
                    "strike_rate": 66.69,
                    "hundreds": 5,
                    "fifties": 12
                },
                {
                    "split": "2016",
                    "innings": 62,
                    "runs": 2959,
                    "outs": 56,
                    "average": 52.84,
                    "strike_rate": 75.81,
                    "hundreds": 6,
                    "fifties": 19
                },
                "... 13 more"
            ],
            "by_innings": [
                {
                    "split": 1,
                    "innings": 254,
                    "runs": 10618,
                    "outs": 239,
                    "average": 44.43,
                    "strike_rate": 74.74,
                    "hundreds": 28,
                    "fifties": 55
                },
                {
                    "split": 2,
                    "innings": 245,
                    "runs": 10780,
                    "outs": 198,
                    "average": 54.44,
                    "strike_rate": 73.91,
                    "hundreds": 25,
                    "fifties": 56
                },
                "... 2 more"
            ],
            "by_position": [
                {
                    "split": 4,
                    "innings": 314,
                    "runs": 13616,
                    "outs": 285,
                    "average": 47.78,
                    "strike_rate": 64.88,
                    "hundreds": 39,
                    "fifties": 62
                },
                {
                    "split": 3,
                    "innings": 242,
                    "runs": 9758,
                    "outs": 211,
                    "average": 46.25,
                    "strike_rate": 79.36,
                    "hundreds": 19,
                    "fifties": 63
                },
                "... 5 more"
            ]
        },
        "bowling": {
            "by_opposition": [
                {
                    "split": "Australia",
                    "matches": 52,
                    "wickets": 34,
                    "runs": 1461,
                    "average": 42.97,
                    "economy": 4.34
                },
                {
                    "split": "India",
                    "matches": 39,
                    "wickets": 22,
                    "runs": 1256,
                    "average": 57.09,
                    "economy": 3.82
                },
                "... 28 more"
            ],
            "by_venue": [
                {
                    "split": "Headingley, Leeds",
                    "matches": 21,
                    "wickets": 20,
                    "runs": 657,
                    "average": 32.85,
                    "economy": 4.16
                },
                {
                    "split": "Trent Bridge, Nottingham",
                    "matches": 14,
                    "wickets": 7,
                    "runs": 248,
                    "average": 35.43,
                    "economy": 4.31
                },
                "... 28 more"
            ],
            "by_year": [
                {
                    "split": "2013",
                    "matches": 27,
                    "wickets": 8,
                    "runs": 559,
                    "average": 69.88,
                    "economy": 4.74
                },
                {
                    "split": "2014",
                    "matches": 26,
                    "wickets": 12,
                    "runs": 486,
                    "average": 40.5,
                    "economy": 4.54
                },
                "... 13 more"
            ],
            "by_innings": [
                {
                    "split": 1,
                    "matches": 116,
                    "wickets": 53,
                    "runs": 2494,
                    "average": 47.06,
                    "economy": 5.03
                },
                {
                    "split": 2,
                    "matches": 107,
                    "wickets": 54,
                    "runs": 2236,
                    "average": 41.41,
                    "economy": 4.26
                },
                "... 2 more"
            ]
        }
    },
    "meta": {
        "plan": "plus"
    }
}

A real response from the database for the example request, on a Analyst Pro key. Lists are cut to their first two items.

Run it live

A real request from your browser straight to api.cricketdatabase.com with your own key. Keys you add are kept in this browser, and the page remembers the one you last used. No key yet? Get a free key.