SportAPINBAGet SportAPI Key

Utah Jazz

Coach
Will Hardy
Arena
Delta Center
Conference
Western
1-11Record
15thWestern
L10Streak

Roster

No.PlayerPosHtGPMinPtsRebAstFG%3P%
3Keyonte GeorgeG6-41132.220.44.56.543.529.9
23Lauri MarkkanenF7-1830.918.06.62.039.339.7
20Jaren Jackson Jr.F6-10426.016.35.02.050.035.7
22Darryn PetersonG6-51230.916.14.03.940.635.7
19Ace BaileyG6-91231.013.36.71.946.226.1
11Jaxson HayesC7-01125.08.56.11.662.10.0
28Brice SensabaughF6-61214.98.12.91.339.540.0
44Mo BambaC7-0817.67.35.50.672.7–
8Isaiah CollierG6-41216.07.23.54.044.633.3
21Josh OkogieG6-41118.54.03.31.128.233.3
5Josh GreenG6-61020.03.61.81.136.128.6
10Svi MykhailiukG6-71216.03.61.61.128.821.6
2Kyle FilipowskiF6-1188.83.11.80.540.033.3
13Tony BradleyC6-1056.01.62.20.060.0–
00Harrison IngramF6-50––––––
30Jusuf NurkicC6-110––––––
4Kobe BufkinG6-40––––––
15Trey AlexanderG6-50––––––

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 Utah Jazz is 29 and the slug is utah-jazz. /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/utah-jazz", timeout=20).json()["data"]
print(team["name"], "- coach", team["coach_name"])

roster = session.get(f"{BASE}/teams/29/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/29/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:01 PM ET