Skip to content

Win probability

also: WP · win prob

The chance a team wins, given the score, time left and who has the ball, recomputed on every play.

Each play of NBA games from 2018 carries a win probability for the home team. The curve is the shape of the game: a steady climb, a late swing, a comeback that never quite gets above 20%.

Differences between consecutive plays measure each play's weight. That is how a game's biggest moments are found, and how clutch performance is separated from a lead that was never in danger.

The common mistake

Win probability is a model's estimate from the game state, not the pregame price. Do not compare it with a sportsbook line from before tip-off.

The data behind it

Win probability comes from NBA play-by-play data and NBA shot chart data. Play-by-play for every NBA season since 2003-04: clock, score, players, shot type and location, and win probability from 2018. 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.dunkapi.com/v1/get_plays \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "game_id": "401585601",
  "shots_only": true,
  "limit": 3
}'

get_plays: every parameter and the full response.

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

Get a free key