---
title: "List game_period_lines for MLB"
method: GET
path: "/api/v1/mlb/game_period_lines"
tags: ["MLB"]
---

# List game_period_lines for MLB

`GET /api/v1/mlb/game_period_lines`

## Request

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

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

## Query parameters

- `game_id` integer
- `limit` integer
- `from_id` integer
- `format` 'json' | 'csv'

## Response `200`

game_period_lines rows matching the declared filter set.

- MLBGamePeriodLinesListResponse
  - `game_period_lines` MLBGamePeriodLines[], required
    - `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
  - `has_more` boolean, required: True when a full page came back, so more rows can exist.
  - `limit` integer, required: Page size used for this response.
  - `next_from_id` integer, nullable, required: Pass this as `from_id` on the next request to page forward. `null` on the terminal page, and on a first page requested without `from_id` (that page uses the default sort): to walk every row, start with `from_id=0`.

## Other responses

- `400`: No declared filter set was satisfied by the request — see `accepted` in the body for the valid combinations.
- `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)
