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

# Get a single game_period_line by id

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

## Request

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

⚠️ This endpoint is documented but not yet live. Calls return 503 until the MLB data load is in production.

## Path parameters

- `id` integer, required: Primary Key

## Response `200`

Single game_period_lines row.

- MLBGamePeriodLines: Period-specific MLB betting lines — first-five-innings markets (F5), individual-inning bets, and other partial-game spreads, moneylines, and totals. Each row is a time-series snapshot - only captured when values change.
  - `captured_at` string, date-time, required
  - `game_id` integer, required
  - `id` integer, required: Primary Key
  - `implied_away_win_pct` number, double, nullable
  - `implied_home_win_pct` number, double, nullable
  - `is_opening` boolean, required
  - `moneyline_away` integer, nullable
  - `moneyline_home` integer, nullable
  - `operator_id` integer, required: Data source (consensus, DraftKings, FanDuel, etc.)
  - `over_odds` integer, nullable
  - `period_code` string, required: Market period code (F5 = first 5 innings, F3, F7)
  - `season_id` integer, required: Denormalized for efficient season-level queries
  - `spread` number, double, nullable: Home team run line for this period
  - `spread_away_odds` integer, nullable
  - `spread_home_odds` integer, nullable
  - `total` number, double, nullable: Combined run total line for this period
  - `under_odds` integer, nullable

## Other responses

- `404`: Row not found.
- `503`: Coming soon — handler returns 503 until data is wired in.

---

[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/601ff9eaca3f?raw)
