MLB

MLB team roster

Returns the active roster for a specific team. Filter by position to pull only starting pitchers or corner infielders for lineup construction.

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

get/v1/mlb/teams/{team}/roster

Request

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

Path parameters

teamstring required

3-letter MLB team abbreviation (e.g. NYY, LAD)

Query parameters

position'SP' | 'RP' | 'C' | '1B' | '2B' | '3B' | 'SS' | 'OF' | 'DH'

Filter by position

Response

Team roster

successboolean
teamstring
countinteger

Example response

{
  "data": [
    {
      "id": "pc_mlb_001234",
      "full_name": "Shohei Ohtani",
      "first_name": "Shohei",
      "last_name": "Ohtani",
      "position": "DH",
      "team": "LAD",
      "status": "active"
    }
  ],
  "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.