XML Feed Customer Documentation

XML Baseball Matchups Feed

Feed Information

DetailInfo
Update IntervalDaily, or as required
Atom Feed Keyword/baseball/matchups
HTTP MLBhttp://xml.sportsdirectinc.com/sport/v2/baseball/MLB/matchups/matchup_MLB_(competition-id).xml

League Data

Item

 

Notes

Sport Id

 

Sport Name

 

League Id

 

League Name

 

League Short Name

 

Competition Data

Item Notes
Id

 
Start Date 

 
Competition Status

 

 

 

Season Data

Item

 

Notes

Id

 

Name

 

Start Date

 

End Date

 

Team Data

Item Notes
Id

 
Name

 

Matchup Data

Stat-Group KeyDescriptionNotes
benchOverall  
overallOverall stats 
overallVsAllTiersOverall team stats vs all tiers 
overallAgainstOverall opposing team stats 
overallAgainstVsAllTiersOverall opposing team stats vs all tiers 
homeStats as the away team 
vsAllTiersWhenHome  
againstWhenHomeOpposing team stats when home 
awayStats as the home team 
vsAllTiersWhenAway  
againstWhenAwayOpposing team stats when away 
neutralStats as the neutral team 
vsAllTiersWhenNeutral  
againstWhenNeutral  
dayStats in games during the day (game start time >= 6am and <= 6pm) 
dayVsAllTiers  
nightStats in games during the night (game start time < 6am and > 6pm) 
nightVsAllTiersStats in games during the night (game start time < 6am and > 6pm) vs all tiers 
conferenceStats in games against teams in the same conference (as the team playing) 
conferenceVsAllTiers  
conferenceAgainstOpposing team stats in games against teams in the same conference (as the team playing) 
favoriteStats in games as the odds favorite 
favoriteAgainstOpposing team stats in games as the odds favorite 
favoriteBetweenXAndY  
favoriteBelowX  

underdog

Stats as the odds underdog 
underdogAgainstOpposing team stats as the odds underdog 

underdogBetweenXAndY

  
underdogAboveX  
against[Over/Under]500TeamsWhen[Home/Away/Neutral]  
after[Win/Loss]Stats in the games following losses or wins 

after[Win/Loss]When[Home/Away/Neutral]

Stats in the games following losses or wins when home, away or neutral 
after[Win/Loss]OnXDaysRestStats in the games following losses or wins on X days rest 
afterXToYPointMargin[Win/Loss]  
afterXToYPointMargin[Win/Loss]When[Home/Away/Neutral]  
afterXToYPointMargin[Win/Loss]OnZDaysRest  
againstAfter[Win/Loss]Opposing team stats in the games following losses or wins 
AfterScoring[More/Less]ThanXPoints  
lastXstats over the last X games 
lastXAgainstOpposing team stats over the last X games 
lastXVsAllTiersstats over the last X games vs all tiers 
lastXVsAllTiersWhen[Home/Away/Neutral]stats over the last X games vs all tiers when away,home or neutral 
last5After[Win/Loss]VsAllTiers  
last5Agains[Over/Under]500TeamsVsAllTiers  
last5After[Scoring/Allowing][Less/More]Than75PointsVsAllTiers  
last5OnXDaysRestVsAllTiers  
onXDaysRest  
onXDaysRestAgainstYDaysRest  
totalBetweenXAndY  
totalOverX  
whenScoringLessThanXPointsVsAllTiers  
whenScoringLessThanXPointsVsAllTiersWhen[Home/Away/Neutral]  
when[Scoring/Allowing]XtoYPointsVsAllTiers  
when[Scoring/Allowing]XtoYPointsVsAllTiersWhen[Home/Away/Neutral]  
scoreXVsAllTiers  
when[Scoring/Allowing]XOr[More/Less]PointsVsAllTiers  
when[Scoring/Allowing]XOr[More/Less]PointsVsAllTiersWhen[Home/Away/Neutral]  
moneyLineFavoriteStats for games in which the team in question was the moneyline favorite 
moneyLineUnderdogStats for games in which the team in question was the moneyline underdog 

note: These stats can show up in multiple stat groups. The key of a stat group defines the context of the stat.

StatDescriptionNotes
games_playedNumber of games played 
avg_doublesAverage number of 2-base hits 
avg_innings_pitchedAverage number of innings pitched 
avg_lossesAverage number of losses 
avg_quality_startsAverage number of quality starts 
avg_runsAverage number of runs 
avg_stolen_basesAverage number of stolen bases 
avg_team_runsAverage number of runs for the team 
avg_team_runs_againstAverage number of runs against the team 
avg_triplesAverage number of 3-base hits 
avg_winsAverage number of wins 
at_batsNumber of times at bat 
batters_facedNumber of batters faced 
caught_stealingNumber of times caught stealing 
double_playsNumber of double plays 
doublesNumber of 2-base hits 
earned_runs_againstNumber of earned runs against 
errorsNumber of errors 
fly_ball_outsNumber of outs from fly balls 
ground_ball_outsNumber of outs from ground balls 
hit_battersNumber of batters hit 
hitsNumber of hits 
home_runsNumber of home runs 
innings_pitchedNumber of innings pitched 
lossesNumber of losses 
outs_pitchedNumber of outs pitched 
pitches_thrownNumber of pitches thrown 
runsNumber of runs 
sacrifice_flysNumber of sacrifice fly balls 
sacrifice_hitsNumber of sacrifice hits 
games_startedNumber of games started 
stolen_basesNumber of stolen bases 
strikeoutsNumber of strikeouts 
strikes_thrownNumber of strikes thrown 
team_left_on_baseNumber of runners left on base as a team 
team_lossesNumber of losses for the team 
team_winsNumber of wins for the team 
triplesNumber of 3-base hits 
walksNumber of batters walked 
winsNumber of losses 
against_the_spread_coversNumber of covers against the spread 
against_the_spread_non_coversNumber of non-covers against the spread 
against_the_spread_total_moneyAccumulated total of the money for against the spread 
moneyline_total_moneyAccumulated total of the money for moneyline 
moneyline_losses_moneyAccumulated total of the money for moneline losses 
moneyline_wins_moneyAccumulated total of the money for moneline wins 
over_under_oversNumber of overs against the total 
over_under_undersNumber of unders against the total 
over_under_pushes

Number of pushes against the total

 
earned_run_averageEarned Run Average 
on_base_percentageOn Base Percentage 
batting_averageBatting Average 
whipWHIP 
runs_per_nine_inningsRuns Per Nine Innings 
slugging_percentageSlugging Percentage