Skip to content

Win probability

also: WP · win expectancy

The home team's chance of winning after each plate appearance, as computed upstream, from 2019.

It moves with the score, the inning, the outs and the runners. The swings show which plate appearances decided a game, and summed over a season they show who came through when it mattered.

get_plate_appearances carries it after every plate appearance from 2019, and get_game the game's range.

The common mistake

It is a published model, not ours, and it knows the situation, not who is batting or pitching.

The data behind it

Win probability comes from MLB pitch-by-pitch data and MLB spray chart data. MLB pitch-by-pitch since 2015 (about 98% of games to 2017, all from 2018): pitch type, velocity, location and the count, with the plate appearance. REST or MCP.

Where to get it

Related

Win probability from the API

500 free credits every month, no card. REST or MCP.

curl -X POST https://mcp.fastballapi.com/v1/get_plate_appearances \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "game_id": "401569531",
  "limit": 3
}'

get_plate_appearances: every parameter and the full response.

Also from FastballAPI: player props history by sportsbook · today's props board · every dataset

Get a free key