NBA API

For API current version, visit our API Gallery

Click here to view the extended documentation.

Click here to view our data entry workflow.

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

___________________________________________________

Schedule

Schema 

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

Schema Example

Feed 

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/[nba_season]/schedule?season_id=[season]&api_key=[your_api_key]

Parameter Format Notes

[season] = yyyy

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

[nba_season] = PRE, REG, PST

Feed Example

___________________________________________________

Rolling 3 Day Schedule

Schema 

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

Schema Example

Feed 

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/[nba_season]/schedule-3day?season_id=[season]&api_key=[your_api_key]

Parameter Format Notes

[season] = yyyy

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

[nba_season] = PRE, REG, PST

Feed Example

___________________________________________________

Standings

Schema

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

Schema Example

Feed

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/[nba_season]/standings?season_id=[season]&api_key=[your_api_key]

Parameter Format Notes

[season] = yyyy

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

[nba_season] = REG

Feed Example

___________________________________________________

Rosters

Schema

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/schema/f40-roster-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/[nba_season]/roster?season_id=[season]&api_key=[your_api_key]

Parameter Format Notes

[season] = yyyy

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

[nba_season] = PRE, REG, PST

Feed Example

___________________________________________________

Game Score and Statistics

Schema

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/schema/f9-gamestats-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/statistics?game_id=[game_id]&api_key=[your_api_key]

Parameter Format Notes

[game_id] = integer

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

Feed Example

___________________________________________________

Play-By-Play

Schema

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/schema/f24-playbyplay-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/pbp?game_id=[game_id]&api_key=[your_api_key]

Parameter Format Notes

[game_id] = integer

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

Feed Example

___________________________________________________

Events Glossary

Schema

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/schema/f54-eventtypes-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/events?api_key=[your_api_key]

Parameter Format Notes

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

Feed Example

___________________________________________________

Seasonal Statistics (Season To Date)

Schema

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/schema/f30-seasonstats-v2.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/[nba_season]/seasontd?team=[team_id]&season_id=[season_id]&api_key=[your_api_key]

Parameter Format Notes

[team_id] = integer

[season] = yyyy

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

[nba_season] = PRE, REG, PST

Feed Example

___________________________________________________

Status

Schema

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/schema/daily-schedule-v1.0.xsd?api_key=[your_api_key]

Schema Example

Feed

Syntax: http://api.sportsdatallc.org/nba-[access_level][version]/[nba_season]/status/[season]/scheduel/daily.xml?api_key=[your_api_key]

Parameter Format Notes

[season] = yyyy

[access_level] = Real-Time (rt), Premium (p), Standard (s), Basic (b), Trial (t)

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

[nba_season] = REG

Feed Example