---
title: "List periods for NHL"
method: GET
path: "/api/v1/nhl/periods"
tags: ["NHL"]
---

# List periods for NHL

`GET /api/v1/nhl/periods`

## Request

- Base URL: `https://api.stat-api.com`
- URL: `https://api.stat-api.com/api/v1/nhl/periods`
- Auth: HTTP bearer

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

## Query parameters

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

## Response `200`

periods rows matching the declared filter set.

- NHLPeriodsListResponse
  - `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`.
  - `periods` NHLPeriods[], required
    - `away_team_score` integer, required
    - `game_id` integer, required
    - `home_team_score` integer, required
    - `id` integer, required: Primary Key
    - `league_game_id` integer, required: Official NHL game ID (issued by the league; matches nhl.games.league_game_id).
    - `name` string, required: 1, 2, 3, OT, OT2, SO
    - `period_id` integer, required
    - `period_number` integer, required

## 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/0c8484d5fc29?raw)
