Fantasy Data

MLB Data Dictionary


The FantasyData MLB API has a new home over at SportsDataIO Discovery Lab, a platform built to offer affordable sports data for students, hobbyists and personal projects.

If you're looking for a more extensive product to power your website or application, we encourage you to check out SportsDataIO's commercial MLB API.

Below you will find a list of all data points that are contained within each feed that we offer. If any of the information provided below is unclear, or if you have a specific question, please contact support.

Go to our developer portal for a full list of operations including deprecated, legacy and test endpoints.

All dates & times are in US Eastern Time.

Choose League:

Core

This table is used in the following endpoints:
Name Type Size Nullable Scrambled CSV Description
PlayerID integer 32 No No No The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career
Status string 50 Yes No Yes Indicates the player's status of being on an Major League Active Roster. Possible values include: Active, 40 Man Active, Non-Roster Invitee, Minors, Inactive, 7 Day Injury List, 10 Day Injury List, 15 Day Injury List, 60 Day Injury List, Restricted List, Paternity List, Bereavement List, Military List
TeamID integer 32 Yes No No The team's unique TeamID as assigned by SportsDataIO
Team string 10 Yes No No The abbreviation [Key] of the team that the player belongs to
Jersey integer 32 Yes No Yes The player's jersey number.
PositionCategory string 10 Yes No Yes The player's position category. Possible values: DH, IF, OF, P, PH, PR
Position string 10 Yes No No The player's position associated with the given game or season. Possible values: 1B; 2B; 3B; C; CF; DH; IF; LF; OF; P; PH; PR; RF; RP; SP; SS
FirstName string 50 Yes No No The player's first name
LastName string 50 Yes No No The player's last name
BatHand string 1 Yes No Yes The player's batting hand. Possible values: R, L, S
ThrowHand string 1 Yes No Yes The player's throwing hand. Possible values: R, L, S
Height integer 32 Yes No No The player's height in inches
Weight integer 32 Yes No No The weight of the player in pounds (lbs).
BirthDate datetime Yes No No The player's date of birth
BirthCity string 50 Yes No No The city in which the player was born
BirthState string 50 Yes No No The state in which the player was born. Note: State will be NULL for all countries outside of North America and Australia
BirthCountry string 50 Yes No No The country in which the player was born
PhotoUrl string 250 Yes No No Field is expected to be NULL
InjuryStatus string 50 Yes Yes No The player's current injury status; in the form of likelihood that player plays. Possible values: Probable; Questionable; Doubtful; Out
FanDuelPlayerID integer 32 Yes No No The player's unique PlayerID for cross reference use with FanDuel
DraftKingsPlayerID integer 32 Yes No Yes The player's unique PlayerID for cross reference use with DraftKings.
FanDuelName string 50 Yes No No The player's name on FanDuel
DraftKingsName string 50 Yes No No The player's name on DraftKings
This table is used in the following endpoints:
FantasyData MLB Fantasy API
Current Season
FantasyData MLB Odds API
Current Season
Name Type Size Nullable Scrambled CSV Description
Season integer 32 No No No The MLB season for which these totals apply
RegularSeasonStartDate date Yes No Yes The start date of the regular season
PostSeasonStartDate date Yes No Yes The start date of the postseason
SeasonType string 10 Yes No Yes The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).
ApiSeason string 10 Yes No No The string to pass into subsequent API calls in the season parameter (e.g. 2025REG, 2025POST, etc.).
This table is used in the following endpoints:
FantasyData MLB Fantasy API
Standings
FantasyData MLB Odds API
Standings
Name Type Size Nullable Scrambled CSV Description
Season integer 32 No No No The MLB season for which these totals apply
SeasonType integer 32 No No No The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar)
TeamID Integer 32 No No No The team's unique TeamID as assigned by SportsDataIO
Key string 10 No No No Abbreviation of the team (e.g. LAD; PHI; BOS; CHC; etc.)
City string 50 Yes No No The city/location of the team (e.g. Los Angeles; Philadelphia; Boston; Chicago; etc.)
Name string 50 Yes No No Team's full name (city and mascot)
League string 20 Yes No No The league of the team (possible values: AL; NL)
Division string 20 Yes No Yes The division of the team (e.g. East, Central, West)
Wins integer 32 Yes No No The total number of wins by a team in the season
Losses integer 32 Yes No No Total number of losses by the team in the season
Percentage decimal 32 Yes No No Winning percentage of a team
DivisionWins integer 32 Yes No No Total number of division wins in the season
DivisionLosses integer 32 Yes No No Total number of division losses in a season
GamesBehind
from 2012
decimal 32 Yes No No Number of games behind the first place team
LastTenGamesWins
from 2012
integer 32 Yes No No Total number of wins in the last ten games
LastTenGamesLosses
from 2012
integer 32 Yes No No Total number of losses in the last ten games
Streak
from 2012
string 10 Yes No Yes Current streak the team is on (e.g. Win 3, Lost 3)
LeagueRank integer 32 Yes No Yes The ranking in the league
DivisionRank integer 32 Yes No No The ranking in the division (e.g. 1, 2, 3, 4, 5)
WildCardRank
from 2012
integer 32 Yes No No The rank of the team in terms of Wild Card standings only
WildCardGamesBehind
from 2012
decimal 32 Yes No No The number of games behind a team is of the final Wild Card spot
HomeWins
from 2012
integer 32 Yes No No Total number of home wins in the season
HomeLosses
from 2012
integer 32 Yes No No Total number of home losses in the season
AwayWins
from 2012
integer 32 Yes No No Total number of away wins in the season
AwayLosses
from 2012
integer 32 Yes No No Total number of away losses in the season
DayWins
from 2012
integer 32 Yes No No Total number of wins in daytime games
DayLosses
from 2012
integer 32 Yes No No Total number of losses in daytime games
NightWins
from 2012
integer 32 Yes No No Total number of wins in nighttime games
NightLosses
from 2012
integer 32 Yes No No Total number of losses in nighttime games
RunsScored
from 2012
integer 32 Yes No No Total runs scored by the team in the season
RunsAgainst
from 2012
integer 32 Yes No No Total number of runs scored by the opponents of a specified team
GlobalTeamID integer 32 Yes No No A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.
This table is used in the following endpoints:
FantasyData MLB Fantasy API
Teams (Active)
FantasyData MLB Odds API
Teams (Active)
Name Type Size Nullable Scrambled CSV Description
TeamID integer 32 No No No The team's unique TeamID as assigned by SportsDataIO
[Key] string 10 No No Yes Abbreviation of the team (e.g. LAD, PHI, BOS, CHC, etc.)
Active boolean No No No Whether or not this team is active
City string 50 Yes No Yes The city/location of the team (e.g. Los Angeles, Philadelphia, Boston, Chicago, etc.)
Name string 50 Yes No Yes The mascot of the team (e.g. Dodgers, Phillies, Red Sox, Cubs, etc.)
StadiumID integer 32 Yes No No The unique ID of the team's current home stadium
League string 10 Yes No Yes The league of the team (possible values: AL, NL)
Division string 10 Yes No No The division of the team (e.g. East; Central; West)
PrimaryColor string 6 Yes No Yes The team's primary color. (This is not licensed for public or commercial use)
SecondaryColor string 6 Yes No Yes The team's secondary color. (This is not licensed for public or commercial use)
TertiaryColor string 6 Yes No Yes The team's tertiary color. (This is not licensed for public or commercial use)
QuaternaryColor string 6 Yes No Yes The team's quaternary color. (This is not licensed for public or commercial use)
WikipediaLogoUrl string 250 Yes No Yes The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use)
WikipediaWordMarkUrl string 250 Yes No Yes The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use)
GlobalTeamID integer 32 No No No A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues

