SportAPINBAGet SportAPI Key
128–111Final

Detroit Pistons vs Miami Heat Box Score

Friday, October 23, 2026 · 8:00 PM ET · Kaseya Center · Attendance 19,616

Score by quarter

Team1234T
DET41243825128
MIA26272731111

Box score

Detroit Pistons

PlayerMinPtsRebAstStlBlkTOFG3PTFT+/-
Cade Cunningham G3016281375-82-34-6+9
John Collins F2923710019-155-60-0+15
Duncan Robinson F2817122015-125-102-2+22
Ausar Thompson G194341132-50-10-0+14
Jalen Duren C104631112-40-00-0+12
Paul Reed F26191140008-112-21-1+4
Daniss Jenkins G2215551035-81-24-5+14
Ronald Holland II F228541003-60-02-2+4
Kevin Huerter G205621122-71-50-0-1
Isaiah Joe G1812310014-91-63-4-8
Javonte Green G135300102-41-30-0+3
Tolu Smith F20100000-00-00-0-3

Did not play: Ebuka Okorie (Coach's decision); Chaz Lanier (Coach's decision); Taurean Prince (Coach's decision)

Miami Heat

PlayerMinPtsRebAstStlBlkTOFG3PTFT+/-
Giannis Antetokounmpo F333612521315-261-35-8-23
Davion Mitchell G3318250216-143-93-5-24
Andrew Wiggins F268821013-121-61-1-19
Klay Thompson G246220002-112-110-0-19
Bam Adebayo C234632012-60-20-2-22
Pelle Larsson G297211011-71-44-40
Bobby Portis F2111821004-103-60-0+6
Tim Hardaway Jr. G218410032-72-52-40
Nikola Jovic F135411101-10-03-4+1
Dru Smith G63010011-21-10-0+7
Nick Richards C33010001-11-10-0+2
Ryan Conwell G32000001-20-10-0+2
Myron Gardner F30000110-00-00-0+2
Simone Fontecchio F30100000-30-20-0+2

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 1491. /api/basketball/games/1491/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/1491.

box_score.py
import requests

API_KEY = "YOUR_API_KEY"
answer = requests.get(
    "https://sportapi.ai/api/basketball/games/1491/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.