---
title: "Game Line History"
method: GET
path: "/api/line-history/{sport}/{external_game_id}"
tags: ["line-history"]
---

# Game Line History

`GET /api/line-history/{sport}/{external_game_id}`

## Request

- Base URL: `https://api.fairline.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fairline.io/api/line-history/{sport}/{external_game_id}`
- Auth: HTTP bearer

## Path parameters

- `sport` string, required
- `external_game_id` string, required

## Query parameters

- `market` string, required: Odds vocab: ML | Totals | Spread | ...
- `side` string, required: home | away | over | under
- `line` number, nullable
- `player` string, nullable

## Response `200`

Successful Response

- GameLineHistoryResponse
  - `sport` string, required
  - `market` string, required
  - `side` string, required
  - `line` number, nullable
  - `player` string, nullable
  - `books` string[]
  - `points` SnapshotLinePoint[]
    - `observed_at` string, date-time, required
    - `prices` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fairline/apis/fairline-api.md) · [All operations](https://skmtc.dev/fairline/apis/fairline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fairline/apis/fairline-api/revisions/9f7ed2bfdf75?raw)
