MLB

All 30 MLB teams

Returns metadata for all 30 MLB teams including roster depth. Abbreviations are normalized (e.g. NYY, BOS, LAD).

Tier access: Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha

get/v1/mlb/teams

Request

  • Base URL: https://api.playcallerapp.com
  • URL: https://api.playcallerapp.com/v1/mlb/teams
  • Auth: API key in header X-PlayCaller-Key

Response

30 MLB teams with roster counts

successboolean
endpointstring
countinteger

Example response

{
  "data": [
    {
      "abbreviation": "NYY",
      "full_name": "New York Yankees",
      "roster_size": 26,
      "active_players": 24,
      "positions": [
        "1B",
        "2B",
        "OF",
        "SP"
      ]
    }
  ],
  "meta": {
    "sport": "nfl",
    "league": "nfl",
    "tier": "pro",
    "calls_remaining_this_month": 9843,
    "documentation_url": "https://playcallerapp.com/developer/docs"
  }
}

Changes

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