NBA API

For API current version, visit our API Gallery

Click here to view the statistics summary.

Click here to view the extended documentation.

Click here to view our data entry workflow.

Click here to view our change log.

Note: Feeds are best viewed with Chrome, Firefox, or Internet Explorer

___________________________________________________

Schedule

Schema 

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/schedule-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed 

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/games/[season]/[nba_season]/schedule.xml?api_key=[your_api_key]

Parameter Format Notes

[season] = yyyy

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[nba_season] = pre, reg, pst

Feed Format Example

___________________________________________________

Daily Schedule 

Schema 

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/schedule-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed 

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/games/[year]/[month]/[day]/schedule.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[year] = Year in 4 digit format (YYYY)

[month] = Month in 2 digit format (MM)

[day] = Day of the month in 2 digit format (DD)

Feed Format Example

___________________________________________________

Series Schedule

Schema 

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/schedule-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed 

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/series/[season]/[nba_season]/schedule.xml?api_key=[your_api_key]

Parameter Format Notes

[season] = yyyy

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[nba_season] = pst

Feed Format Example

___________________________________________________

Game Boxscore

Schema 

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/game-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed 

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/games/[game_id]/boxscore.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[game_id] = ID for a given game

Feed Format Example

___________________________________________________

Standings

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/nba/standings-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/seasontd/[season]/[nba_season]/standings.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[season] = yyyy

[nba_season] = reg

Feed Format Example

___________________________________________________

Rankings

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/nba/rankings-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/seasontd/[season]/[nba_season]/rankings.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[season] = yyyy

[nba_season] = reg

Feed Format Example

___________________________________________________

League Hierarchy

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/nba/hierarchy-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/league/hierarchy.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

Feed Example

___________________________________________________

Team Profile (Rosters)

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/team-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/teams/[team_id]/profile.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[team_id] = ID for a given Team

Feed Example

___________________________________________________

Player Profile

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/profile-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/players/[player_id]/profile.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[player_id] = ID for a given player

Feed Example

___________________________________________________

Injuries

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/injuries-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/league/injuries.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

Feed Format Example

___________________________________________________

Game Summary

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/game-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/games/[game_id]/summary.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[game_id] = ID for a given game

Feed Format Example

___________________________________________________

Play-By-Play

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/pbp-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/games/[game_id]/pbp.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[game_id] = ID for a given game

Feed Format Example

___________________________________________________

Seasonal Statistics (Season To Date)

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/statistics-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/seasontd/[season]/[nba_season]/teams/[team_id]/statistics.xml?api_key=[your_api_key]

Parameter Format Notes

[team_id] = ID for a given team

[season] = yyyy

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[nba_season] = reg, pst

Feed Format Example

___________________________________________________

Daily Change Log

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/changelog-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/league/[year]/[month]/[day]/changes.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[year] = Year in 4 digit format (YYYY)

[month] = Month in 2 digit format (MM)

[day] = Day of the month in 2 digit format (DD)

Feed Example

___________________________________________________

Daily Transfers

Schema

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/schema/transfers-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http(s)://api.sportsdatallc.org/nba-[access_level][version]/league/[year]/[month]/[day]/transfers.xml?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Production (p), Trial (t)

[version] = whole number (sequential, starting with the number 1)

[year] = Year in 4 digit format (YYYY)

[month] = Month in 2 digit format (MM)

[day] = Day of the month in 2 digit format (DD)

Feed Example