Houston Rockets vs San Antonio Spurs Box Score
Score by quarter
Box score
Houston Rockets
| Player | Min | Pts | Reb | Ast | Stl | Blk | TO | FG | 3PT | FT | +/- |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Kevin Durant F | 37 | 20 | 7 | 6 | 0 | 0 | 3 | 5-10 | 2-2 | 8-8 | +6 |
| Alperen Sengun C | 36 | 29 | 7 | 7 | 0 | 1 | 3 | 10-20 | 2-4 | 7-8 | +3 |
| Amen Thompson G | 36 | 20 | 10 | 4 | 2 | 2 | 2 | 9-15 | 1-2 | 1-1 | -12 |
| Fred VanVleet G | 32 | 14 | 3 | 5 | 3 | 0 | 0 | 4-10 | 3-8 | 3-4 | +5 |
| Jabari Smith Jr. F | 31 | 7 | 5 | 1 | 1 | 2 | 2 | 2-5 | 1-2 | 2-2 | +12 |
| Tari Eason F | 27 | 12 | 6 | 0 | 4 | 0 | 1 | 4-8 | 0-2 | 4-4 | -7 |
| Marcus Smart G | 21 | 5 | 3 | 1 | 1 | 0 | 3 | 1-6 | 0-4 | 3-4 | +6 |
| Bogdan Bogdanovic G | 12 | 3 | 1 | 0 | 0 | 0 | 1 | 1-2 | 1-1 | 0-0 | +1 |
| Steven Adams C | 9 | 4 | 2 | 1 | 0 | 0 | 0 | 2-2 | 0-0 | 0-0 | +6 |
Did not play: Clint Capela (Coach's decision); Isaiah Crawford (Coach's decision); Bruce Thornton (Coach's decision); Jae'Sean Tate (Coach's decision)
San Antonio Spurs
| Player | Min | Pts | Reb | Ast | Stl | Blk | TO | FG | 3PT | FT | +/- |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Dylan Harper G | 36 | 20 | 3 | 2 | 0 | 0 | 0 | 8-15 | 1-4 | 3-4 | +4 |
| Devin Vassell G | 36 | 10 | 4 | 2 | 3 | 0 | 5 | 3-8 | 2-5 | 2-2 | +1 |
| De'Aaron Fox G | 34 | 19 | 4 | 9 | 2 | 0 | 5 | 6-11 | 2-5 | 5-5 | -14 |
| Stephon Castle G | 33 | 15 | 7 | 5 | 1 | 0 | 1 | 6-15 | 3-9 | 0-1 | -3 |
| Victor Wembanyama F | 32 | 25 | 13 | 2 | 0 | 2 | 2 | 9-21 | 2-6 | 5-8 | +3 |
| Julian Champagnie F | 25 | 6 | 0 | 0 | 3 | 0 | 1 | 2-5 | 2-5 | 0-0 | +7 |
| Keldon Johnson F | 19 | 8 | 6 | 1 | 1 | 0 | 1 | 4-7 | 0-1 | 0-0 | -6 |
| Luke Kornet C | 16 | 7 | 3 | 0 | 0 | 1 | 0 | 2-3 | 0-0 | 3-5 | -7 |
| Harrison Barnes F | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 0-2 | 0-2 | 0-0 | 0 |
| Carter Bryant F | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0-0 | 0-0 | 0-0 | -5 |
Did not play: Tarris Reed Jr. (Coach's decision); Jordan McLaughlin (Coach's decision)
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 1492. /api/basketball/games/1492/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/1492.
import requests
API_KEY = "YOUR_API_KEY"
answer = requests.get(
"https://sportapi.ai/api/basketball/games/1492/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.

