SportAPINBAGet SportAPI Key

Chicago Bulls

Coach
Tiago Splitter
Arena
United Center
Conference
Eastern
1-9Record
14thEastern
L8Streak

Roster

No.PlayerPosHtGPMinPtsRebAstFG%3P%
24Norman PowellG6-4828.919.32.51.639.830.9
8Caleb WilsonF6-91030.718.96.21.942.032.4
14Matas BuzelisF6-81026.313.54.32.042.931.4
25Jalen SmithF6-81023.912.87.41.953.336.7
30Tre JonesG6-11018.710.62.52.948.640.0
9Nic ClaxtonC6-11217.010.55.02.577.8–
3Josh GiddeyG6-71027.710.24.68.341.928.6
44Patrick WilliamsF6-6324.36.73.33.047.112.5
11Leonard MillerF6-10915.96.33.70.943.418.5
7Buddy HieldG6-4813.05.61.81.648.638.1
2Noa EssengueF6-11913.75.63.60.740.520.0
35Isaac OkoroF6-41019.15.21.41.435.915.0
22Jaylin SellersG6-567.84.30.71.336.441.2
15Jordan HawkinsG6-5610.34.01.00.540.013.3
5Dailyn SwainG6-729.52.51.51.540.00.0
19Tobe AwakaF6-8410.02.05.30.875.0–
12Zach CollinsF6-977.91.62.30.729.40.0

Per-game averages in the NBA regular season so far. Players without a game have dashes.

Get this team's data from the API

The team ID of the Chicago Bulls is 27 and the slug is chicago-bulls. /api/basketball/teams/slug/{slug} returns the coach, the arena, the standing and the latest and next games. The roster is at /api/basketball/teams/{id}/roster and every game of the team at /api/basketball/teams/{id}/games, newest first. The averages in the roster table on this page come from each player's profile at /api/basketball/players/slug/{slug}.

team.py
import requests

API_KEY = "YOUR_API_KEY"
session = requests.Session()
session.headers["X-API-Key"] = API_KEY
BASE = "https://sportapi.ai/api/basketball"

team = session.get(f"{BASE}/teams/slug/chicago-bulls", timeout=20).json()["data"]
print(team["name"], "- coach", team["coach_name"])

roster = session.get(f"{BASE}/teams/27/roster", timeout=20).json()["data"]
for p in roster:
    print(p["jersey"], p["name"], p["position"], p["height_cm"], "cm")

games = session.get(f"{BASE}/teams/27/games", params={"league": "nba", "limit": 5}, timeout=20).json()["data"]
for g in games:
    print(g["start"], g["away"]["abbreviation"], "@", g["home"]["abbreviation"], g["status"])

The API documentation lists every basketball endpoint. The same key works for the NBA, WNBA, EuroLeague, NCAA and the other leagues, and for football too.

Updated Nov 13, 12:31 PM ET