Feed Information
Detail | Info |
|---|---|
Update Interval | Daily and when required |
Atom feed keyword | /baseball/team-stats |
Http MLB | http://xml.sportsdirectinc.com/sport/v2/baseball/MLB/team-stats/(season-name)/team_stats_MLB.xml |
| Http NCAABBL | http://xml.sportsdirectinc.com/sport/v2/baseball/NCAABBL/team-stats/(season-name)/team_stats_NCAABBL.xml |
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 |
|
|
|
wildcard_ranking | Wildcard Standing Position |
|
|
|
Stat | Description | MLB | MiLB | NCAABBL | Notes |
|---|---|---|---|---|---|
at_bats | Times at bat |
|
|
|
|
balks | balks |
|
|
|
|
batting_average | Batting average |
|
|
|
|
caught_stealing | Times caught stealing |
|
|
|
|
complete_games | Complete games |
|
|
|
|
double_plays | Double plays |
|
|
|
|
doubles | Doubles |
|
|
|
|
earned_run_average | ERA |
|
|
|
|
earned_runs_against | Earned runs against |
|
|
|
|
errors | Errors |
|
|
|
|
| flyball_outs | Flyball outs |
|
|
| |
| games_lost | Games Lost |
|
|
| |
| games_played | Games Played |
|
|
| |
| games_won | Games Won |
|
|
| |
| groundball_outs | Groundball outs |
|
|
| |
grounded_into_double_plays | Grounded into double plays |
|
|
|
|
hit_batters | Hit batters in a game |
|
|
|
|
hit_by_pitch | Hits by pitch |
|
|
|
|
hits | Hits |
|
|
|
|
home_runs | Home runs |
|
|
|
|
| innings | Innings |
|
|
| |
intentional_walks | intentional walks |
|
|
|
|
intentional_walks_against | Intentional walks against |
|
|
|
|
left_on_base | Left on base |
|
|
|
|
on_base_percentage | On base percentage |
|
|
|
|
on_base_plus_slugging | On base plus slugging |
|
|
|
|
| outs | Outs |
|
|
| |
outs_pitched | Total outs pitched |
|
|
|
|
passed_balls | Passed balls |
|
|
|
|
pickoffs | Pickoffs |
|
|
|
|
| pitches | Pitches |
|
|
| |
rlisp_two_out | Runners left in scoring position, 2 out |
|
|
|
|
runs | Runs |
|
|
|
|
runs_batted_in | RBI |
|
|
|
|
runs_inning_? | Runs in specific inning |
|
|
| "?" denotes inning number (ex:runs_inning_1) |
runs_inning_extra | Extra inning runs |
|
|
|
|
sacrifice_flys | Sacrifice flys. |
|
|
|
|
sacrifice_hits | Sacrifice hits. |
|
|
|
|
saves | saves |
|
|
|
|
shutouts | shutouts |
|
|
|
|
slugging_percentage | Slugging percentage |
|
|
|
|
stolen_bases | Stolen Bases |
|
|
|
|
strikeouts | Number of strikeouts |
|
|
|
|
team_left_on_base | Team Left on base |
|
|
|
|
total_bases |
|
|
|
| |
| triple_plays | Triple Plays |
|
|
| |
triples | Triples |
|
|
|
|
two_out_left_on_base | Two out left on base |
|
|
|
|
walks | Walks |
|
|
|
|
| whip | Walks Plus Hits Per Inning Pitched |
|
|
| |
wild_pitches | Wild pitches |
|
|
|
|
Stat | Description | MLB | MiLB | NCAABBL | Notes |
|---|---|---|---|---|---|
| at_bats_against | Opposing team at bats |
|
|
| |
| doubles_against | Allowed doubles |
|
|
| |
| hit_by_pitch_against | Opposing team hit by pitch |
|
|
| |
hits_against | Allowed hits |
|
|
|
|
home_runs_against | Allowed home runs |
|
|
|
|
| on_base_percentage_against | Opposing team on base percentage |
|
|
| |
| on_base_plus_slugging_against | Opposing team on base plus slugging percentage |
|
|
| |
runs_against | Allowed runs |
|
|
|
|
| sacrifice_flys_against | Allowed sacrifice flys |
|
|
| |
| sacrifice_hits_against | Allowed sacrifice hits |
|
|
| |
| slugging_percentage_against | Opposing team slugging percentage |
|
|
| |
strikeouts_against | Allowed strikeouts |
|
|
|
|
| total_bases_against | Allowed total bases |
|
|
| |
| triples_against | Allowed triples |
|
|
| |
walks_against | Allowed walks |
|
|
|
|
| shutouts_against | Allowed shutouts |
|
|
|
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 |
|
|
|
whip |
|
|
| |
earned_run_average |
|
|
|
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_tied | Games 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 |
|
|
|
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 |
|
|
|
|
|