Primary position code
primaryPositionCode
Optional
MLB StatsAPI Baseball Data Scraper
Pricing
from $0.03 / 1,000 item extracteds
Extract official MLB schedules, scores, teams, rosters, standings, players, statistics, leagues, divisions, and venues from StatsAPI.
Record type
recordType
Optional
Adapter and MLB entity type that produced this row.
Stable MLB ID
recordId
Optional
Stable MLB source ID or a composite ID; colliding player-stat splits include team and, if needed, split ordinal.
Name
name
Optional
Human-readable entity or matchup label when available.
Season
season
Optional
MLB season associated with the source record when available.
Official date
officialDate
Optional
Official schedule date for a game row.
Game date/time
gameDate
Optional
Scheduled game timestamp supplied by MLB.
Status
status
Optional
Game or roster status supplied by MLB.
Game type
gameType
Optional
MLB game-type code such as regular season, spring, or postseason.
Game state
abstractGameState
Optional
Abstract preview, live, or final state for a schedule row.
Team ID
teamId
Optional
Stable MLB team ID for the row.
Short team name
teamName
Optional
MLB team's short display name, when present.
Player ID
playerId
Optional
Stable MLB player ID for the row.
Player name
fullName
Optional
Player's full display name.
Home team ID
homeTeamId
Optional
Stable MLB home-team ID for schedule rows.
Home team
homeTeamName
Optional
Home team name for schedule rows.
Home score
homeScore
Optional
Home score at fetch time.
Away team ID
awayTeamId
Optional
Stable MLB away-team ID for schedule rows.
Away team
awayTeamName
Optional
Away team name for schedule rows.
Away score
awayScore
Optional
Away score at fetch time.
Wins
wins
Optional
Team wins for standings rows.
Losses
losses
Optional
Team losses for standings rows.
Stat group
statGroup
Optional
Hitting, pitching, or fielding group for player-stat rows.
Stat type
statType
Optional
Season, career, advanced, or year-by-year statistic scope.
Statistics
stats
Optional
Structured statistic values returned for a player split.
Venue ID
venueId
Optional
Stable MLB venue ID when associated with the row.
Venue
venueName
Optional
Venue name associated with a game, team, or venue row.
Current inning
currentInning
Optional
Current or final inning number when linescore data is available.
Abbreviation
abbreviation
Optional
Location
locationName
Optional
First year
firstYearOfPlay
Optional
Active
active
Optional
League ID
leagueId
Optional
League
leagueName
Optional
Division ID
divisionId
Optional
Division
divisionName
Optional
Jersey number
jerseyNumber
Optional
Position code
positionCode
Optional
Position
positionName
Optional
Standings type
standingsType
Optional
Games played
gamesPlayed
Optional
Winning percentage
winningPercentage
Optional
Division rank
divisionRank
Optional
League rank
leagueRank
Optional
Wild-card rank
wildCardRank
Optional
Games back
gamesBack
Optional
Wild-card games back
wildCardGamesBack
Optional
Streak
streak
Optional
First name
firstName
Optional
Last name
lastName
Optional
Birth date
birthDate
Optional
Current age
currentAge
Optional
Primary position code
primaryPositionCode
Optional
Primary position
primaryPositionName
Optional
Current team ID
currentTeamId
Optional
Current team
currentTeamName
Optional
Stat date
date
Optional
Parent organization ID
parentId
Optional
City
city
Optional
State
state
Optional
Country
country
Optional
Source URL
sourceUrl
Optional
Exact MLB StatsAPI request URL used for the record.
Fetched at
fetchedAt
Optional
UTC timestamp when the source response was normalized.
Raw MLB record
raw
Optional
Complete endpoint record retained for source fidelity.