List play_by_plays for NBA
Request
- Base URL: https://api.stat-api.com
- URL: https://api.stat-api.com/api/v1/nba/play_by_plays
- Auth: HTTP bearer
Query parameters
Filter to a single game.
Filter to plays involving a specific player.
Filter to plays by a specific team.
Filter by event type code: 1 made shot, 2 missed shot, 3 free throw, 4 rebound, 5 turnover, 6 foul, 7 violation, 8 substitution, 9 timeout, 10 jump ball, 11 ejection, 12 period start, 13 period end, 18 instant replay (the league codes).
Page size; defaults to (and is capped at) 5000.
Return rows with id strictly greater than this value, in ascending id order. To walk every row, start at 0 and then pass the previous response's next_from_id. Without it, the first page uses the table's default sort and returns no cursor.
Response format: json (default) or csv — the same rows as CSV with raw values, a blank cell for null, and X-Next-From-Id when another page exists. With format=csv only, the API key may be passed as the key query param (for Google Sheets IMPORTDATA); use a separate, revocable key for that.
Response
play_by_plays rows matching the declared filter set.
Changes
No recorded changes to this operation across all 2 revisions of this API.