Fantasy

This table is used in the following endpoints:
FantasyData MLB Fantasy API
DFS Slates by Date
Name Type Size Nullable Scrambled CSV Description
SlateID integer 32 No No No The SlateID that this SlateGame refers to
Operator string 20 Yes No No The name of the operator who is running contests for this slate Possible values: FanDuel; DraftKings; Yahoo; FantasyDraft; etc.
OperatorSlateID integer 32 Yes No Yes Unique ID of a slate (assigned by the operator).
OperatorName string 50 Yes No Yes The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc.
OperatorDay date Yes No No The day (in EST/EDT) that the slate begins (assigned by the operator)
OperatorStartTime datetime Yes No Yes The date/time (in EST/EDT) that the slate begins (assigned by the operator).
NumberOfGames integer 32 Yes No No The number of actual games that this slate covers
IsMultiDaySlate boolean Yes No No Whether or not this slate uses games that take place on different days (true/false)
RemovedByOperator boolean Yes No Yes Indicates whether this slate was removed/deleted by the operator.
OperatorGameType string 50 Yes No No The game type of the slate. Note: Will often be null as most operators only have one game type
DfsSlateGames DfsSlateGame[] Yes No Yes The games that are included in this slate
DfsSlatePlayers DfsSlatePlayer[] Yes No Yes The players that are included in this slate
SlateRosterSlots string[] Yes No Yes The positions that need to be filled for this particular slate
SalaryCap integer Yes No Yes The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes)
This table is used in the following endpoints:
FantasyData MLB Fantasy API
DFS Slates by Date
Name Type Size Nullable Scrambled CSV Description
SlateGameID integer 32 No No No The SlateGameID that this SlatePlayer refers to
SlateID integer 32 No No No The SlateID that this SlateGame refers to
GameID integer 32 Yes No No The unique ID of the game tied to this SlateGame
Game Game Yes No No The details of the Game that this SlateGame refers to
OperatorGameID integer 32 Yes No No Unique ID of a SlateGame (assigned by the operator)
RemovedByOperator boolean Yes Yes No Indicates whether this game was removed/deleted by the operator.
This table is used in the following endpoints:
FantasyData MLB Fantasy API
DFS Slates by Date
Name Type Size Nullable Scrambled CSV Description
SlatePlayerID integer 32 No No No Unique ID of a SlatePlayer (assigned by SportsDataIO)
SlateID integer 32 No No No The SlateID that this SlatePlayer refers to
SlateGameID integer 32 Yes No No The SlateGameID that this SlatePlayer refers to
PlayerID integer 32 Yes No No The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career
PlayerGameProjectionStatID integer 32 Yes No Yes The SportsDataIO StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds.
OperatorPlayerID string 25 Yes No No Unique ID of the Player (assigned by the operator)
OperatorSlatePlayerID string 50 Yes No No Unique ID of the SlatePlayer (assigned by the operator)
OperatorPlayerName string 50 Yes No No The player's name (assigned by the operator)
OperatorPosition string 10 Yes No No The player's eligible positions for the contest (assigned by the operator)
OperatorSalary integer 32 Yes No No The player's salary for the contest (assigned by the operator)
OperatorRosterSlots string[] Yes No No The player's eligible positions to be played in the contest (assigned by the operator). Note: this would include UTIL; etc plays for those that are eligible.
RemovedByOperator boolean Yes Yes No Indicates whether this player was removed/deleted by the operator
Team string 10 Yes No No The abbreviation [Key] of the team
TeamID integer 32 Yes No No The team's unique TeamID as assigned by SportsDataIO
This table is used in the following endpoints:
FantasyData MLB Fantasy API
DFS Slates by Date
Name Type Size Nullable Scrambled CSV Description
GameID integer 32 No No Yes The unique ID of this game
Season integer 32 No No Yes The MLB season of the game
SeasonType integer 32 No No Yes The type of season stage the game belongs to, e.g. Regular season, Post-season. For a description of possible values and how they work, see <a href="https://support.sportsdata.io/hc/en-us/articles/15196612633623-Process-Guide-Season-Types-and-Parameters" target="_blank">here.
Status string 20 Yes No Yes The status of the game. For a description of possible values, see <a href="https://support.sportsdata.io/hc/en-us/articles/14287629964567-Process-Guide-Game-Status" target="_blank">here.</a> For how suspended and postponed games are handled specifically, see <a href="https://support.sportsdata.io/hc/en-us/articles/4404845580567-Postponed-and-Rescheduled-Games" target="_blank">here</a>.
Day date Yes No Yes The date of the game
DateTime datetime Yes No No The date and time of the game (in US Eastern Time)
AwayTeam string 10 No No No The abbreviation [Key] of the away team
HomeTeam string 10 No No No The abbreviation [Key] of the home team
AwayTeamID integer 32 No No No The unique TeamID of the away team
HomeTeamID integer 32 No No No The unique ID of the home team
StadiumID integer 32 Yes No Yes The unique ID of the stadium
AwayTeamRuns integer 32 Yes Yes No Number of runs scored by the away team in the game
HomeTeamRuns integer 32 Yes Yes No Number of runs scored by the home team in the game
AwayTeamProbablePitcherID integer 32 Yes No Yes The PlayerID of the away team's probable pitcher
HomeTeamProbablePitcherID integer 32 Yes No Yes The PlayerID of the home team's probable pitcher
AwayTeamStartingPitcherID integer 32 Yes No No The PlayerID of the away team's starting pitcher
HomeTeamStartingPitcherID integer 32 Yes No No The PlayerID of the home team starting pitcher in the game
PointSpread
from 2016
decimal 32 Yes Yes No The consensus Run Line at game start from the perspective of the HomeTeam (in the Game table, the PointSpread field's negative numbers indicate the HomeTeam is favored; positive numbers indicate the AwayTeam is favored. Note that this rule does not hold in betting-related tables, where the run line is contingent on the bet line). Note: In MLB, Point Spread may also be referred to as Run Line
OverUnder
from 2016
decimal 32 Yes Yes No The oddsmaker total points line at game start
AwayTeamMoneyLine
from 2016
integer 32 Yes Yes No Moneyline from the perspective of the away team
HomeTeamMoneyLine
from 2016
integer 32 Yes Yes No Moneyline from the perspective of the home team
ForecastTempLow
from 2016
integer 32 Yes Yes No The forecasted low temperature on game day at this venue (in Fahrenheit)
ForecastTempHigh
from 2016
integer 32 Yes Yes No The forecasted high temperature on game day at this venue (in Fahrenheit)
ForecastDescription
from 2016
string 50 Yes Yes Yes The description of the weather forecast. Posible values include: Broken Clouds, Clear Sky, Few Clouds, Heavy Intensity Rain, Light Rain, Moderate Rain, Mostly Cloudy, Mostly Sunny, Overcast Clouds, Partly Cloudy, Scattered Clouds, Showers, Thunderstorms
ForecastWindChill
from 2016
integer 32 Yes Yes Yes The forecasted wind chill on game day at this venue.
ForecastWindSpeed
from 2016
integer 32 Yes Yes Yes The forecasted wind speed on game day at this venue.
ForecastWindDirection
from 2016
integer 32 Yes Yes Yes The wind direction isn't baseball specific. It refers to the direction that the wind is coming from. 90 would be wind coming from the east. 180 is wind from the south. 270 is a wind from the west ... and so on.
AwayTeamStartingPitcher string 50 Yes Yes No The first and last name of the away team's starting pitcher for the game
HomeTeamStartingPitcher string 50 Yes Yes No The first and last name of the home team starting pitcher for the game
Innings Inning[] Yes No No The inning details associated with the game
HomeRotationNumber
from 2019
integer 32 Yes Yes Yes Rotation number of home team for this game
AwayRotationNumber
from 2019
integer 32 Yes Yes Yes Rotation number of away team for this game
NeutralVenue
from 2020
boolean Yes No No Indicates whether this game is played in a neutral venue. Note: Neutral = True, not neutral = False
OverPayout
from 2021
integer 32 Yes Yes No The sportsbook's payout for the over
UnderPayout
from 2021
integer 32 Yes Yes No The sportsbook's payout for the under
HomeTeamOpener boolean Yes No No Indicates whether the home team will use an opener as the starting pitcher. NOTE: An opener is a pitcher (typically a relief pitcher) that is only scheduled to pitch the first 1-3 innings of the game
AwayTeamOpener boolean Yes No No Indicates whether the away team will use an opener as the starting pitcher.. NOTE: An opener is a pitcher (typically a relief pitcher) that is only scheduled to pitch the first 1-3 innings of the game
This table is used in the following endpoints:
FantasyData MLB Fantasy API
DFS Slates by Date
Name Type Size Nullable Scrambled CSV Description
InningID integer 32 No No No The unique ID of this specific inning
GameID integer 32 No No No The unique ID of the game tied to this Inning
InningNumber integer 32 No No No The current inning number of the game
AwayTeamRuns integer 32 Yes Yes No Number of runs scored by the away team in the specific inning
HomeTeamRuns integer 32 Yes Yes No Number of runs scored by the home team in the specific inning
This table is used in the following endpoints:
FantasyData MLB Fantasy API
Player Game Stats by Date
Name Type Size Nullable Scrambled CSV Description
StatID integer 32 No No Yes The unique ID of the stat
TeamID integer 32 Yes No No The team's unique TeamID as assigned by SportsDataIO
PlayerID integer 32 Yes No No The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career
SeasonType integer 32 Yes No No The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar)
Season integer 32 Yes No Yes The MLB season of the game
Name string 50 Yes No No Player's full name
Team string 10 Yes No No The abbreviation [Key] of the team
Position string 10 Yes No Yes The player's position associated with the given game or season. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS
PositionCategory string 10 Yes No No The player's position category. Possible values: DH; IF; OF; P; PH; PR
Started integer 32 Yes No No Whether the player started in the game. Note: started = 1 and not starting = 0
InjuryStatus
from 2016
string 50 Yes Yes No The player's current injury status; in the form of likelihood that player plays. Possible values: Probable; Questionable; Doubtful; Out
GameID integer 32 Yes No Yes The unique ID of this game
OpponentID integer 32 Yes No Yes The unique ID of the team's opponent
Opponent string 10 Yes No Yes The name of the opponent 
Day date Yes No Yes The day of the game
DateTime datetime Yes No Yes The date and time of the game
HomeOrAway string 4 Yes No Yes Whether the team is home or away
Games integer 32 Yes No Yes The number of games played.
FantasyPoints decimal 32 Yes Yes Yes Total fantasy points
AtBats decimal 32 Yes Yes Yes At bats while hitting
Runs decimal 32 Yes Yes Yes Total runs scored.
Hits decimal 32 Yes Yes Yes Total hits
Singles decimal 32 Yes Yes Yes Total singles
Doubles decimal 32 Yes Yes Yes Total doubles
Triples decimal 32 Yes Yes Yes Total triples
HomeRuns decimal 32 Yes Yes Yes Total home runs
RunsBattedIn decimal 32 Yes Yes Yes Total runs batted in
BattingAverage decimal 32 Yes Yes Yes Total batting average
Outs decimal 32 Yes Yes Yes Total outs
Strikeouts decimal 32 Yes Yes Yes Total strikeouts
Walks decimal 32 Yes Yes Yes Total walks
HitByPitch decimal 32 Yes Yes Yes Total times hit by pitch
Sacrifices decimal 32 Yes Yes Yes Total sacrifices
SacrificeFlies decimal 32 Yes Yes Yes Total sacrifice flies
GroundIntoDoublePlay decimal 32 Yes Yes Yes Total times grounded into double play
StolenBases decimal 32 Yes Yes Yes Total stolen bases
CaughtStealing decimal 32 Yes Yes Yes Total caught stealing
OnBasePercentage decimal 32 Yes Yes Yes Total on base percentage
SluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage
OnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus percentage 
Wins decimal 32 Yes Yes Yes Total wins by the team/player
Losses decimal 32 Yes Yes Yes Total losses by the team/player
Saves decimal 32 Yes Yes Yes Total saves by team/player
InningsPitchedDecimal decimal 32 Yes Yes Yes Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)
TotalOutsPitched decimal 32 Yes Yes Yes Total outs pitched by team/player
InningsPitchedFull decimal 32 Yes Yes Yes Total full innings pitched (e.g. 6, 71, 89, etc)
InningsPitchedOuts decimal 32 Yes Yes Yes Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)
EarnedRunAverage decimal 32 Yes Yes Yes Total earned run average by team/player
PitchingHits decimal 32 Yes Yes Yes Hits allowed while pitching
PitchingRuns decimal 32 Yes Yes Yes Runs allowed while pitching
PitchingEarnedRuns decimal 32 Yes Yes Yes Earned runs allowed while pitching
PitchingWalks decimal 32 Yes Yes Yes Walks allowed while pitching
PitchingStrikeouts decimal 32 Yes Yes Yes Strikeouts allowed while pitching
PitchingHomeRuns decimal 32 Yes Yes Yes Home runs allowed while pitching
PitchesThrown decimal 32 Yes Yes Yes Total pitches thrown while pitching
PitchesThrownStrikes decimal 32 Yes Yes Yes Total pitches thrown for strikes while pitching
WalksHitsPerInningsPitched decimal 32 Yes Yes Yes Walks plus hits per innings pitched (WHIP) while pitching
PitchingBattingAverageAgainst decimal 32 Yes Yes Yes Total batting average against (BAA) while pitching
FantasyPointsFanDuel decimal 32 Yes Yes Yes Total FanDuel fantasy points
FantasyPointsDraftKings decimal 32 Yes Yes Yes Total DraftKings fantasy points
WeightedOnBasePercentage decimal 32 Yes Yes Yes Total weight on base percentage
PitchingCompleteGames decimal 32 Yes Yes Yes Total complete games while pitching
PitchingShutOuts decimal 32 Yes Yes Yes Total shuouts while pitching
PitchingOnBasePercentage decimal 32 Yes Yes Yes Total on base percentage (OBP) while pitching
PitchingSluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage (SLG) while pitching
PitchingOnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus slugging (OPS) while pitching
PitchingStrikeoutsPerNineInnings decimal 32 Yes Yes Yes Total strikeouts per nine innings (K/9) while pitching
PitchingWalksPerNineInnings decimal 32 Yes Yes Yes Total walks per nine innings (BB/9) while pitching
PitchingWeightedOnBasePercentage decimal 32 Yes Yes Yes Total weighted on base percentage while pitching 
FantasyPointsBatting decimal 32 Yes No Yes Total batting fantasy points
FantasyPointsPitching decimal 32 Yes No Yes Total pitching fantasy points
This table is used in the following endpoints:
Name Type Size Nullable Scrambled CSV Description
StatID integer 32 No No Yes The unique ID of the stat
TeamID integer 32 Yes No No The team's unique TeamID as assigned by SportsDataIO
PlayerID integer 32 Yes No No The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career
SeasonType integer 32 Yes No No The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar)
Season integer 32 Yes No Yes The MLB season of the game
Name string 50 Yes No No Player's full name
Team string 10 Yes No No The abbreviation [Key] of the team
Position string 10 Yes No Yes The player's position associated with the given game or season. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS
PositionCategory string 10 Yes No No The player's position category. Possible values: DH; IF; OF; P; PH; PR
Started integer 32 Yes No No Whether the player started in the game. Note: started = 1 and not starting = 0
InjuryStatus
from 2016
string 50 Yes Yes No The player's current injury status; in the form of likelihood that player plays. Possible values: Probable; Questionable; Doubtful; Out
GameID integer 32 Yes No Yes The unique ID of this game
OpponentID integer 32 Yes No Yes The unique ID of the team's opponent
Opponent string 10 Yes No Yes The name of the opponent 
Day date Yes No Yes The day of the game
DateTime datetime Yes No Yes The date and time of the game
HomeOrAway string 4 Yes No Yes Whether the team is home or away
Games integer 32 Yes No Yes The number of games played.
FantasyPoints decimal 32 Yes Yes Yes Total fantasy points
AtBats decimal 32 Yes Yes Yes At bats while hitting
Runs decimal 32 Yes Yes Yes Total runs scored.
Hits decimal 32 Yes Yes Yes Total hits
Singles decimal 32 Yes Yes Yes Total singles
Doubles decimal 32 Yes Yes Yes Total doubles
Triples decimal 32 Yes Yes Yes Total triples
HomeRuns decimal 32 Yes Yes Yes Total home runs
RunsBattedIn decimal 32 Yes Yes Yes Total runs batted in
BattingAverage decimal 32 Yes Yes Yes Total batting average
Outs decimal 32 Yes Yes Yes Total outs
Strikeouts decimal 32 Yes Yes Yes Total strikeouts
Walks decimal 32 Yes Yes Yes Total walks
HitByPitch decimal 32 Yes Yes Yes Total times hit by pitch
Sacrifices decimal 32 Yes Yes Yes Total sacrifices
SacrificeFlies decimal 32 Yes Yes Yes Total sacrifice flies
GroundIntoDoublePlay decimal 32 Yes Yes Yes Total times grounded into double play
StolenBases decimal 32 Yes Yes Yes Total stolen bases
CaughtStealing decimal 32 Yes Yes Yes Total caught stealing
OnBasePercentage decimal 32 Yes Yes Yes Total on base percentage
SluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage
OnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus percentage 
Wins decimal 32 Yes Yes Yes Total wins by the team/player
Losses decimal 32 Yes Yes Yes Total losses by the team/player
Saves decimal 32 Yes Yes Yes Total saves by team/player
InningsPitchedDecimal decimal 32 Yes Yes Yes Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)
TotalOutsPitched decimal 32 Yes Yes Yes Total outs pitched by team/player
InningsPitchedFull decimal 32 Yes Yes Yes Total full innings pitched (e.g. 6, 71, 89, etc)
InningsPitchedOuts decimal 32 Yes Yes Yes Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)
EarnedRunAverage decimal 32 Yes Yes Yes Total earned run average by team/player
PitchingHits decimal 32 Yes Yes Yes Hits allowed while pitching
PitchingRuns decimal 32 Yes Yes Yes Runs allowed while pitching
PitchingEarnedRuns decimal 32 Yes Yes Yes Earned runs allowed while pitching
PitchingWalks decimal 32 Yes Yes Yes Walks allowed while pitching
PitchingStrikeouts decimal 32 Yes Yes Yes Strikeouts allowed while pitching
PitchingHomeRuns decimal 32 Yes Yes Yes Home runs allowed while pitching
PitchesThrown decimal 32 Yes Yes Yes Total pitches thrown while pitching
PitchesThrownStrikes decimal 32 Yes Yes Yes Total pitches thrown for strikes while pitching
WalksHitsPerInningsPitched decimal 32 Yes Yes Yes Walks plus hits per innings pitched (WHIP) while pitching
PitchingBattingAverageAgainst decimal 32 Yes Yes Yes Total batting average against (BAA) while pitching
FantasyPointsFanDuel decimal 32 Yes Yes Yes Total FanDuel fantasy points
FantasyPointsDraftKings decimal 32 Yes Yes Yes Total DraftKings fantasy points
WeightedOnBasePercentage decimal 32 Yes Yes Yes Total weight on base percentage
PitchingCompleteGames decimal 32 Yes Yes Yes Total complete games while pitching
PitchingShutOuts decimal 32 Yes Yes Yes Total shuouts while pitching
PitchingOnBasePercentage decimal 32 Yes Yes Yes Total on base percentage (OBP) while pitching
PitchingSluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage (SLG) while pitching
PitchingOnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus slugging (OPS) while pitching
PitchingStrikeoutsPerNineInnings decimal 32 Yes Yes Yes Total strikeouts per nine innings (K/9) while pitching
PitchingWalksPerNineInnings decimal 32 Yes Yes Yes Total walks per nine innings (BB/9) while pitching
PitchingWeightedOnBasePercentage decimal 32 Yes Yes Yes Total weighted on base percentage while pitching 
FantasyPointsBatting decimal 32 Yes No Yes Total batting fantasy points
FantasyPointsPitching decimal 32 Yes No Yes Total pitching fantasy points
This table is used in the following endpoints:
FantasyData MLB Fantasy API
Player Season Stats
Name Type Size Nullable Scrambled CSV Description
StatID integer 32 No No No The unique ID of the stat
TeamID integer 32 Yes No No The team's unique TeamID as assigned by SportsDataIO
PlayerID integer 32 Yes No No The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career
SeasonType integer 32 Yes No No The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar)
Season integer 32 Yes No No The MLB season for which these totals apply
Name string 50 Yes No No Player's full name
Team string 10 Yes No No The abbreviation [Key] of the team
Position string 10 Yes No No The player's position associated with the given game or season. Possible values: 1B; 2B; 3B; C; CF; DH; IF; LF; OF; P; PH; PR; RF; RP; SP; SS
PositionCategory string 10 Yes No No The player's position category. Possible values: DH; IF; OF; P; PH; PR
Started integer 32 Yes No No Number of games started in the season
AverageDraftPosition decimal 32 Yes Yes No The auction value for this player as it pertains to auction-style drafts for season-long fantasy baseball
AuctionValue integer 32 Yes Yes No The auction value for this player as it pertains to auction-style drafts for season-long fantasy baseball
Games integer 32 Yes No Yes The number of games played.
FantasyPoints decimal 32 Yes Yes Yes Total fantasy points
AtBats decimal 32 Yes Yes Yes At bats while hitting
Runs decimal 32 Yes Yes Yes Total runs scored.
Hits decimal 32 Yes Yes Yes Total hits
Singles decimal 32 Yes Yes Yes Total singles
Doubles decimal 32 Yes Yes Yes Total doubles
Triples decimal 32 Yes Yes Yes Total triples
HomeRuns decimal 32 Yes Yes Yes Total home runs
RunsBattedIn decimal 32 Yes Yes Yes Total runs batted in
BattingAverage decimal 32 Yes Yes Yes Total batting average
Outs decimal 32 Yes Yes Yes Total outs
Strikeouts decimal 32 Yes Yes Yes Total strikeouts
Walks decimal 32 Yes Yes Yes Total walks
HitByPitch decimal 32 Yes Yes Yes Total times hit by pitch
Sacrifices decimal 32 Yes Yes Yes Total sacrifices
SacrificeFlies decimal 32 Yes Yes Yes Total sacrifice flies
GroundIntoDoublePlay decimal 32 Yes Yes Yes Total times grounded into double play
StolenBases decimal 32 Yes Yes Yes Total stolen bases
CaughtStealing decimal 32 Yes Yes Yes Total caught stealing
OnBasePercentage decimal 32 Yes Yes Yes Total on base percentage
SluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage
OnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus percentage 
Wins decimal 32 Yes Yes Yes Total wins by the team/player
Losses decimal 32 Yes Yes Yes Total losses by the team/player
Saves decimal 32 Yes Yes Yes Total saves by team/player
InningsPitchedDecimal decimal 32 Yes Yes Yes Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)
TotalOutsPitched decimal 32 Yes Yes Yes Total outs pitched by team/player
InningsPitchedFull decimal 32 Yes Yes Yes Total full innings pitched (e.g. 6, 71, 89, etc)
InningsPitchedOuts decimal 32 Yes Yes Yes Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)
EarnedRunAverage decimal 32 Yes Yes Yes Total earned run average by team/player
PitchingHits decimal 32 Yes Yes Yes Hits allowed while pitching
PitchingRuns decimal 32 Yes Yes Yes Runs allowed while pitching
PitchingEarnedRuns decimal 32 Yes Yes Yes Earned runs allowed while pitching
PitchingWalks decimal 32 Yes Yes Yes Walks allowed while pitching
PitchingStrikeouts decimal 32 Yes Yes Yes Strikeouts allowed while pitching
PitchingHomeRuns decimal 32 Yes Yes Yes Home runs allowed while pitching
PitchesThrown decimal 32 Yes Yes Yes Total pitches thrown while pitching
PitchesThrownStrikes decimal 32 Yes Yes Yes Total pitches thrown for strikes while pitching
WalksHitsPerInningsPitched decimal 32 Yes Yes Yes Walks plus hits per innings pitched (WHIP) while pitching
PitchingBattingAverageAgainst decimal 32 Yes Yes Yes Total batting average against (BAA) while pitching
FantasyPointsFanDuel decimal 32 Yes Yes Yes Total FanDuel fantasy points
FantasyPointsDraftKings decimal 32 Yes Yes Yes Total DraftKings fantasy points
WeightedOnBasePercentage decimal 32 Yes Yes Yes Total weight on base percentage
PitchingCompleteGames decimal 32 Yes Yes Yes Total complete games while pitching
PitchingShutOuts decimal 32 Yes Yes Yes Total shuouts while pitching
PitchingOnBasePercentage decimal 32 Yes Yes Yes Total on base percentage (OBP) while pitching
PitchingSluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage (SLG) while pitching
PitchingOnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus slugging (OPS) while pitching
PitchingStrikeoutsPerNineInnings decimal 32 Yes Yes Yes Total strikeouts per nine innings (K/9) while pitching
PitchingWalksPerNineInnings decimal 32 Yes Yes Yes Total walks per nine innings (BB/9) while pitching
PitchingWeightedOnBasePercentage decimal 32 Yes Yes Yes Total weighted on base percentage while pitching 
FantasyPointsBatting decimal 32 Yes No Yes Total batting fantasy points
FantasyPointsPitching decimal 32 Yes No Yes Total pitching fantasy points
This table is used in the following endpoints:
FantasyData MLB Fantasy API
Projected Player Season Stats (with ADP)
Name Type Size Nullable Scrambled CSV Description
StatID integer 32 No No No The unique ID of the stat
TeamID integer 32 Yes No No The team's unique TeamID as assigned by SportsDataIO
PlayerID integer 32 Yes No No The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career
SeasonType integer 32 Yes No No The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar)
Season integer 32 Yes No No The MLB season for which these totals apply
Name string 50 Yes No No Player's full name
Team string 10 Yes No No The abbreviation [Key] of the team
Position string 10 Yes No No The player's position associated with the given game or season. Possible values: 1B; 2B; 3B; C; CF; DH; IF; LF; OF; P; PH; PR; RF; RP; SP; SS
PositionCategory string 10 Yes No No The player's position category. Possible values: DH; IF; OF; P; PH; PR
Started integer 32 Yes No No Number of games started in the season
AverageDraftPosition decimal 32 Yes Yes No The auction value for this player as it pertains to auction-style drafts for season-long fantasy baseball
AuctionValue integer 32 Yes Yes No The auction value for this player as it pertains to auction-style drafts for season-long fantasy baseball
Games integer 32 Yes No Yes The number of games played.
FantasyPoints decimal 32 Yes Yes Yes Total fantasy points
AtBats decimal 32 Yes Yes Yes At bats while hitting
Runs decimal 32 Yes Yes Yes Total runs scored.
Hits decimal 32 Yes Yes Yes Total hits
Singles decimal 32 Yes Yes Yes Total singles
Doubles decimal 32 Yes Yes Yes Total doubles
Triples decimal 32 Yes Yes Yes Total triples
HomeRuns decimal 32 Yes Yes Yes Total home runs
RunsBattedIn decimal 32 Yes Yes Yes Total runs batted in
BattingAverage decimal 32 Yes Yes Yes Total batting average
Outs decimal 32 Yes Yes Yes Total outs
Strikeouts decimal 32 Yes Yes Yes Total strikeouts
Walks decimal 32 Yes Yes Yes Total walks
HitByPitch decimal 32 Yes Yes Yes Total times hit by pitch
Sacrifices decimal 32 Yes Yes Yes Total sacrifices
SacrificeFlies decimal 32 Yes Yes Yes Total sacrifice flies
GroundIntoDoublePlay decimal 32 Yes Yes Yes Total times grounded into double play
StolenBases decimal 32 Yes Yes Yes Total stolen bases
CaughtStealing decimal 32 Yes Yes Yes Total caught stealing
OnBasePercentage decimal 32 Yes Yes Yes Total on base percentage
SluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage
OnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus percentage 
Wins decimal 32 Yes Yes Yes Total wins by the team/player
Losses decimal 32 Yes Yes Yes Total losses by the team/player
Saves decimal 32 Yes Yes Yes Total saves by team/player
InningsPitchedDecimal decimal 32 Yes Yes Yes Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)
TotalOutsPitched decimal 32 Yes Yes Yes Total outs pitched by team/player
InningsPitchedFull decimal 32 Yes Yes Yes Total full innings pitched (e.g. 6, 71, 89, etc)
InningsPitchedOuts decimal 32 Yes Yes Yes Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)
EarnedRunAverage decimal 32 Yes Yes Yes Total earned run average by team/player
PitchingHits decimal 32 Yes Yes Yes Hits allowed while pitching
PitchingRuns decimal 32 Yes Yes Yes Runs allowed while pitching
PitchingEarnedRuns decimal 32 Yes Yes Yes Earned runs allowed while pitching
PitchingWalks decimal 32 Yes Yes Yes Walks allowed while pitching
PitchingStrikeouts decimal 32 Yes Yes Yes Strikeouts allowed while pitching
PitchingHomeRuns decimal 32 Yes Yes Yes Home runs allowed while pitching
PitchesThrown decimal 32 Yes Yes Yes Total pitches thrown while pitching
PitchesThrownStrikes decimal 32 Yes Yes Yes Total pitches thrown for strikes while pitching
WalksHitsPerInningsPitched decimal 32 Yes Yes Yes Walks plus hits per innings pitched (WHIP) while pitching
PitchingBattingAverageAgainst decimal 32 Yes Yes Yes Total batting average against (BAA) while pitching
FantasyPointsFanDuel decimal 32 Yes Yes Yes Total FanDuel fantasy points
FantasyPointsDraftKings decimal 32 Yes Yes Yes Total DraftKings fantasy points
WeightedOnBasePercentage decimal 32 Yes Yes Yes Total weight on base percentage
PitchingCompleteGames decimal 32 Yes Yes Yes Total complete games while pitching
PitchingShutOuts decimal 32 Yes Yes Yes Total shuouts while pitching
PitchingOnBasePercentage decimal 32 Yes Yes Yes Total on base percentage (OBP) while pitching
PitchingSluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage (SLG) while pitching
PitchingOnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus slugging (OPS) while pitching
PitchingStrikeoutsPerNineInnings decimal 32 Yes Yes Yes Total strikeouts per nine innings (K/9) while pitching
PitchingWalksPerNineInnings decimal 32 Yes Yes Yes Total walks per nine innings (BB/9) while pitching
PitchingWeightedOnBasePercentage decimal 32 Yes Yes Yes Total weighted on base percentage while pitching 
FantasyPointsBatting decimal 32 Yes No Yes Total batting fantasy points
FantasyPointsPitching decimal 32 Yes No Yes Total pitching fantasy points

