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

Win probability

GET/v1/analytics/matches/{match}/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. model gives when they were fitted, how many matches they learned from, and their Brier score on matches held back from fitting (0 is perfect, 0.25 is a coin toss).

Parameters

NameInValuesRequired
matchpathmatch addressyes

Request

curl -H "Authorization: Bearer $CDB_KEY" \
  "https://api.cricketdatabase.com/v1/analytics/matches/2026-09-17-sri-lanka-v-england/win-probability"

Response

{
    "error": {
        "code": "server_error",
        "message": "The win-probability model is being fitted for the first time. Try again later.",
        "docs": "https://cricketdatabase.com/documentation/guides/errors"
    }
}

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.