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
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
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
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
DraftKingsPlayerID integer 32 Yes No Yes The player's unique PlayerID for cross reference use with 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
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).
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
Division string 20 Yes No Yes The division of the team (e.g. East, Central, West)
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
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
[Key] string 10 No No Yes Abbreviation of the team (e.g. LAD, PHI, BOS, CHC, etc.)
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.)
League string 10 Yes No Yes The league of the team (possible values: AL, NL)
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)

Fantasy

This table is used in the following endpoints:
FantasyData MLB Fantasy API
DFS Slates by Date
Name Type Size Nullable Scrambled CSV Description
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.
OperatorStartTime datetime Yes No Yes The date/time (in EST/EDT) that the slate begins (assigned by the operator).
RemovedByOperator boolean Yes No Yes Indicates whether this slate was removed/deleted by the operator.
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
This table is used in the following endpoints:
FantasyData MLB Fantasy API
DFS Slates by Date
Name Type Size Nullable Scrambled CSV Description
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.
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
StadiumID integer 32 Yes No Yes The unique ID of the stadium
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
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.
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
This table is used in the following endpoints:
FantasyData MLB Fantasy API
DFS Slates by Date
Name Type Size Nullable Scrambled CSV Description
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
Season integer 32 Yes No Yes The MLB season of the game
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
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
Season integer 32 Yes No Yes The MLB season of the game
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
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
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
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
StadiumID integer 32 Yes No Yes The unique ID of the stadium
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
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.
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
This table is used in the following endpoints:
Name Type Size Nullable Scrambled CSV Description
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).
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)
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
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
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
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
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)
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
Season integer 32 Yes No Yes The MLB season of the game
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
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