MLB Live Pitch-by-Pitch API

One record per pitch from MLB and minor-league games, live or past: pitcher, batter, pitch type, velocity, spin, location, the call, the count and, for balls in play, exit velocity, launch angle and distance.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 24 fieldsv1.0

Data from statsapi.mlb.com/api/v1.1/game/776135/feed/live

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Game pksoptional
MLB game ids (gamePk), MLB or minor leagues. One per line, or separated by commas.
Example: 776135
Datesoptional
Game days, YYYY-MM-DD; every MLB game of the day is read. One per line, or separated by commas.
Example: 2026-09-20
Teamsoptional
Only games of these teams, by name or part of it, such as Houston Astros. One per line, or separated by commas.
Example: Houston Astros

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/mlb-live-game-feed/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/mlb-live-game-feed/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"game_pks":[776135]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

game_pkslist
MLB game ids (gamePk), MLB or minor leagues.
example: 776135
dateslist
Game days, YYYY-MM-DD; every MLB game of the day is read.
example: 2026-09-20
teamslist
Only games of these teams, by name or part of it, such as Houston Astros.
example: Houston Astros

What's in each record

24 fields: 21 here, 3 technical ones under Technical details.

Basics

  • Game ID

    MLB's game id.

    Example 776135

  • Inning number

    Example 1

  • Half inning

    top or bottom.

    Example top

  • At bat index

    Plate appearance number within the game, from 0.

    Example 0

  • Pitch number

    Pitch number within the plate appearance.

    Example 1

  • Batter name

    Batter's name.

    Example Zach Cole

  • Pitcher name

    Pitcher's name.

    Example Sam Aldegheri

  • Pitch type

    Pitch type, such as Four-Seam Fastball.

    Example Four-Seam Fastball

  • Start speed

    Release speed in mph.

    Example 91.3

  • Spin rate

    Spin rate in rpm.

    Example 2,373

  • Zone

    Strike-zone cell 1 to 14 where the pitch crossed the plate.

    Example 13

  • Plate x

    Horizontal position at the plate in feet.

    Example -0.812302

  • Plate z

    Height at the plate in feet.

    Example 1.264378

  • Call

    Result of the pitch, such as Ball, Called Strike or In play, no out.

    Example Ball

  • Balls

    Balls in the count after the pitch.

    Example 1

  • Strikes

    Strikes in the count after the pitch.

    Example 0

  • Outs

    Outs after the pitch.

    Example 0

  • Event

    Result of the plate appearance on its last pitch, such as Single or Strikeout.

  • Launch speed

    Exit velocity of a ball in play in mph.

  • Launch angle

    Launch angle of a ball in play in degrees.

  • Hit distance

    Distance of a ball in play in feet.

Technical detailsField names and types for developers, and the 3 fields hidden above

Hidden by default

These 3 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idGame id, at-bat index and pitch number.
  • Batter ID batter_idMLB's batter id.
  • Pitcher ID pitcher_idMLB's pitcher id.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
game_pktextGame ID3 of 3
inningnumberInning number3 of 3
half_inningtextHalf inning3 of 3
at_bat_indexnumberAt bat index3 of 3
pitch_numbernumberPitch number3 of 3
batter_idtextBatter ID (hidden)3 of 3
batter_nametextBatter name3 of 3
pitcher_idtextPitcher ID (hidden)3 of 3
pitcher_nametextPitcher name3 of 3
pitch_typetextPitch type3 of 3
start_speednumberStart speed3 of 3
spin_ratenumberSpin rate3 of 3
zonenumberZone3 of 3
plate_xnumberPlate x3 of 3
plate_znumberPlate z3 of 3
calltextCall3 of 3
ballsnumberBalls3 of 3
strikesnumberStrikes3 of 3
outsnumberOuts3 of 3
eventtextEvent0 of 3
launch_speednumberLaunch speed0 of 3
launch_anglenumberLaunch angle0 of 3
hit_distancenumberHit distance0 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordGame IDInning numberHalf inningAt bat indexPitch numberBatter namePitcher namePitch typeStart speedSpin rateZonePlate xPlate zCallBallsStrikesOutsEventLaunch speedLaunch angleHit distance
17761351top01Zach ColeSam AldegheriFour-Seam Fastball91.32,37313-0.8123021.264378Ball100————
27761351top02Zach ColeSam AldegheriFour-Seam Fastball93.12,3587-0.3026921.806867Called Strike110————
37761351top03Zach ColeSam AldegheriFour-Seam Fastball91.82,34611-0.056973.774911Ball210————

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Pick games by game_pks, by dates (every MLB game that day) or leave both empty for today's MLB games; one request is made per game, so a full slate takes a few seconds per game.
  • While a game is on, the feed holds the pitches thrown so far and updates within seconds; games not started yet return no pitches.
  • Pitch speed, spin, zone and location come from MLB's tracking and can be empty for pitches without tracking data (some minor-league parks, intentional balls).
  • balls, strikes and outs are the count after the pitch. event holds the result of the plate appearance and is filled only on its last pitch; launch fields are filled only for balls in play.
  • dates covers MLB games only; for a minor-league game pass its game_pks. At most 10,000 pitches per run.
  • MLB's notice on every response allows only individual, non-commercial, non-bulk use without written authorization. Get MLB's permission before using this data commercially.

Version history

A run uses the live version unless the request names another one with version.