List game_lines for NBA
Request
- Base URL: https://api.stat-api.com
- URL: https://api.stat-api.com/api/v1/nba/game_lines
- Auth: HTTP bearer
Query parameters
Filter to a single game.
Filter by season.
Filter by sportsbook id: 6 Consensus (full history), 1 DraftKings, 2 FanDuel, 1683 Pinnacle, 1684 BetMGM, 1685 Caesars, 1686 BetRivers, 1687 ESPN BET (per-book rows begin 2026-05).
Filter to opening lines only. Reliable from the 2025-26 season; earlier seasons largely lack opener flags.
Page size.
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
game_lines rows matching the declared filter set.
Changes
No recorded changes to this operation across all 3 revisions of this API.