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

# Schedule

`POST /v1/get_schedule`

## Request

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

Use for upcoming games (next 1-30 days, default 7) with the median line across posted sportsbooks: moneylines, run line and total. For every book's line use get_odds. 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
  - `days` integer
  - `team` string: Team id or abbreviation.
  - `league` 'mlb' | 'ncaabase': League. Defaults to mlb. One of: mlb, ncaabase.

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `days` number, required
    - `games` object[], 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/fastballapi/apis/fastballapi-api.md) · [All operations](https://skmtc.dev/fastballapi/apis/fastballapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fastballapi/apis/fastballapi-api/revisions/ea9aaf113d7f?raw)
