NBA game results

GET https://api.api.sh/nba/v1/games
1 credit / call sports try it in the playground →

Finished games (the last seven days when no filter is given) with each team's line (result, minutes, points, shooting, rebounds, assists, steals, blocks, turnovers, fouls, plus-minus) for a date range, a season, a team or a matchup. Each game appears once per team. Pass next_page back as page; null on the last page.

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

nametypedescription
start_date string From date (YYYY-MM-DD).
end_date string To date (YYYY-MM-DD).
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.
team string Team abbreviation (LAL, BOS ...) or nickname.
opponent string Opponent team (abbreviation).
page integer Page number, from 1.
limit integer Rows per page (1-500, default 100).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/nba/v1/games?team=LAL&season=2024-25" \
  -H "x-api-key: $APISH_KEY"

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)

{"applied_filters": {"start_date": null,"end_date": null,"season": "2024-25","season_type": null,"team": "LAL","opponent": null},"total": 93,"page": 1,"count": 93,"next_page": null,"games": [{"season_id": "42024","team_id": 1610612747,"team_abbreviation": "LAL","team_name": "Los Angeles Lakers","game_id": "0042400165","game_date": "2025-04-30","matchup": "LAL vs. MIN","wl": "L","min": 239,"pts": 96,"fgm": 33,"fga": 78,"fg_pct": 0.423,"fg3_m": 11,"fg3_a": 37,"fg3_pct": 0.297,"ftm": 19,"fta": 25,"ft_pct": 0.76,"oreb": 8,"dreb": 29,"reb": 37,"ast": 24,"stl": 5,"blk": 1,"tov": 15,"pf": 25,"plus_minus": -7,"url": "https://www.nba.com/game/0042400165"},{"season_id": "42024","team_id": 1610612747,"team_abbreviation": "LAL","team_name": "Los Angeles Lakers","game_id": "0042400164","game_date": "2025-04-27","matchup": "LAL @ MIN","wl": "L","min": 240,"pts": 113,"fgm": 36,"fga": 80,"fg_pct": 0.45,"fg3_m": 19,"fg3_a": 47,"fg3_pct": 0.404,"ftm": 22,"fta": 25,"ft_pct": 0.88,"oreb": 11,"dreb": 30,"reb": 41,"ast": 23,"stl": 6,"blk": 7,"tov": 10,"pf": 23,"plus_minus": -3,"url": "https://www.nba.com/game/0042400164"},"… 91 more"],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.