Search NBA games by team, year, month or day.

Currently only 2015-16 and 2016-17 games are available.

http://api.suredbits.com/nba/v0/games

Keywords

Keywords Type Description
team String The Team ID (Refer to this table of teams and their teamIDs.)
year Integer Year of play

Usage

Resource Description Example
/games All regular-season games for the current day. http://api.suredbits.com/nba/v0/games
/games/year All regular-season games in the given year. The year provided is the year in which the season started. Ex. To search the 2015-16 season, provide 2015 as the year. http://api.suredbits.com/nba/v0/games/2016
/games/year/month All games played in the month of a year. http://api.suredbits.com/nba/v0/games/2017/1
/games/year/month/day The games played on a specific date, given a year, month and day. http://api.suredbits.com/nba/v0/games/2017/1/29
/games/team The game played for a given team today. Nothing returned if the team doesn't play today. http://api.suredbits.com/nba/v0/games/phi
/games/team/year/ All games for a given team in a given year. The year provided is the year in which the season started. Ex. To search the 2015-16 season, provide 2015 as the year. http://api.suredbits.com/nba/v0/games/phi/2015
/games/team/year/month All games for a given team in a month in a year. http://api.suredbits.com/nba/v0/games/phi/2017/1
/games/team/year/month/day The game played by a team given a year, month and day. Returns nothing if the team didn't play that day. http://api.suredbits.com/nba/v0/games/phi/2017/1/29
/games/team/seasonphase The games for the given team during the given season phase this year. http://api.suredbits.com/nba/v0/games/sas/post
/games/team/seasonphase/year The games for the given team during the given season phase and year. http://api.suredbits.com/nba/v0/games/sas/post/2016
/games/seasonphase The games for the given season phase for this year. http://api.suredbits.com/nba/v0/games/post
/games/seasonphase/year The games for the given season phase for the given year. http://api.suredbits.com/nba/v0/games/post/2016

Team ID Table

TeamID City & Name TeamID City & Name
ATL Atlanta Hawks MIA Miami Heat
BKN Brooklyn Nets MIL Milwaukee Bucks
BOS Boston Celtics MIN Minnesota Timberwolves
CHA Charlotte Hornets NOP New Orleans Pelicans
CHI Chicago Bulls NYK New York Knicks
CLE Cleveland Cavaliers OKC Oklahoma City Thunder
DAL Dallas Mavericks ORL Orlando Magic
DEN Denver Broncos PHI Philadelphia 76ers
DET Detroit Pistons PHX Phoenix Suns
GSW Golden State Warriors POR Portland Trail Blazers
HOU Houston Rockets SAC Sacramento Kings
IND Indiana Pacers SAS San Antonio Spurs
LAC Los Angeles Clippers TOR Toronto Raptors
LAL Los Angeles Lakers UTA Utah Jazz
MEM Memphis Grizzlies WAS Washington Wizards