---
title: "Schedule"
method: POST
path: "/v1/get_schedule"
tags: ["Basic lookup"]
---

# Schedule

`POST /v1/get_schedule`

## Request

- Base URL: `https://mcp.puckapi.com`
- URL: `https://mcp.puckapi.com/v1/get_schedule`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Use when checking what games are coming up. Returns only unplayed future games for the next N days (default 7). For past games, use get_games instead. Costs 2 credits.

## Request body

- object
  - `team` string: Team abbreviation to filter
  - `days` integer: Number of days ahead to look (default 7)
  - `league` 'nhl' | 'pwhl' | 'ohl' | 'whl' | 'qmjhl' | 'echl' | 'ahl' | 'ushl': League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `upcoming_games` object[], required
      - `id` string, required
      - `gameDate` string, nullable, required
      - `startTime` string, nullable, required
      - `homeTeam` string, required
      - `awayTeam` string, required
      - `homeTeamName` string, nullable, required
      - `awayTeamName` string, nullable, required
      - `venue` string, nullable, required
      - `gameType` string, nullable, required
    - `count` number, required

## Other responses

- `400`: Invalid arguments.
- `401`: Missing or invalid API key.
- `402`: Not enough credits.
- `429`: Rate limited.

---

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