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

Win probability

On each planFree keySampleMatch WeekSampleArchiveSampleProSampleAnalyst ProIn full

After each over of a one-day or T20 match, how likely the batting side was to win, from models fitted on our own ball-by-ball record of completed matches: one for the first innings, one for the chase.

GEThttps://api.cricketdatabase.com/v1/analytics/matches/{match}/win-probability

Try it

Kept in this browser and filled in on every docs page.

Press Run to call the API with your key. The answer appears here.

    

Parameters

NameTypeRequiredDescriptionValues
matchstringyesIn the address: the match's address name2026-09-17-sri-lanka-v-england

Returns

FieldTypeWhat it holds
dataobject
data.matchstringThe match's address name, for /v1/matches/{match}
data.formatstringtest, odi, t20i, t20, multi-day or one-day
data.resultstringThe result in words
data.innings[]arrayThe innings number: innings, team, name, target, overs
data.innings[].overs[].overintegerThe over number
data.innings[].overs[].totalintegerItems in all, with these filters
data.innings[].overs[].wicketsintegerWickets
data.innings[].overs[].win_probabilitynumber
data.modelobject
data.model.fitted_atstring
data.model.learned_from_matchesinteger
data.model.brier_first_inningsnumber
data.model.brier_chasenumber
metaobject
meta.planstringThe plan the key is on
meta.notestring

Example answer

A real answer for /v1/analytics/matches/2026-09-17-sri-lanka-v-england/win-probability, lists cut to their first two items.

{
    "data": {
        "match": "2026-09-17-sri-lanka-v-england",
        "format": "T20",
        "result": "England won by 6 wickets",
        "innings": [
            {
                "innings": 1,
                "team": "sri-lanka",
                "name": "Sri Lanka",
                "target": null,
                "overs": [
                    {
                        "over": 0,
                        "total": 0,
                        "wickets": 0,
                        "win_probability": 0.411
                    },
                    {
                        "over": 1,
                        "total": 3,
                        "wickets": 0,
                        "win_probability": 0.433
                    },
                    "... 19 more"
                ]
            },
            {
                "innings": 2,
                "team": "england",
                "name": "England",
                "target": 146,
                "overs": [
                    {
                        "over": 0,
                        "total": 0,
                        "wickets": 0,
                        "win_probability": 0.663
                    },
                    {
                        "over": 1,
                        "total": 4,
                        "wickets": 0,
                        "win_probability": 0.672
                    },
                    "... 12 more"
                ]
            }
        ],
        "model": {
            "fitted_at": "2026-11-29T05:10:03Z",
            "learned_from_matches": 14011,
            "brier_first_innings": 0.2136,
            "brier_chase": 0.1221
        }
    },
    "meta": {
        "plan": "plus",
        "note": "win_probability is the batting side's chance of winning after each over (over 0 is before the first ball). Fitted on our own ball-by-ball record of completed matches; a match with a rain rule is read as if played in full. A Brier score of 0 is perfect and 0.25 is a coin toss."
    }
}

Errors

StatusCodeWhen
400bad_requestA value is not one this parameter takes, or the key was sent in the address
401unauthorizedNo key, or one that is unknown or revoked
403upgrade_requiredThe plan does not reach it; the answer names the plan that does
404not_foundNothing at that address
422unknown_parameterA parameter this endpoint does not take
429rate_limitedToo fast: wait for Retry-After
429quota_exceededThe day's calls are used: they reset at midnight UTC