This repository contains tools, information, and documentation for accessing NBA season/post-season data that is available through data.nba.com.
The full JSON file for an NBA season schedule (2015 or later) can be accessed through the URL:
https://data.nba.com/data/10s/v2015/json/mobile_teams/nba/{YEAR}/league/00_full_schedule.json
+ lscd
+ mscd
+ mon
+ g
- gid
- gcode
- seri
- is
- gdte
- htm
- vtm
- etm
- an
- as
- st
- stt
+ bd
+ b ...
+ v
- tid
- re
- ta
- tn
- tc
- s
+ h
- tid
- re
- ta
- tn
- tc
- s
- gdtutc
- utctm
- ppdst
+ ptsls ...
+ mscd
+ mscd
...
| Name | Description | Value Type | Example |
|---|---|---|---|
lscd |
League Schedule | Array of JSON Objects | |
mscd |
Month Schedule | Array of JSON Objects | |
mon |
Month | String | "June" |
g |
Games | Array of JSON Objects | |
gid |
Game ID | String | "0041500407" |
gcode |
Game Code | String | "20160619/CLEGSW" |
seri |
Playoff Series Summary | String | "CLE wins series 4-3" |
gdte |
Game Date | String | "2016-06-19" |
an |
Arena | String | "ORACLE Arena" |
ac |
Arena City | String | "Oakland" |
as |
Arena State | String | "CA" |
stt |
Game Status | String | "Final" |
bd |
Broadcast Information | JSON Object | |
b |
Broadcasters | Array of JSON Objects | |
v |
Visiting Team Information | JSON Object | |
h |
Home Team Information | JSON Object | |
tid |
Team ID | Integer | 1610612739 |
re |
W-L Record | String | "16-5" |
ta |
Team Abbreviation | String | "CLE" |
tn |
Team Name | String | "Cavaliers" |
tc |
Team City | String | "Cleveland" |
s |
Team Score | String | "93" |
gdtutc |
Game Date UTC | String | "2016-06-20" |
utctm |
UTC Time | String | "00:00" |
Examples for data collection can be found here.