Stats + aggregation

Team stats

Use for team offence and run prevention for a season: runs per game for and against, run differential, and batting and opponents' batting (AVG, OBP, SLG, OPS, K%, BB%, HR) from every plate appearance. Costs 5 credits.

post/v1/get_team_stats

Request

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

Request body

teamstring
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.