XML Feed Customer Documentation

XML Baseball Team Stats Feed

This feed includes statistics from all regular season and playoff games for all teams.

Feed Information

(warning) Note that the URLs listed above are not valid; keywords in parentheses must be replaced with real values.

Common Data

League Data

Item

 

Notes

Sport Id

 

Sport Name

 

League Id

 

League Name

 

League Short Name

 

Season Data

Item

 

Notes

Id

 

Name

 

Start Date

 

End Date

 

Conference Data

Item

 

Notes

Id

 

Name

 

Short Name

 

Division Data

Item

 

Notes

Id

 

Name

 

Alias

 

Active?

True/false; whether or not the division is active.

Team Data

Item

 

Notes

Id

 

Display Name

 

Stats

Overall Stats

Stat group keys:

  • regular-season-stats
  • post-season-stats

Stat

Description

MLB

NCAABBL

Notes

games_played

Games played overall

 

games_won

Games won overall

 

games_lost

Games lost overall

 

division_ranking

Division Standing Position

(error)

 

wildcard_ranking

Wildcard Standing Position

(error)

 

 

 

Stat

Description

MLB

MiLBNCAABBL

Notes

at_bats

Times at bat

(error)

 

balks

balks

(error)

(error)

 

batting_average

Batting average

(error)

 

caught_stealing

Times caught stealing

(error)

 

complete_games

Complete games

(error)

(error)

 

double_plays

Double plays

(error)

 

doubles

Doubles

(error)

 

earned_run_average

ERA

(error)

(error)

 

earned_runs_against

Earned runs against

(error)

(error)

 

errors

Errors

(error)

 

flyball_outsFlyball outs

(error)

(error)

 
games_lostGames Lost

(error)

 
games_playedGames Played

(error)

 
games_wonGames Won

(error)

 
groundball_outsGroundball outs

(error)

 

grounded_into_double_plays

Grounded into double plays

(error)

(error)

 

hit_batters

Hit batters in a game

(error)

(error)

 

hit_by_pitch

Hits by pitch

(error)

(error)

 

hits

Hits

(error)

 

home_runs

Home runs

(error)

 

inningsInnings

(error)

(error)

 

intentional_walks

intentional walks

(error)

(error)

 

intentional_walks_against

Intentional walks against

(error)

(error)

 

left_on_base

Left on base

(error)

 

on_base_percentage

On base percentage

(error)

 

on_base_plus_slugging

On base plus slugging

(error)

 

outsOuts

(error)

(error)

 

outs_pitched

Total outs pitched

(error)

(error)

 

passed_balls

Passed balls

(error)

(error)

 

pickoffs

Pickoffs

(error)

(error)

 

pitchesPitches

(error)

(error)

 

rlisp_two_out

Runners left in scoring position, 2 out

(error)

(error)

 

runs

Runs

(error)

 

runs_batted_in

RBI

(error)

 

runs_inning_?

Runs in specific inning

(error)

 "?" denotes inning number (ex:runs_inning_1)

runs_inning_extra

Extra inning runs

(error)

 

sacrifice_flys

Sacrifice flys.

(error)

 

sacrifice_hits

Sacrifice hits.

(error)

 

saves

saves

(error)

(error)

 

shutouts

shutouts

(error)

 

slugging_percentage

Slugging percentage

(error)

 

stolen_bases

Stolen Bases

(error)

 

strikeouts

Number of strikeouts

(error)

 

team_left_on_base

Team Left on base

(error)

 

total_bases

Total bases

(error)

 

triple_playsTriple Plays

(error)

 

triples

Triples

(error)

 

two_out_left_on_base

Two out left on base

(error)

 

walks

Walks

(error)

 

whipWalks Plus Hits Per Inning Pitched

(error)

 

wild_pitches

Wild pitches

(error)

 

Stat

Description

MLB

MiLBNCAABBL

Notes

at_bats_againstOpposing team at bats

(error)

 
doubles_againstAllowed doubles

(error)

(error)

 
hit_by_pitch_againstOpposing team hit by pitch

(error)

(error)

 

hits_against

Allowed hits

(error)

 

home_runs_against

Allowed home runs

(error)

 

on_base_percentage_againstOpposing team on base percentage

(error)

(error)

 
on_base_plus_slugging_againstOpposing team on base plus slugging percentage

(error)

(error)

 

runs_against

Allowed runs

(error)

 

sacrifice_flys_againstAllowed sacrifice flys

(error)

(error)

 
sacrifice_hits_againstAllowed sacrifice hits

(error)

(error)

 
slugging_percentage_againstOpposing team slugging percentage

(error)

(error)

 

strikeouts_against

Allowed strikeouts

(error)

 

total_bases_againstAllowed total bases

(error)

(error)

 
triples_againstAllowed triples

(error)

(error)

 

walks_against

Allowed walks

(error)

 

shutouts_againstAllowed shutouts

(error)

 

 

 

Bullpen Stats

Stat group keys:

  • regular-season-bullpen-stats
  • regular-season-last-3-bullpen-stats

Stat

Description

MLB

NCAABBL

Notes

outs_pitched

number of outs pitched

(error)

 

whip

WHIP

(error)

 

earned_run_average

Earned Run Average

(error)

 

Home, Division, Conference Stats

Stat group keys:

  • regular-season-home-stats
  • regular-season-against-division-stats
  • regular-season-against-conference-stats
  • post-season-home-stats
  • post-season-against-division-stats

Stat

Description

MLB

NCAABBL

Notes

games_won

Games won overall

 

games_lost

Games lost overall

 

games_tiedGames tied overall

  

Runs For/Against

Stat group keys:

  • regular-season-grass-runs-for-against-stats
  • regular-season-after-win-runs-for-against-stats
  • regular-season-after-loss-runs-for-against-stats

Stat

Description

MLB

NCAABBL

Notes

games_played

number of games played in scope

 

runs

number of runs scored

 

runs_against

number of runs scored by opponent

 

Team Batting Average Versus R/L Handed Starter

Stat group keys:

  • regular-season-vs-left-handed-starter-stats
  • regular-season-vs-right-handed-starter-stats

Stat

Description

MLB

NCAABBL

Notes

batting_average

Batting average

(error)

 

Post-Season Home/Away Series Stats

Stat group keys:

  • divisional-playoff-home-stats
  • divisional-playoff-away-stats
  • league-championship-home-stats
  • league-championship-away-stats
  • world-series-home-stats
  • world-series-away-stats

Stat

Description

MLB

NCAABBL

Notes

games_won

Games won overall

 

games_lost

Games lost overall

 

Attendance Stats

Stat group keys:

  • regular-season-home-attendance
  • regular-season-away-attendance

Stat

Description

MLB

NHL

NBA

NFL

Notes

games_played

Number of games played in the current scope





attendance_total

Total attendance over those games