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

# Get a single game_line by id

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

## Request

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

## Path parameters

- `id` integer, required: Primary Key

## Response `200`

Single game_lines row.

- MLBGameLines: MLB game betting lines — moneylines, run lines (the baseball point-spread equivalent), and over/under totals from sportsbooks, captured over time as the lines move from opening to closing. In MLB, spread = run line (typically +/- 1.5).
  - `captured_at` string, date-time, required: When this snapshot was captured
  - `game_id` integer, required
  - `id` integer, required: Primary Key
  - `implied_away_score` number, double, nullable
  - `implied_away_win_pct` number, double, nullable
  - `implied_home_score` number, double, nullable: Calculated from spread + total
  - `implied_home_win_pct` number, double, nullable: From moneyline, 0-1
  - `is_opening` boolean, required: True if this is the opening line
  - `moneyline_away` integer, nullable: American odds for away team win
  - `moneyline_home` integer, nullable: American odds for home team win
  - `operator_id` integer, required: Data source (consensus, DraftKings, FanDuel, etc.)
  - `over_odds` integer, nullable: American odds for over
  - `season_id` integer, required: Denormalized for efficient season-level queries
  - `spread` number, double, nullable: Home team run line (e.g., -1.5 means home favored by 1.5 runs)
  - `spread_away_odds` integer, nullable: American odds for away run line
  - `spread_home_odds` integer, nullable: American odds for home run line (e.g., -130)
  - `total` number, double, nullable: Combined run total line (e.g., 8.5)
  - `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/23b66b957723?raw)
