NBA player game log
A player's games in a season: date, matchup, result, minutes, shooting (field goals, threes, free throws), rebounds, assists, steals, blocks, turnovers, fouls, points and plus-minus.
Every response includes credits_used: the credits this call cost.
Part of the NBA API: 22 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
idrequired | string | Player id like 2544 from /nba/v1/players/search, or an nba.com player link. Example: 2544 |
season | string | Season as 2025-26 or its first year 2025; the current season by default. |
season_type | regular | playoffs | preseason | play-in | cup | all-star | regular (default), playoffs, preseason, play-in, cup (NBA Cup) or all-star. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/nba/v1/player/game-log?id=2544&season=2025-26" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/nba/v1/player/game-log",
params={"id": "2544", "season": "2025-26"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/nba/v1/player/game-log");
url.searchParams.set("id", "2544");
url.searchParams.set("season", "2025-26");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"player_id": 2544,"season": "2025-26","season_type": "Regular Season","count": 60,"games": [{"season_id": "22025","player_id": 2544,"game_id": "0022501198","game_date": "Apr 12, 2026","matchup": "LAL vs. UTA","wl": "W","min": 17,"fgm": 6,"fga": 15,"fg_pct": 0.4,"fg3_m": 0,"fg3_a": 3,"fg3_pct": 0,"ftm": 6,"fta": 7,"ft_pct": 0.857,"oreb": 0,"dreb": 4,"reb": 4,"ast": 6,"stl": 3,"blk": 0,"tov": 4,"pf": 0,"pts": 18,"plus_minus": 14,"video_available": 1},{"season_id": "22025","player_id": 2544,"game_id": "0022501185","game_date": "Apr 10, 2026","matchup": "LAL vs. PHX","wl": "W","min": 32,"fgm": 10,"fga": 16,"fg_pct": 0.625,"fg3_m": 2,"fg3_a": 2,"fg3_pct": 1,"ftm": 6,"fta": 9,"ft_pct": 0.667,"oreb": 0,"dreb": 6,"reb": 6,"ast": 12,"stl": 4,"blk": 0,"tov": 2,"pf": 1,"pts": 28,"plus_minus": 27,"video_available": 1},"… 58 more"],"cached": false,"credits_used": 1}