---
title: "Get a single game_period_line by id"
method: GET
path: "/api/v1/nba/game_period_lines/{id}"
tags: ["NBA"]
---

# Get a single game_period_line by id

`GET /api/v1/nba/game_period_lines/{id}`

## Request

- Base URL: `https://api.stat-api.com`
- URL: `https://api.stat-api.com/api/v1/nba/game_period_lines/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required: Primary Key

## Response `200`

Single game_period_lines row.

- NBAGamePeriodLines: Period-specific NBA betting lines — first-half, second-half, and individual-quarter spreads, moneylines, and totals offered alongside the full-game markets.
  - `captured_at` string, date-time, required: When this snapshot was captured
  - `game_id` integer, required
  - `id` integer, required: Primary Key
  - `implied_away_win_pct` number, double, nullable
  - `implied_home_win_pct` number, double, nullable: From moneyline, 0-1
  - `is_opening` boolean, required: True if this is the first captured line for this period
  - `moneyline_away` integer, nullable: American odds for away team win in this period
  - `moneyline_home` integer, nullable: American odds for home team win in this period
  - `operator_id` integer, required: Data source (consensus, DraftKings, FanDuel, etc.)
  - `over_odds` integer, nullable: American odds for over
  - `period_code` string, required: Market period code (1H, 2H, Q1, Q2, Q3, Q4)
  - `season_id` integer, required: Denormalized for efficient season-level queries
  - `spread` number, double, nullable: Home team spread for this period
  - `spread_away_odds` integer, nullable: American odds for away spread
  - `spread_home_odds` integer, nullable: American odds for home spread (e.g., -110)
  - `total` number, double, nullable: Combined score total line for this period
  - `under_odds` integer, nullable: American odds for under

## Other responses

- `404`: Row not found.

---

[API](https://skmtc.dev/stat-api/apis/sports-db-public-api.md) · [All operations](https://skmtc.dev/stat-api/apis/sports-db-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stat-api/apis/sports-db-public-api/revisions/0c8484d5fc29?raw)
