104–117Final

Phoenix Suns
5-6Orlando Magic vs Phoenix Suns Box Score
Score by quarter
Box score
Orlando Magic
| Player | Min | Pts | Reb | Ast | Stl | Blk | TO | FG | 3PT | FT | +/- |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Franz Wagner F | 38 | 15 | 8 | 15 | 4 | 0 | 6 | 7-13 | 0-1 | 1-4 | -7 |
| Wendell Carter Jr. C | 34 | 27 | 13 | 2 | 1 | 1 | 3 | 10-12 | 2-2 | 5-6 | -6 |
| Desmond Bane G | 32 | 15 | 6 | 0 | 0 | 0 | 2 | 5-12 | 3-9 | 2-3 | -6 |
| Anthony Black G | 31 | 10 | 7 | 6 | 1 | 0 | 5 | 3-8 | 1-3 | 3-4 | -3 |
| Jase Richardson G | 26 | 10 | 2 | 3 | 2 | 2 | 3 | 4-9 | 2-4 | 0-0 | -4 |
| Tristan da Silva F | 30 | 18 | 2 | 1 | 0 | 0 | 3 | 6-15 | 4-12 | 2-2 | -15 |
| Jamal Cain F | 25 | 5 | 5 | 0 | 0 | 0 | 2 | 2-9 | 1-6 | 0-1 | -14 |
| Goga Bitadze C | 8 | 4 | 5 | 0 | 0 | 0 | 1 | 2-2 | 0-0 | 0-4 | +6 |
| Alex Morales G | 6 | 0 | 0 | 0 | 1 | 0 | 0 | 0-0 | 0-0 | 0-0 | -1 |
| Nikola Vucevic C | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0-1 | 0-1 | 0-0 | -11 |
| Jevon Carter G | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0-0 | 0-0 | 0-0 | -8 |
| Colin Castleton C | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0-0 | 0-0 | 0-0 | +4 |
Phoenix Suns
| Player | Min | Pts | Reb | Ast | Stl | Blk | TO | FG | 3PT | FT | +/- |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Devin Booker G | 34 | 30 | 1 | 8 | 3 | 0 | 3 | 11-22 | 4-8 | 4-4 | +16 |
| Miles Bridges F | 31 | 18 | 13 | 5 | 2 | 0 | 1 | 6-10 | 3-6 | 3-3 | +12 |
| Dillon Brooks F | 29 | 24 | 1 | 1 | 2 | 1 | 1 | 9-16 | 4-6 | 2-2 | +12 |
| Jalen Green G | 24 | 6 | 0 | 3 | 2 | 0 | 2 | 3-7 | 0-1 | 0-0 | +1 |
| Oso Ighodaro F | 24 | 2 | 5 | 1 | 0 | 1 | 2 | 1-2 | 0-0 | 0-2 | +7 |
| Ryan Dunn F | 25 | 11 | 3 | 3 | 0 | 1 | 0 | 5-7 | 1-2 | 0-0 | +3 |
| Collin Gillespie G | 24 | 6 | 2 | 2 | 3 | 0 | 1 | 2-9 | 2-5 | 0-0 | +12 |
| Khaman Maluach C | 22 | 8 | 6 | 2 | 2 | 0 | 1 | 4-6 | 0-0 | 0-0 | +13 |
| Luke Kennard G | 21 | 12 | 1 | 5 | 0 | 0 | 0 | 4-8 | 3-6 | 1-2 | +8 |
| Jamaree Bouyea G | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 0-0 | 0-0 | 0-0 | -4 |
| Koa Peat F | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0-0 | 0-0 | 0-0 | -7 |
| Duop Reath C | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0-0 | 0-0 | 0-0 | -4 |
| Pat Spencer G | 2 | 0 | 0 | 0 | 0 | 0 | 2 | 0-0 | 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 1590. /api/basketball/games/1590/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/1590.
import requests
API_KEY = "YOUR_API_KEY"
answer = requests.get(
"https://sportapi.ai/api/basketball/games/1590/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.
