Skip to content

Base-out state

also: base-out situation · 24 base-out states

The number of outs and which bases are occupied: the situation a plate appearance starts in.

With 0, 1 or 2 outs and each of first, second and third either occupied or not, there are 24 possible states. Each plate appearance in the data records the state before it.

It is the building block of run expectancy and RE24, and the filter for situational questions like hitting with runners in scoring position.

The common mistake

Runners are recorded as they stand when the plate appearance starts. A stolen base during the at-bat changes the state mid-plate-appearance; the next row shows it.

The data behind it

Base-out state 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

Base-out state 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