Odds

This table is used in the following endpoints:
FantasyData MLB Odds API
Games by Date, Schedules
Name Type Size Nullable Scrambled CSV Description
GameID integer 32 No No Yes The unique ID of this game
Season integer 32 No No Yes The MLB season of the game
SeasonType integer 32 No No Yes The type of season stage the game belongs to, e.g. Regular season, Post-season. For a description of possible values and how they work, see <a href="https://support.sportsdata.io/hc/en-us/articles/15196612633623-Process-Guide-Season-Types-and-Parameters" target="_blank">here.
Status string 20 Yes No Yes The status of the game. For a description of possible values, see <a href="https://support.sportsdata.io/hc/en-us/articles/14287629964567-Process-Guide-Game-Status" target="_blank">here.</a> For how suspended and postponed games are handled specifically, see <a href="https://support.sportsdata.io/hc/en-us/articles/4404845580567-Postponed-and-Rescheduled-Games" target="_blank">here</a>.
Day date Yes No Yes The date of the game
DateTime datetime Yes No No The date and time of the game (in US Eastern Time)
AwayTeam string 10 No No No The abbreviation [Key] of the away team
HomeTeam string 10 No No No The abbreviation [Key] of the home team
AwayTeamID integer 32 No No No The unique TeamID of the away team
HomeTeamID integer 32 No No No The unique ID of the home team
StadiumID integer 32 Yes No Yes The unique ID of the stadium
AwayTeamRuns integer 32 Yes Yes No Number of runs scored by the away team in the game
HomeTeamRuns integer 32 Yes Yes No Number of runs scored by the home team in the game
AwayTeamProbablePitcherID integer 32 Yes No Yes The PlayerID of the away team's probable pitcher
HomeTeamProbablePitcherID integer 32 Yes No Yes The PlayerID of the home team's probable pitcher
AwayTeamStartingPitcherID integer 32 Yes No No The PlayerID of the away team's starting pitcher
HomeTeamStartingPitcherID integer 32 Yes No No The PlayerID of the home team starting pitcher in the game
PointSpread
from 2016
decimal 32 Yes Yes No The consensus Run Line at game start from the perspective of the HomeTeam (in the Game table, the PointSpread field's negative numbers indicate the HomeTeam is favored; positive numbers indicate the AwayTeam is favored. Note that this rule does not hold in betting-related tables, where the run line is contingent on the bet line). Note: In MLB, Point Spread may also be referred to as Run Line
OverUnder
from 2016
decimal 32 Yes Yes No The oddsmaker total points line at game start
AwayTeamMoneyLine
from 2016
integer 32 Yes Yes No Moneyline from the perspective of the away team
HomeTeamMoneyLine
from 2016
integer 32 Yes Yes No Moneyline from the perspective of the home team
ForecastTempLow
from 2016
integer 32 Yes Yes No The forecasted low temperature on game day at this venue (in Fahrenheit)
ForecastTempHigh
from 2016
integer 32 Yes Yes No The forecasted high temperature on game day at this venue (in Fahrenheit)
ForecastDescription
from 2016
string 50 Yes Yes Yes The description of the weather forecast. Posible values include: Broken Clouds, Clear Sky, Few Clouds, Heavy Intensity Rain, Light Rain, Moderate Rain, Mostly Cloudy, Mostly Sunny, Overcast Clouds, Partly Cloudy, Scattered Clouds, Showers, Thunderstorms
ForecastWindChill
from 2016
integer 32 Yes Yes Yes The forecasted wind chill on game day at this venue.
ForecastWindSpeed
from 2016
integer 32 Yes Yes Yes The forecasted wind speed on game day at this venue.
ForecastWindDirection
from 2016
integer 32 Yes Yes Yes The wind direction isn't baseball specific. It refers to the direction that the wind is coming from. 90 would be wind coming from the east. 180 is wind from the south. 270 is a wind from the west ... and so on.
AwayTeamStartingPitcher string 50 Yes Yes No The first and last name of the away team's starting pitcher for the game
HomeTeamStartingPitcher string 50 Yes Yes No The first and last name of the home team starting pitcher for the game
Innings Inning[] Yes No No The inning details associated with the game
HomeRotationNumber
from 2019
integer 32 Yes Yes Yes Rotation number of home team for this game
AwayRotationNumber
from 2019
integer 32 Yes Yes Yes Rotation number of away team for this game
NeutralVenue
from 2020
boolean Yes No No Indicates whether this game is played in a neutral venue. Note: Neutral = True, not neutral = False
OverPayout
from 2021
integer 32 Yes Yes No The sportsbook's payout for the over
UnderPayout
from 2021
integer 32 Yes Yes No The sportsbook's payout for the under
HomeTeamOpener boolean Yes No No Indicates whether the home team will use an opener as the starting pitcher. NOTE: An opener is a pitcher (typically a relief pitcher) that is only scheduled to pitch the first 1-3 innings of the game
AwayTeamOpener boolean Yes No No Indicates whether the away team will use an opener as the starting pitcher.. NOTE: An opener is a pitcher (typically a relief pitcher) that is only scheduled to pitch the first 1-3 innings of the game
This table is used in the following endpoints:
Name Type Size Nullable Scrambled CSV Description
GameId integer 32 No No No The unique ID of this game
Season integer 32 No No No The MLB season of the game
SeasonType integer 32 No No Yes The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).
Day date Yes No No The day of the game
DateTime datetime Yes No No The date and time of the game in US Eastern Time
Status string 20 Yes No No Indicates the game's status. Possible values include: Scheduled; InProgress; Final; Suspended; Delayed; Postponed; Canceled; Forfeit; NotNecessary
AwayTeamId integer 32 Yes No No The unique TeamID of the away team
HomeTeamId integer 32 Yes No No The unique ID of the home team
AwayTeamName string 50 Yes No No The abbreviation [Key] of the away team
HomeTeamName string 50 Yes No No The abbreviation [Key] of the home team
PregameOdds GameOdd[] Yes No Yes List of Pregame GameOdds from different sportsbooks
HomeTeamScore integer Yes Yes Yes Score of the home team (updated after game ends to allow for resolving bets)
AwayTeamScore integer Yes Yes Yes Score of the away team (updated after game ends to allow for resolving bets)
TotalScore integer Yes Yes No The combined scores of the home and away team of the game tied to this event (post-game)
HomeRotationNumber integer 32 Yes Yes Yes Rotation number of home team for this game
AwayRotationNumber integer 32 Yes Yes Yes Rotation number of away team for this game
This table is used in the following endpoints:
Name Type Size Nullable Scrambled CSV Description
GameOddId integer 32 No No Yes Unique ID of this odd
Sportsbook string 25 No Yes Yes Name of sportsbook
GameId integer 32 No No No The unique ID of this game
Created datetime No No No The date and time when these odds were first created in US Eastern Time
Updated datetime No No No The date and time of when these odds were last updated (in US Eatern Time) If these are the latest odds for this game; and they have not been updated within the last few minutes; then it indicates that there were problems connecting to the sportsbook.
HomeMoneyLine integer 32 Yes Yes No The sportsbook's moneyline for the home team
AwayMoneyLine integer 32 Yes Yes No The sportsbook's moneyline for the away team
HomePointSpread decimal 32 Yes Yes No The sportsbook's run line for the home team
AwayPointSpread decimal 32 Yes Yes No The sportsbook's run line for the away team
HomePointSpreadPayout integer 32 Yes Yes No The sportsbook's run line payout for the home team
AwayPointSpreadPayout integer 32 Yes Yes No The sportsbook's run line payout for the away team
OverUnder decimal 32 Yes Yes No The total points line as given by the sportsbook
OverPayout integer 32 Yes Yes Yes The sportsbook's payout for the over
UnderPayout integer 32 Yes Yes Yes The sportsbook's payout for the under
SportsbookId integer 32 Yes No Yes Unique ID of the sportsbook
This table is used in the following endpoints:
FantasyData MLB Odds API
Games by Date, Schedules
Name Type Size Nullable Scrambled CSV Description
InningID integer 32 No No No The unique ID of this specific inning
GameID integer 32 No No No The unique ID of the game tied to this Inning
InningNumber integer 32 No No No The current inning number of the game
AwayTeamRuns integer 32 Yes Yes No Number of runs scored by the away team in the specific inning
HomeTeamRuns integer 32 Yes Yes No Number of runs scored by the home team in the specific inning
This table is used in the following endpoints:
FantasyData MLB Odds API
Stadiums
Name Type Size Nullable Scrambled CSV Description
StadiumID integer 32 No No Yes The unique ID of the stadium
Active boolean No No No Whether or not this stadium is active
Name string 100 No No Yes The full name of the stadium
City string 50 Yes No Yes The city where the stadium is located
State string 10 Yes No No The state where the stadium is located (only US and Canadian stadiums will have values)
Country string 10 Yes No No The 3-digit country code where the stadium is located
Capacity integer 32 Yes No Yes The estimated seating capacity of the stadium
Surface string 50 Yes No Yes The playing surface of the stadium (Grass, Artificial or Dome)
LeftField integer 32 Yes No No The estimated distance between home plate and the left field wall
MidLeftField integer 32 Yes No No The estimated distance between home plate and the mid left field wall
LeftCenterField integer 32 Yes No No The estimated distance between home plate and the left center field wall
MidLeftCenterField integer 32 Yes No No The estimated distance between home plate and the mid left center field wall
CenterField integer 32 Yes No No The estimated distance between home plate and the center field wall
MidRightCenterField integer 32 Yes No No The estimated distance between home plate and the mid right center field wall
RightCenterField integer 32 Yes No No The estimated distance between home plate and the right center field wall
MidRightField integer 32 Yes No No The estimated distance between home plate and the mid right field wall
RightField integer 32 Yes No No The estimated distance between home plate and the right field wall
GeoLat decimal 32 Yes No No The geographic latitude coordinate of this venue
GeoLong decimal 32 Yes No No The geographic longitude coordinate of this venue
Altitude integer 32 Yes No No The altitude of the stadium in feet
HomePlateDirection integer 32 Yes No Yes The direction that the batter is facing while looking at the pitcher's mound. If the home plate is at the north of the stadium, the batter is facing south, so the value is given as 180 degrees. If home plate is at the east the batter faces west, so it's 270 degrees. If the home plate is at the south the batter faces north, so it's 0 degrees. If the home plate is at the west the batter faces east, so it's 90 degrees.
Type string 50 Yes No Yes The type of the stadium (possible values: Outdoor, Dome, RetractableDome)
This table is used in the following endpoints:
FantasyData MLB Odds API
Team Game Stats by Date
Name Type Size Nullable Scrambled CSV Description
StatID integer 32 No No No The unique ID of the stat
TeamID integer 32 Yes No No The team's unique TeamID as assigned by SportsDataIO
SeasonType integer 32 Yes No No The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar)
Season integer 32 Yes No Yes The MLB season of the game
Name string 50 Yes No No Team's full name (city and mascot)
Team string 10 Yes No No The abbreviation [Key] of the team
GameID integer 32 Yes No Yes The unique ID of this game
OpponentID integer 32 Yes No Yes The unique ID of the team's opponent
Opponent string 10 Yes No Yes The name of the opponent 
Day date Yes No Yes The day of the game
DateTime datetime Yes No Yes The date and time of the game
HomeOrAway string 4 Yes No Yes Whether the team is home or away
Games integer 32 Yes No Yes The number of games played.
FantasyPoints decimal 32 Yes Yes Yes Total fantasy points
AtBats decimal 32 Yes Yes Yes At bats while hitting
Runs decimal 32 Yes Yes Yes Total runs scored.
Hits decimal 32 Yes Yes Yes Total hits
Singles decimal 32 Yes Yes Yes Total singles
Doubles decimal 32 Yes Yes Yes Total doubles
Triples decimal 32 Yes Yes Yes Total triples
HomeRuns decimal 32 Yes Yes Yes Total home runs
RunsBattedIn decimal 32 Yes Yes Yes Total runs batted in
BattingAverage decimal 32 Yes Yes Yes Total batting average
Outs decimal 32 Yes Yes Yes Total outs
Strikeouts decimal 32 Yes Yes Yes Total strikeouts
Walks decimal 32 Yes Yes Yes Total walks
HitByPitch decimal 32 Yes Yes Yes Total times hit by pitch
Sacrifices decimal 32 Yes Yes Yes Total sacrifices
SacrificeFlies decimal 32 Yes Yes Yes Total sacrifice flies
GroundIntoDoublePlay decimal 32 Yes Yes Yes Total times grounded into double play
StolenBases decimal 32 Yes Yes Yes Total stolen bases
CaughtStealing decimal 32 Yes Yes Yes Total caught stealing
OnBasePercentage decimal 32 Yes Yes Yes Total on base percentage
SluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage
OnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus percentage 
Wins decimal 32 Yes Yes Yes Total wins by the team/player
Losses decimal 32 Yes Yes Yes Total losses by the team/player
Saves decimal 32 Yes Yes Yes Total saves by team/player
InningsPitchedDecimal decimal 32 Yes Yes Yes Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)
TotalOutsPitched decimal 32 Yes Yes Yes Total outs pitched by team/player
InningsPitchedFull decimal 32 Yes Yes Yes Total full innings pitched (e.g. 6, 71, 89, etc)
InningsPitchedOuts decimal 32 Yes Yes Yes Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)
EarnedRunAverage decimal 32 Yes Yes Yes Total earned run average by team/player
PitchingHits decimal 32 Yes Yes Yes Hits allowed while pitching
PitchingRuns decimal 32 Yes Yes Yes Runs allowed while pitching
PitchingEarnedRuns decimal 32 Yes Yes Yes Earned runs allowed while pitching
PitchingWalks decimal 32 Yes Yes Yes Walks allowed while pitching
PitchingStrikeouts decimal 32 Yes Yes Yes Strikeouts allowed while pitching
PitchingHomeRuns decimal 32 Yes Yes Yes Home runs allowed while pitching
PitchesThrown decimal 32 Yes Yes Yes Total pitches thrown while pitching
PitchesThrownStrikes decimal 32 Yes Yes Yes Total pitches thrown for strikes while pitching
WalksHitsPerInningsPitched decimal 32 Yes Yes Yes Walks plus hits per innings pitched (WHIP) while pitching
PitchingBattingAverageAgainst decimal 32 Yes Yes Yes Total batting average against (BAA) while pitching
FantasyPointsFanDuel decimal 32 Yes Yes Yes Total FanDuel fantasy points
FantasyPointsDraftKings decimal 32 Yes Yes Yes Total DraftKings fantasy points
WeightedOnBasePercentage decimal 32 Yes Yes Yes Total weight on base percentage
PitchingCompleteGames decimal 32 Yes Yes Yes Total complete games while pitching
PitchingShutOuts decimal 32 Yes Yes Yes Total shuouts while pitching
PitchingOnBasePercentage decimal 32 Yes Yes Yes Total on base percentage (OBP) while pitching
PitchingSluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage (SLG) while pitching
PitchingOnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus slugging (OPS) while pitching
PitchingStrikeoutsPerNineInnings decimal 32 Yes Yes Yes Total strikeouts per nine innings (K/9) while pitching
PitchingWalksPerNineInnings decimal 32 Yes Yes Yes Total walks per nine innings (BB/9) while pitching
PitchingWeightedOnBasePercentage decimal 32 Yes Yes Yes Total weighted on base percentage while pitching 
FantasyPointsBatting decimal 32 Yes No Yes Total batting fantasy points
FantasyPointsPitching decimal 32 Yes No Yes Total pitching fantasy points
This table is used in the following endpoints:
FantasyData MLB Odds API
Team Season Stats
Name Type Size Nullable Scrambled CSV Description
StatID integer 32 No No No The unique ID of the stat
TeamID integer 32 Yes No No The team's unique TeamID as assigned by SportsDataIO
SeasonType integer 32 Yes No No The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar)
Season integer 32 Yes No No The MLB season for which these totals apply
Name string 50 Yes No No Team's full name (city and mascot)
Team string 10 Yes No No The abbreviation [Key] of the team
Games integer 32 Yes No Yes The number of games played.
FantasyPoints decimal 32 Yes Yes Yes Total fantasy points
AtBats decimal 32 Yes Yes Yes At bats while hitting
Runs decimal 32 Yes Yes Yes Total runs scored.
Hits decimal 32 Yes Yes Yes Total hits
Singles decimal 32 Yes Yes Yes Total singles
Doubles decimal 32 Yes Yes Yes Total doubles
Triples decimal 32 Yes Yes Yes Total triples
HomeRuns decimal 32 Yes Yes Yes Total home runs
RunsBattedIn decimal 32 Yes Yes Yes Total runs batted in
BattingAverage decimal 32 Yes Yes Yes Total batting average
Outs decimal 32 Yes Yes Yes Total outs
Strikeouts decimal 32 Yes Yes Yes Total strikeouts
Walks decimal 32 Yes Yes Yes Total walks
HitByPitch decimal 32 Yes Yes Yes Total times hit by pitch
Sacrifices decimal 32 Yes Yes Yes Total sacrifices
SacrificeFlies decimal 32 Yes Yes Yes Total sacrifice flies
GroundIntoDoublePlay decimal 32 Yes Yes Yes Total times grounded into double play
StolenBases decimal 32 Yes Yes Yes Total stolen bases
CaughtStealing decimal 32 Yes Yes Yes Total caught stealing
OnBasePercentage decimal 32 Yes Yes Yes Total on base percentage
SluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage
OnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus percentage 
Wins decimal 32 Yes Yes Yes Total wins by the team/player
Losses decimal 32 Yes Yes Yes Total losses by the team/player
Saves decimal 32 Yes Yes Yes Total saves by team/player
InningsPitchedDecimal decimal 32 Yes Yes Yes Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)
TotalOutsPitched decimal 32 Yes Yes Yes Total outs pitched by team/player
InningsPitchedFull decimal 32 Yes Yes Yes Total full innings pitched (e.g. 6, 71, 89, etc)
InningsPitchedOuts decimal 32 Yes Yes Yes Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)
EarnedRunAverage decimal 32 Yes Yes Yes Total earned run average by team/player
PitchingHits decimal 32 Yes Yes Yes Hits allowed while pitching
PitchingRuns decimal 32 Yes Yes Yes Runs allowed while pitching
PitchingEarnedRuns decimal 32 Yes Yes Yes Earned runs allowed while pitching
PitchingWalks decimal 32 Yes Yes Yes Walks allowed while pitching
PitchingStrikeouts decimal 32 Yes Yes Yes Strikeouts allowed while pitching
PitchingHomeRuns decimal 32 Yes Yes Yes Home runs allowed while pitching
PitchesThrown decimal 32 Yes Yes Yes Total pitches thrown while pitching
PitchesThrownStrikes decimal 32 Yes Yes Yes Total pitches thrown for strikes while pitching
WalksHitsPerInningsPitched decimal 32 Yes Yes Yes Walks plus hits per innings pitched (WHIP) while pitching
PitchingBattingAverageAgainst decimal 32 Yes Yes Yes Total batting average against (BAA) while pitching
FantasyPointsFanDuel decimal 32 Yes Yes Yes Total FanDuel fantasy points
FantasyPointsDraftKings decimal 32 Yes Yes Yes Total DraftKings fantasy points
WeightedOnBasePercentage decimal 32 Yes Yes Yes Total weight on base percentage
PitchingCompleteGames decimal 32 Yes Yes Yes Total complete games while pitching
PitchingShutOuts decimal 32 Yes Yes Yes Total shuouts while pitching
PitchingOnBasePercentage decimal 32 Yes Yes Yes Total on base percentage (OBP) while pitching
PitchingSluggingPercentage decimal 32 Yes Yes Yes Total slugging percentage (SLG) while pitching
PitchingOnBasePlusSlugging decimal 32 Yes Yes Yes Total on base plus slugging (OPS) while pitching
PitchingStrikeoutsPerNineInnings decimal 32 Yes Yes Yes Total strikeouts per nine innings (K/9) while pitching
PitchingWalksPerNineInnings decimal 32 Yes Yes Yes Total walks per nine innings (BB/9) while pitching
PitchingWeightedOnBasePercentage decimal 32 Yes Yes Yes Total weighted on base percentage while pitching 
FantasyPointsBatting decimal 32 Yes No Yes Total batting fantasy points
FantasyPointsPitching decimal 32 Yes No Yes Total pitching fantasy points