Stats + aggregation

Player games

Use for a player's game log: every game's batting line and pitching line, newest first, optionally one season. Costs 5 credits.

post/v1/get_player_games

Request

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

Request body

player_idstring required
season_type'regular' | 'postseason'
limitinteger
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.