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

Scoring shape

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

On each planFree keyNot includedMatch WeekNot includedArchiveNot includedProNot includedAnalyst ProIn full

Scoring shape: the share of dots, singles, twos, threes, fours and sixes, boundary runs and sixes per 100 balls.

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/scoring"

Response

{
    "data": {
        "player": "je-root",
        "format": "all",
        "balls": 39829,
        "runs": 27706,
        "strike_rate": 69.56,
        "pct": {
            "dots": 60,
            "singles": 26.8,
            "twos": 5,
            "threes": 0.9,
            "fours": 6.9,
            "sixes": 0.4
        },
        "counts": {
            "dots": 23913,
            "singles": 10660,
            "twos": 1982,
            "threes": 350,
            "fours": 2745,
            "sixes": 167,
            "all_run_boundaries": 10
        },
        "boundary_runs_pct": 43.2,
        "sixes_per_100_balls": 0.4
    },
    "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.