Basic lookup

Games

Use to list games with runs, hits and errors by season, date, date range or team, newest first. For upcoming games with lines use get_schedule; for one game's box score use get_game. Costs 2 credits.

post/v1/get_games

Request

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

Request body

season_type'regular' | 'postseason'

regular or postseason (default both).

teamstring

Team id or abbreviation.

datestring

One date, YYYY-MM-DD (US Eastern).

fromstring

From date, YYYY-MM-DD.

tostring

To date, YYYY-MM-DD.

status'scheduled' | 'final'
limitinteger

Max games (default 50).

offsetinteger
league'mlb' | 'ncaabase'

League. Defaults to mlb. One of: mlb, ncaabase.

Response

The result, wrapped in data.

Changes

No recorded changes to this operation across all 1 revision of this API.