MLB Stats v1
Query Parameter | Description | Parameter Options | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
format |
JSON Must be capitalized XML Must be capitalized JSON_dev Sandbox file XML_dev Sandbox file |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
customer |
Digichief will give you a unique abbrievation for your company |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
customer_api_key |
Your company's unique API key | Digichief will give this to you |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team_abbr |
MLB Team Abbv
Team Abbr link All or Team Abbr to only get that team |
Data Points | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
advisorydata |
|||||||||||||||
content |
|||||||||||||||
datetime |
Last update time [UTC] presented in standard ISO8601 format |
||||||||||||||
datasource |
Digichief |
||||||||||||||
MLB |
|||||||||||||||
name |
Team name |
||||||||||||||
market |
Team market |
||||||||||||||
abbr |
Team abbreviation |
||||||||||||||
id |
For Digichief internal use |
||||||||||||||
season |
|||||||||||||||
id |
For Digichief internal use |
||||||||||||||
year |
Season year |
||||||||||||||
type |
Season type [REG] or [POST] |
||||||||||||||
statistics [Array] |
STATS |
||||||||||||||
hitting [Array] |
HITTING |
||||||||||||||
overall [Array] |
TEAM |
||||||||||||||
ab |
At bats |
||||||||||||||
lob |
Left on base |
||||||||||||||
rbi |
Runs batted in |
||||||||||||||
abhr |
At bats per home run |
||||||||||||||
abk |
At bats per strikeout |
||||||||||||||
bip |
Balls in play |
||||||||||||||
babip |
Batting average on balls in play |
||||||||||||||
bbk |
Walk to strikeout ratio |
||||||||||||||
bbpa |
Base on balls per plate appearance |
||||||||||||||
iso |
Isolated power |
||||||||||||||
obp |
On base percentage |
||||||||||||||
ops |
On base percentage + slugger percentage |
||||||||||||||
seca |
Secondary average |
||||||||||||||
slg |
Slugging percentage |
||||||||||||||
xbh |
Extra base hit |
||||||||||||||
pitch_count |
Pitch count |
||||||||||||||
lob_risp_2out |
Left on base with runners in scoring position and 2 outs |
||||||||||||||
team_lob |
Team runners left on base |
||||||||||||||
ab_risp |
At bats with RISP |
||||||||||||||
hit_risp |
Hits with RISP |
||||||||||||||
rbi_2out |
Runs batted in with 2 outs |
||||||||||||||
linedrive |
Line drives |
||||||||||||||
groundball |
Ground balls |
||||||||||||||
popup |
Pop ups |
||||||||||||||
flyball |
Fly balls |
||||||||||||||
ap |
# of innings appearing as pitcher |
||||||||||||||
avg |
Average |
||||||||||||||
gofo |
Ground out to fly out ratio |
||||||||||||||
onbase |
|||||||||||||||
s |
Singles |
||||||||||||||
d |
Doubles |
||||||||||||||
t |
Triples |
||||||||||||||
hr |
Home runs |
||||||||||||||
tb |
Total bases |
||||||||||||||
bb |
Base on balls (a walk) |
||||||||||||||
ibb |
Intentional walk |
||||||||||||||
hbp |
Hits by pitch |
||||||||||||||
fc |
Fielder's choice |
||||||||||||||
roe |
Reached on errors |
||||||||||||||
h |
Hits |
||||||||||||||
cycle |
Cycle |
||||||||||||||
runs |
|||||||||||||||
total |
Runs total |
||||||||||||||
outcome |
|||||||||||||||
klook |
Strikeouts looking |
||||||||||||||
kswing |
Strikeouts swinging |
||||||||||||||
ktotal |
Strikeouts total |
||||||||||||||
ball |
Balls total |
||||||||||||||
iball |
Intentional balls taken |
||||||||||||||
dirtball |
Dirt balls faced |
||||||||||||||
foul |
Foul balls total |
||||||||||||||
outs |
|||||||||||||||
po |
Pop outs |
||||||||||||||
fo |
Fly outs |
||||||||||||||
fidp |
Fly outs into double play |
||||||||||||||
lo |
Line out |
||||||||||||||
lidp |
Line out into double play |
||||||||||||||
go |
Ground outs |
||||||||||||||
gidp |
Grounded in double plays |
||||||||||||||
klook |
Strikeouts looking |
||||||||||||||
kswing |
Strikeouts swinging |
||||||||||||||
ktotal |
Strikouts total |
||||||||||||||
sacfly |
Sacrafice flys |
||||||||||||||
sachit |
Sacrafice hits |
||||||||||||||
steal |
|||||||||||||||
caught |
Steals caught |
||||||||||||||
stolen |
Steals stolen |
||||||||||||||
pct |
Steal percentage |
||||||||||||||
pickoff |
Steals picked off |
||||||||||||||
pitches |
|||||||||||||||
count |
Pitches total |
||||||||||||||
btotal |
Balls total |
||||||||||||||
ktotal |
Strikeout total |
||||||||||||||
pitching [Array] |
PITCHING |
||||||||||||||
overall [Array] |
TEAM |
||||||||||||||
oba |
Opponent batting average |
||||||||||||||
lob |
Left on base |
||||||||||||||
era |
Earned run average |
||||||||||||||
k9 |
Strikeouts per 9 innings |
||||||||||||||
whip |
Walks plus hits per innnings pitched |
||||||||||||||
kbb |
Strikeout to walk ratio |
||||||||||||||
pitch_count |
Pitch count |
||||||||||||||
wp |
Wild pitches |
||||||||||||||
bk |
Balks |
||||||||||||||
ip_1 |
Innings pitched (complete & partial) |
||||||||||||||
ip_2 |
Innings pitched (total outs) |
||||||||||||||
bf |
Batters faced |
||||||||||||||
gofo |
Ground out to fly out ratio |
||||||||||||||
babip |
Opponent batting average on balls in play |
||||||||||||||
bf_ip |
Batters faced per inning played |
||||||||||||||
bf_start |
Batters faced per start |
||||||||||||||
gbfb |
Ground ball to fly ball ration |
||||||||||||||
oab |
Opponent at bats |
||||||||||||||
slg |
Slugging percentage |
||||||||||||||
obp |
Opponent base percentage |
||||||||||||||
onbase |
|||||||||||||||
s |
Singles |
||||||||||||||
d |
Doubles |
||||||||||||||
t |
Triples |
||||||||||||||
hr |
Home runs |
||||||||||||||
tb |
Total bases |
||||||||||||||
bb |
Base on balls (a walk) |
||||||||||||||
ibb |
Intentional walk |
||||||||||||||
hbp |
Hit by pitch |
||||||||||||||
fc |
Fielder's choice |
||||||||||||||
roe |
Runs on errors |
||||||||||||||
h |
Holds |
||||||||||||||
h9 |
Hits per 9 innnings |
||||||||||||||
hr9 |
Home runs per 9 innings |
||||||||||||||
runs |
|||||||||||||||
total |
Total |
||||||||||||||
unearned |
Unearned |
||||||||||||||
earned |
Earned |
||||||||||||||
ir |
Inherited runners |
||||||||||||||
ira |
Inherited runners allowed |
||||||||||||||
bqr |
Bequeathed runners |
||||||||||||||
bqra |
Bequeathed runners allowed |
||||||||||||||
outcome |
|||||||||||||||
klook |
Strikeouts looking |
||||||||||||||
kswing |
Strikeouts swinging |
||||||||||||||
ktotal |
Strikeouts total |
||||||||||||||
ball |
Balls total |
||||||||||||||
iball |
Intentional balls taken |
||||||||||||||
dirtball |
Dirt balls faced |
||||||||||||||
foul |
Foul balls total |
||||||||||||||
outs |
|||||||||||||||
po |
Pop outs |
||||||||||||||
fo |
Fly outs |
||||||||||||||
fidp |
Fly outs into double play |
||||||||||||||
lo |
Line out |
||||||||||||||
lidp |
Line out into double play |
||||||||||||||
go |
Ground outs |
||||||||||||||
gidp |
Grounded in double plays |
||||||||||||||
klook |
Strikeouts looking |
||||||||||||||
kswing |
Strikeouts swinging |
||||||||||||||
ktotal |
Strikouts total |
||||||||||||||
sacfly |
Sacrafice flys |
||||||||||||||
sachit |
Sacrafice hits |
||||||||||||||
steal |
|||||||||||||||
caught |
Steals caught |
||||||||||||||
stolen |
Steals stolen |
||||||||||||||
pickoff |
Steals picked off |
||||||||||||||
pitches |
|||||||||||||||
count |
Pitches total |
||||||||||||||
btotal |
Balls total |
||||||||||||||
ktotal |
Strikeout total |
||||||||||||||
per_ip |
Pitches per inning played |
||||||||||||||
per_bf |
Pitches per batters faced |
||||||||||||||
per_start |
Pitches per start |
||||||||||||||
in_play |
|||||||||||||||
linedrive |
Line drives |
||||||||||||||
groundball |
Ground balls |
||||||||||||||
popup |
Pop ups |
||||||||||||||
flyball |
Fly balls |
||||||||||||||
games |
|||||||||||||||
svo |
Save opportunities |
||||||||||||||
qstart |
Quality starts |
||||||||||||||
shutout |
Shutouts |
||||||||||||||
team_shutout |
Team pitching shutouts |
||||||||||||||
complete |
Complete games |
||||||||||||||
win |
# of wins |
||||||||||||||
loss |
# of losses |
||||||||||||||
save |
# of saves |
||||||||||||||
hold |
# of holds |
||||||||||||||
blown_save |
# of blown saves |
||||||||||||||
starters [Array] |
STARTERS |
||||||||||||||
oba |
Opponent batting average |
||||||||||||||
lob |
Left on base |
||||||||||||||
era |
Earned run average |
||||||||||||||
k9 |
Strikeouts per 9 innings |
||||||||||||||
whip |
Walks plus hits per innnings pitched |
||||||||||||||
kbb |
Strikeout to walk ratio |
||||||||||||||
pitch_count |
Pitch count |
||||||||||||||
wp |
Wild pitches |
||||||||||||||
bk |
Balks |
||||||||||||||
ip_1 |
Innings pitched (complete & partial) |
||||||||||||||
ip_2 |
Innings pitched (total outs) |
||||||||||||||
bf |
Batters faced |
||||||||||||||
gofo |
Ground out to fly out ratio |
||||||||||||||
babip |
Opponent batting average on balls in play |
||||||||||||||
bf_ip |
Batters faced per inning played |
||||||||||||||
bf_start |
Batters faced per start |
||||||||||||||
gbfb |
Ground ball to fly ball ration |
||||||||||||||
oab |
Opponent at bats |
||||||||||||||
slg |
Slugging percentage |
||||||||||||||
obp |
Opponent base percentage |
||||||||||||||
onbase |
|||||||||||||||
s |
Singles |
||||||||||||||
d |
Doubles |
||||||||||||||
t |
Triples |
||||||||||||||
hr |
Home runs |
||||||||||||||
tb |
Total bases |
||||||||||||||
bb |
Base on balls (a walk) |
||||||||||||||
ibb |
Intentional walk |
||||||||||||||
hbp |
Hit by pitch |
||||||||||||||
fc |
Fielder's choice |
||||||||||||||
roe |
Runs on errors |
||||||||||||||
h |
Holds |
||||||||||||||
h9 |
Hits per 9 innnings |
||||||||||||||
hr9 |
Home runs per 9 innings |
||||||||||||||
runs |
|||||||||||||||
total |
Total |
||||||||||||||
unearned |
Unearned |
||||||||||||||
earned |
Earned |
||||||||||||||
ir |
Inherited runners |
||||||||||||||
ira |
Inherited runners allowed |
||||||||||||||
bqr |
Bequeathed runners |
||||||||||||||
bqra |
Bequeathed runners allowed |
||||||||||||||
outcome |
|||||||||||||||
klook |
Strikeouts looking |
||||||||||||||
kswing |
Strikeouts swinging |
||||||||||||||
ktotal |
Strikeouts total |
||||||||||||||
ball |
Balls total |
||||||||||||||
iball |
Intentional balls taken |
||||||||||||||
dirtball |
Dirt balls faced |
||||||||||||||
foul |
Foul balls total |
||||||||||||||
outs |
|||||||||||||||
po |
Pop outs |
||||||||||||||
fo |
Fly outs |
||||||||||||||
fidp |
Fly outs into double play |
||||||||||||||
lo |
Line out |
||||||||||||||
lidp |
Line out into double play |
||||||||||||||
go |
Ground outs |
||||||||||||||
gidp |
Grounded in double plays |
||||||||||||||
klook |
Strikeouts looking |
||||||||||||||
kswing |
Strikeouts swinging |
||||||||||||||
ktotal |
Strikouts total |
||||||||||||||
sacfly |
Sacrafice flys |
||||||||||||||
sachit |
Sacrafice hits |
||||||||||||||
steal |
|||||||||||||||
caught |
Steals caught |
||||||||||||||
stolen |
Steals stolen |
||||||||||||||
pickoff |
Steals picked off |
||||||||||||||
pitches |
|||||||||||||||
count |
Pitches total |
||||||||||||||
btotal |
Balls total |
||||||||||||||
ktotal |
Strikeout total |
||||||||||||||
per_ip |
Pitches per inning played |
||||||||||||||
per_bf |
Pitches per batters faced |
||||||||||||||
per_start |
Pitches per start |
||||||||||||||
in_play |
|||||||||||||||
linedrive |
Line drives |
||||||||||||||
groundball |
Ground balls |
||||||||||||||
popup |
Pop ups |
||||||||||||||
flyball |
Fly balls |
||||||||||||||
games |
|||||||||||||||
svo |
Save opportunities |
||||||||||||||
qstart |
Quality starts |
||||||||||||||
shutout |
Shutouts |
||||||||||||||
team_shutout |
Team pitching shutouts |
||||||||||||||
complete |
Complete games |
||||||||||||||
win |
# of wins |
||||||||||||||
loss |
# of losses |
||||||||||||||
save |
# of saves |
||||||||||||||
hold |
# of holds |
||||||||||||||
blown_save |
# of blown saves |
||||||||||||||
bullpen [Array] |
BULLPEN |
||||||||||||||
oba |
Opponent batting average |
||||||||||||||
lob |
Left on base |
||||||||||||||
era |
Earned run average |
||||||||||||||
k9 |
Strikeouts per 9 innings |
||||||||||||||
whip |
Walks plus hits per innnings pitched |
||||||||||||||
kbb |
Strikeout to walk ratio |
||||||||||||||
pitch_count |
Pitch count |
||||||||||||||
wp |
Wild pitches |
||||||||||||||
bk |
Balks |
||||||||||||||
ip_1 |
Innings pitched (complete & partial) |
||||||||||||||
ip_2 |
Innings pitched (total outs) |
||||||||||||||
bf |
Batters faced |
||||||||||||||
gofo |
Ground out to fly out ratio |
||||||||||||||
babip |
Opponent batting average on balls in play |
||||||||||||||
bf_ip |
Batters faced per inning played |
||||||||||||||
gbfb |
Ground ball to fly ball ration |
||||||||||||||
oab |
Opponent at bats |
||||||||||||||
slg |
Slugging percentage |
||||||||||||||
obp |
Opponent base percentage |
||||||||||||||
s |
Singles |
||||||||||||||
d |
Doubles |
||||||||||||||
t |
Triples |
||||||||||||||
hr |
Home runs |
||||||||||||||
tb |
Total bases |
||||||||||||||
bb |
Base on balls (a walk) |
||||||||||||||
ibb |
Intentional walk |
||||||||||||||
hbp |
Hit by pitch |
||||||||||||||
fc |
Fielder's choice |
||||||||||||||
roe |
Runs on errors |
||||||||||||||
h |
Holds |
||||||||||||||
h9 |
Hits per 9 innnings |
||||||||||||||
hr9 |
Home runs per 9 innings |
||||||||||||||
runs |
|||||||||||||||
total |
Total |
||||||||||||||
unearned |
Unearned |
||||||||||||||
earned |
Earned |
||||||||||||||
ir |
Inherited runners |
||||||||||||||
ira |
Inherited runners allowed |
||||||||||||||
bqr |
Bequeathed runners |
||||||||||||||
bqra |
Bequeathed runners allowed |
||||||||||||||
outcome |
|||||||||||||||
klook |
Strikeouts looking |
||||||||||||||
kswing |
Strikeouts swinging |
||||||||||||||
ktotal |
Strikeouts total |
||||||||||||||
ball |
Balls total |
||||||||||||||
iball |
Intentional balls taken |
||||||||||||||
dirtball |
Dirt balls faced |
||||||||||||||
foul |
Foul balls total |
||||||||||||||
outs |
|||||||||||||||
po |
Pop outs |
||||||||||||||
fo |
Fly outs |
||||||||||||||
fidp |
Fly outs into double play |
||||||||||||||
lo |
Line out |
||||||||||||||
lidp |
Line out into double play |
||||||||||||||
go |
Ground outs |
||||||||||||||
gidp |
Grounded in double plays |
||||||||||||||
klook |
Strikeouts looking |
||||||||||||||
kswing |
Strikeouts swinging |
||||||||||||||
ktotal |
Strikouts total |
||||||||||||||
sacfly |
Sacrafice flys |
||||||||||||||
sachit |
Sacrafice hits |
||||||||||||||
steal |
|||||||||||||||
caught |
Steals caught |
||||||||||||||
stolen |
Steals stolen |
||||||||||||||
pickoff |
Steals picked off |
||||||||||||||
pitches |
|||||||||||||||
count |
Pitches total |
||||||||||||||
btotal |
Balls total |
||||||||||||||
ktotal |
Strikeout total |
||||||||||||||
per_ip |
Pitches per inning played |
||||||||||||||
per_bf |
Pitches per batters faced |
||||||||||||||
in_play |
|||||||||||||||
linedrive |
Line drives |
||||||||||||||
groundball |
Ground balls |
||||||||||||||
popup |
Pop ups |
||||||||||||||
flyball |
Fly balls |
||||||||||||||
games |
|||||||||||||||
svo |
Save opportunities |
||||||||||||||
qstart |
Quality starts |
||||||||||||||
shutout |
Shutouts |
||||||||||||||
team_shutout |
Team pitching shutouts |
||||||||||||||
complete |
Complete games |
||||||||||||||
win |
# of wins |
||||||||||||||
loss |
# of losses |
||||||||||||||
save |
# of saves |
||||||||||||||
hold |
# of holds |
||||||||||||||
blown_save |
# of blown saves |
||||||||||||||
overall [Array] |
TEAM |
||||||||||||||
po |
Putouts |
||||||||||||||
a |
Assists |
||||||||||||||
dp |
Double plays |
||||||||||||||
tp |
Triple plays |
||||||||||||||
error |
Errors total |
||||||||||||||
fc |
Total chances |
||||||||||||||
fpct |
Fielding percentage |
||||||||||||||
c_wp |
Wild pitches while catching |
||||||||||||||
pb |
|||||||||||||||
steal |
|||||||||||||||
caught |
Steals caught |
||||||||||||||
stolen |
Bases stolen |
||||||||||||||
pickoff |
Steals picked off |
||||||||||||||
pct |
Steal percentage |
||||||||||||||
errors |
|||||||||||||||
throwing |
Throwing erros |
||||||||||||||
fielding |
Fielding errors |
||||||||||||||
interference |
Interference erros |
||||||||||||||
total |
Total errors |
||||||||||||||
assists |
|||||||||||||||
outfield |
Outfield assists |
||||||||||||||
total |
Total outfield assists |
||||||||||||||
players [Array] |
PLAYER STATS |
||||||||||||||
preferred_name |
Player preferred name |
||||||||||||||
first_name |
Player first name |
||||||||||||||
last_name |
Player last number |
||||||||||||||
jersey_number |
Player jersey # |
||||||||||||||
id |
For Digichief internal use |
||||||||||||||
position |
Player Postions
Player postion link |
||||||||||||||
primary_position |
Player Postions
Player primary postion link |