League & team ids – Daktronics GameDay Baseball User Manual
Page 34

28
MLB Files & ID Codes
GameDay Basic Catalog
League & Team IDs
Use the following URL to find all the teams and their IDs for a particular league:
http://mlb.mlb.com/lookup/named.team_all.bam?active_sw=%27Y%27&sport_code=%27nnn%27
Change the “nnn” in the URL to any sport_code shown below:
League
Code
Major League Baseball
mlb
Triple-A
aaa
Double-A
aax
Single-A (advanced)
afa
Single-A (full season)
afx
Single-A (short-season)
asx
Rookie
rok
Winter
win
International
int
Minor League Baseball
min
The page will contain all the teams in the league, including a three-digit team_id. For example, in the
MLB, the team_id for the Boston Orioles is “110”. In the URLs listed on the previous page, replace the
“###” with the appropriate team code for both teams playing that day.
Notice that each team also has a three-digit league_id. League IDs for MLB and AAA are shown
below for quick reference:
League
ID
AL
103
NL
104
PCL
112
INT
117
MEX
125
In the Standings and Leaders URLs listed on the previous page, replace the “###” with the
appropriate League ID.