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

# Schedule

`POST /v1/get_schedule`

## Request

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

Use to see what is coming up: unplayed games in the next N days (default 7), or a specific week of the current season. Includes consensus lines where posted. Costs 2 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.

## Request body

- object
  - `team` string: Team code to filter
  - `week` integer: A specific week of the current season (returns all games that week, played or not)
  - `days` integer: Days ahead to look when week is not set (default 7)

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `season` number, required
    - `week` number, nullable, required
    - `days` number, nullable, required
    - `upcoming_games` object[], required
      - `game_id` string, required
      - `season` number, required
      - `week` number, required
      - `game_type` string, required
      - `home_team` string, required
      - `away_team` string, required
      - `home_score` number, nullable, required
      - `away_score` number, nullable, required
      - `status` string, required
      - `kickoff` string, nullable, required
      - `gameday` string, nullable
      - `spread_line` number, nullable
      - `total_line` number, nullable
      - `home_moneyline` number, nullable
      - `away_moneyline` number, nullable
      - `stadium` string, nullable
      - `roof` string, nullable
      - `surface` string, nullable
      - `home_qb_name` string, nullable
      - `away_qb_name` string, nullable
    - `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/endzoneapi/apis/endzoneapi-api.md) · [All operations](https://skmtc.dev/endzoneapi/apis/endzoneapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endzoneapi/apis/endzoneapi-api/revisions/79ac6ebe298d?raw)
