primaryNumber
Optional
Primary jersey number as text.
MLB Stats Scraper — Players, Teams, Scores & Standings
Pricing
from $3.00 / 1,000 mlb records
Extract structured MLB player statistics, team rosters, game schedules, scores, standings, and game details. Eight extraction modes with flexible filters and clean JSON output.
Pricing
from $3.00 / 1,000 mlb records
Rating
0.0
(0)
Developer
Zapticx
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Security
Limited permissionsShare
recordType
Required
team, roster_entry, player, batting_stats, pitching_stats, game, standing or game_detail.
dedupKey
Required
Deterministic unique key for the record; duplicates are never written twice.
source
Required
Data source name.
sourceEndpoint
Optional
API path the record came from (no host, no query string).
scrapedAt
Required
When the run retrieved the data (ISO 8601, UTC).
season
Optional
Season year. Null for career totals.
teamId
Optional
MLB team ID.
teamName
Optional
Team display name.
abbreviation
Optional
Team abbreviation, e.g. NYY.
teamCode
Optional
Short team code used by MLB, e.g. nya.
shortName
Optional
Short team name.
clubName
Optional
Club name, e.g. Yankees.
franchiseName
Optional
Franchise name.
locationName
Optional
Team location, e.g. Bronx.
leagueId
Optional
League ID (103 American League, 104 National League).
leagueName
Optional
League name.
divisionId
Optional
Division ID.
divisionName
Optional
Division name.
venueId
Optional
Venue ID.
venueName
Optional
Venue name.
firstYearOfPlay
Optional
First season the franchise played.
active
Optional
Whether the team or player is active according to the source.
rosterType
Optional
Roster type requested: active, 40Man or fullSeason.
rosterTypeReturned
Optional
Roster type the API actually returned; for past seasons it substitutes fullSeason.
playerId
Optional
MLB player (person) ID.
playerName
Optional
Player full name.
jerseyNumber
Optional
Jersey number as text (keeps values like 00).
positionCode
Optional
Position code.
positionName
Optional
Position name.
positionAbbreviation
Optional
Position abbreviation, e.g. RF, SP, TWP.
positionType
Optional
Position type, e.g. Outfielder, Pitcher.
statusCode
Optional
Roster status code, or the schedule status code for games.
statusDescription
Optional
Roster status, e.g. Active, Injured 10-Day.
batSide
Optional
Bats: L, R or S.
pitchHand
Optional
Throws: L or R.
fullName
Optional
Player full name.
firstName
Optional
First name.
lastName
Optional
Last name.
primaryNumber
Optional
Primary jersey number as text.
primaryPositionCode
Optional
Primary position code.
primaryPositionName
Optional
Primary position name.
primaryPositionAbbreviation
Optional
Primary position abbreviation.
currentTeamId
Optional
Current team ID, where the source gives one.
currentTeamName
Optional
Current team name.
birthDate
Optional
Birth date (YYYY-MM-DD).
birthCountry
Optional
Birth country.
height
Optional
Height as published, e.g. 6' 7".
heightInches
Optional
Height in inches, parsed from height.
weightLbs
Optional
Weight in pounds.
mlbDebutDate
Optional
MLB debut date (YYYY-MM-DD).
draftYear
Optional
Draft year, where known.
statType
Optional
season, career or yearByYear.
gameType
Optional
Game type code: R regular season, P postseason, W World Series, etc.
splitType
Optional
team = one club's line; total = the aggregate line for a traded player (or a career total).
numTeams
Optional
Number of teams the total line covers.
leagueRank
Optional
Rank in the league table (league tables), or league rank (standings).
sourceKind
Optional
player, team_roster or league_table - how the line was requested.
gamesPlayed
Optional
Games played.
plateAppearances
Optional
Plate appearances.
atBats
Optional
At-bats.
runs
Optional
Runs (scored for batters, allowed for pitchers).
hits
Optional
Hits (for pitchers: hits allowed).
doubles
Optional
Doubles (for pitchers: allowed).
triples
Optional
Triples (for pitchers: allowed).
homeRuns
Optional
Home runs (line score).
rbi
Optional
Runs batted in.
totalBases
Optional
Total bases.
baseOnBalls
Optional
Walks (for pitchers: walks issued).
intentionalWalks
Optional
Intentional walks.
strikeOuts
Optional
Strikeouts.
hitByPitch
Optional
Hit by pitch.
sacFlies
Optional
Sacrifice flies.
sacBunts
Optional
Sacrifice bunts.
stolenBases
Optional
Stolen bases.
caughtStealing
Optional
Caught stealing.
groundIntoDoublePlay
Optional
Grounded into double play.
leftOnBase
Optional
Left on base.
numberOfPitches
Optional
Pitches seen (batters) or thrown (pitchers).
avg
Optional
Batting average, e.g. 0.331. Null when there were no at-bats (source '.---').
obp
Optional
On-base percentage.
slg
Optional
Slugging percentage.
ops
Optional
On-base plus slugging.
babip
Optional
Batting average on balls in play.
stolenBasePercentage
Optional
Stolen-base success rate.
atBatsPerHomeRun
Optional
At-bats per home run.
gamesPitched
Optional
Games pitched.
gamesStarted
Optional
Games started.
gamesFinished
Optional
Games finished.
completeGames
Optional
Complete games.
shutouts
Optional
Shutouts.
wins
Optional
Wins.
losses
Optional
Losses.
saves
Optional
Saves.
saveOpportunities
Optional
Save opportunities.
blownSaves
Optional
Blown saves.
holds
Optional
Holds.
battersFaced
Optional
Batters faced.
earnedRuns
Optional
Earned runs.
hitBatsmen
Optional
Hit batsmen.
wildPitches
Optional
Wild pitches.
balks
Optional
Balks.
strikes
Optional
Strikes thrown.
inheritedRunners
Optional
Inherited runners.
inheritedRunnersScored
Optional
Inherited runners who scored.
inningsPitched
Optional
Innings pitched in baseball notation, e.g. 106.2 = 106 and 2/3 innings. Kept as text on purpose.
inningsPitchedOuts
Optional
Innings pitched as outs recorded (106.2 = 320). Use this for arithmetic.
inningsPitchedDecimal
Optional
Innings pitched as a true decimal (106.2 = 106.667).
inningsPitchedConsistent
Optional
True when the API's outs count agrees with its inningsPitched text.
era
Optional
Earned run average. Null when undefined (source '-.--' or '*.**').
whip
Optional
Walks plus hits per inning pitched.
winPercentage
Optional
Win percentage.
strikeoutsPer9Inn
Optional
Strikeouts per nine innings.
walksPer9Inn
Optional
Walks per nine innings.
hitsPer9Inn
Optional
Hits per nine innings.
homeRunsPer9
Optional
Home runs per nine innings.
strikeoutWalkRatio
Optional
Strikeout-to-walk ratio.
strikePercentage
Optional
Share of pitches that were strikes.
opponentAvg
Optional
Opponents' batting average.
opponentObp
Optional
Opponents' on-base percentage.
opponentSlg
Optional
Opponents' slugging percentage.
gamePk
Optional
MLB game ID (gamePk).
officialDate
Optional
Official game date in the local time zone (YYYY-MM-DD).
gameDateUtc
Optional
Scheduled first pitch (ISO 8601, UTC).
gameTypeName
Optional
Game type in words.
statusAbstract
Optional
Preview, Live or Final.
statusDetailed
Optional
Detailed status, e.g. Final, Postponed, In Progress.
startTimeTBD
Optional
True when the start time is not yet set.
doubleHeader
Optional
N = not a doubleheader, Y = traditional, S = split doubleheader.
gameNumber
Optional
Game number of the day (2 for the second game of a doubleheader).
dayNight
Optional
day or night.
scheduledInnings
Optional
Scheduled innings.
seriesDescription
Optional
Series description, e.g. Regular Season, World Series.
seriesGameNumber
Optional
Game number within the series.
gamesInSeries
Optional
Games in the series.
isTie
Optional
True when the game ended in a tie.
winningPitcherId
Optional
Winning pitcher ID.
winningPitcherName
Optional
Winning pitcher.
losingPitcherId
Optional
Losing pitcher ID.
losingPitcherName
Optional
Losing pitcher.
savePitcherId
Optional
Save pitcher ID.
savePitcherName
Optional
Save pitcher.
standingsType
Optional
Standings type, e.g. regularSeason.
divisionRank
Optional
Rank within the division.
wildCardRank
Optional
Wild-card rank, where given.
winningPercentage
Optional
Winning percentage, e.g. 0.605.
gamesBack
Optional
Games behind the division leader, as published ('-' for the leader).
gamesBackNum
Optional
Games behind as a number (leader = 0).
wildCardGamesBack
Optional
Wild-card games back as published; '+9.5' means 9.5 games ahead of the cut line.
runsScored
Optional
Runs scored.
runsAllowed
Optional
Runs allowed.
runDifferential
Optional
Run differential.
homeWins
Optional
Home team's season wins entering or after the game, as published.
homeLosses
Optional
Home team's season losses, as published.
awayWins
Optional
Away team's season wins entering or after the game, as published.
awayLosses
Optional
Away team's season losses, as published.
lastTenWins
Optional
Wins in the last ten games.
lastTenLosses
Optional
Losses in the last ten games.
streakCode
Optional
Current streak, e.g. W3 or L1.
clinchIndicator
Optional
Clinch indicator as published (e.g. z, y, x, w).
divisionChamp
Optional
True when the team won its division.
eliminationNumber
Optional
Elimination number as published ('E' when eliminated).
magicNumber
Optional
Magic number as published.
inningsPlayed
Optional
Innings played.
lineScore
Optional
Runs per inning: [{inning, awayRuns, homeRuns}]. An unplayed half-inning is null, not 0.
attendance
Optional
Attendance, where published.
gameDuration
Optional
Game duration as published, e.g. 2:23.
awayTeamId
Optional
Away team ID.
awayTeamName
Optional
Away team name.
awayScore
Optional
Away score (null before the game has a score).
awayIsWinner
Optional
True when the away team won.
awayProbablePitcherId
Optional
Away probable pitcher ID.
awayProbablePitcherName
Optional
Away probable pitcher.
awayRuns
Optional
Away runs (line score).
awayHits
Optional
Away hits (line score).
awayErrors
Optional
Away errors (line score).
awayLeftOnBase
Optional
Away runners left on base.
awayStartingPitcherId
Optional
Away starting pitcher ID (first pitcher used).
awayStartingPitcherName
Optional
Away starting pitcher.
awayLineup
Optional
Away starting lineup: [{battingOrder, playerId, playerName, position}].
awayBatting
Optional
Away team batting totals.
awayPitching
Optional
Away team pitching totals (inningsPitched in baseball notation plus outs).
homeTeamId
Optional
Home team ID.
homeTeamName
Optional
Home team name.
homeScore
Optional
Home score (null before the game has a score).
homeIsWinner
Optional
True when the home team won.
homeProbablePitcherId
Optional
Home probable pitcher ID.
homeProbablePitcherName
Optional
Home probable pitcher.
homeHits
Optional
Home hits (line score).
homeErrors
Optional
Home errors (line score).
homeLeftOnBase
Optional
Home runners left on base.
homeStartingPitcherId
Optional
Home starting pitcher ID (first pitcher used).
homeStartingPitcherName
Optional
Home starting pitcher.
homeLineup
Optional
Home starting lineup: [{battingOrder, playerId, playerName, position}].
homeBatting
Optional
Home team batting totals.
homePitching
Optional
Home team pitching totals (inningsPitched in baseball notation plus outs).