122–96Final

Phoenix Suns
5-6San Antonio Spurs vs Phoenix Suns Box Score
Score by quarter
Box score
San Antonio Spurs
| Player | Min | Pts | Reb | Ast | Stl | Blk | TO | FG | 3PT | FT | +/- |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Stephon Castle G | 30 | 4 | 8 | 7 | 1 | 0 | 2 | 2-10 | 0-1 | 0-2 | +13 |
| De'Aaron Fox G | 29 | 15 | 9 | 6 | 0 | 0 | 1 | 5-8 | 2-4 | 3-3 | +20 |
| Julian Champagnie F | 27 | 11 | 3 | 2 | 2 | 0 | 2 | 4-11 | 3-9 | 0-0 | +2 |
| Dylan Harper G | 26 | 17 | 5 | 4 | 0 | 0 | 0 | 7-10 | 0-2 | 3-5 | +30 |
| Victor Wembanyama F | 25 | 40 | 11 | 3 | 0 | 8 | 1 | 15-19 | 2-3 | 8-10 | +30 |
| Keldon Johnson F | 26 | 4 | 5 | 3 | 0 | 0 | 0 | 2-6 | 0-1 | 0-0 | +30 |
| Harrison Barnes F | 21 | 11 | 2 | 0 | 0 | 0 | 0 | 3-8 | 2-6 | 3-3 | +22 |
| Carter Bryant F | 14 | 8 | 1 | 1 | 0 | 0 | 0 | 2-4 | 2-2 | 2-2 | -8 |
| Luke Kornet C | 13 | 2 | 4 | 1 | 0 | 1 | 0 | 1-1 | 0-0 | 0-0 | +1 |
| Jordan McLaughlin G | 11 | 4 | 4 | 2 | 1 | 0 | 1 | 2-5 | 0-1 | 0-0 | +1 |
| Tarris Reed Jr. C | 9 | 4 | 3 | 1 | 0 | 1 | 1 | 2-3 | 0-0 | 0-0 | -5 |
| David Jones Garcia F | 8 | 2 | 0 | 0 | 2 | 0 | 1 | 1-5 | 0-1 | 0-0 | -6 |
Phoenix Suns
| Player | Min | Pts | Reb | Ast | Stl | Blk | TO | FG | 3PT | FT | +/- |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Devin Booker G | 29 | 32 | 2 | 4 | 1 | 1 | 0 | 10-17 | 3-5 | 9-10 | -8 |
| Miles Bridges F | 26 | 7 | 5 | 0 | 0 | 2 | 0 | 3-9 | 0-4 | 1-1 | -18 |
| Dillon Brooks F | 26 | 7 | 4 | 0 | 0 | 0 | 1 | 3-14 | 1-2 | 0-0 | -6 |
| Jalen Green G | 24 | 6 | 5 | 4 | 0 | 0 | 3 | 2-8 | 0-1 | 2-2 | -21 |
| Oso Ighodaro F | 18 | 7 | 4 | 2 | 0 | 0 | 1 | 2-5 | 0-0 | 3-4 | -19 |
| Collin Gillespie G | 24 | 6 | 2 | 3 | 0 | 0 | 1 | 2-6 | 2-4 | 0-0 | -22 |
| Ryan Dunn F | 23 | 3 | 2 | 0 | 1 | 2 | 0 | 1-6 | 1-3 | 0-0 | -23 |
| Khaman Maluach C | 20 | 11 | 5 | 2 | 0 | 1 | 0 | 4-6 | 1-1 | 2-2 | -6 |
| Luke Kennard G | 14 | 3 | 1 | 0 | 0 | 0 | 0 | 1-4 | 1-3 | 0-0 | -30 |
| Jamaree Bouyea G | 9 | 4 | 0 | 3 | 0 | 0 | 0 | 2-2 | 0-0 | 0-0 | +5 |
| Rasheer Fleming F | 9 | 2 | 1 | 0 | 1 | 0 | 0 | 1-3 | 0-1 | 0-0 | +6 |
| Koa Peat F | 6 | 4 | 0 | 1 | 0 | 0 | 0 | 2-3 | 0-0 | 0-0 | +4 |
| Duop Reath C | 6 | 2 | 2 | 0 | 0 | 0 | 0 | 1-3 | 0-2 | 0-0 | +4 |
| Pat Spencer G | 6 | 2 | 2 | 2 | 0 | 1 | 1 | 1-3 | 0-0 | 0-0 | +4 |
Starters are marked with a bar. Min: minutes, TO: turnovers, FG, 3PT and FT: made-attempted.
Get this box score from the API
Every game has an id, and this one is 1621. /api/basketball/games/1621/players returns one line per player: minutes, points, shooting, rebounds, assists, steals, blocks, turnovers, fouls and plus-minus. Players who didn't play have the reason in dnp. The team totals are at /api/basketball/games/1621.
import requests
API_KEY = "YOUR_API_KEY"
answer = requests.get(
"https://sportapi.ai/api/basketball/games/1621/players",
headers={"X-API-Key": API_KEY},
timeout=20,
).json()
game = answer["game"]
print(game["away"]["name"], game["away"]["score"], "@", game["home"]["name"], game["home"]["score"])
for side in ("away", "home"):
print(game[side]["name"])
for row in answer["data"][side]:
if row["dnp"]:
continue
print(f' {row["player"]["name"]:<24} {row["minutes"]:>2} min {row["pts"]:>3} pts {row["reb"]:>2} reb {row["ast"]:>2} ast')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.
