# MLB teams (and minor-league clubs) API

List MLB and minor-league baseball clubs by season, league and sport level via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, and retrieve structured data including number of clubs returned, numeric team identifier, official full club name, club abbreviation code, and active club status flag to build team id lookup tables, map minor-league farm systems, and compare historical franchise alignments.

Documentation: https://openany.si/mlb-stats/mlb-stats-mlb-teams-and-minor-league-clubs-api/d7396ed3-5ff4-4b7d-9257-815947d6a510/
API ID: d7396ed3-5ff4-4b7d-9257-815947d6a510
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/mlb/v1/teams
Page update time: 2026-12-03T02:44:10.225Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:09.316Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## MLB Teams API

Retrieve club directories with optional season (teams as they existed in that year), league (al or nl) and sport\_id (1 MLB default, 11 Triple-A, 12 Double-A, 13 High-A, 14 Single-A, 16 Rookie, 17 winter leagues, 51 international). Returned teams\[\] include IDs, abbreviations, divisions, leagues, venues and parent organizations.

## What You Can Build

- **Build team ID lookup tables**: Fetch teams\[\].id and teams\[\].abbreviation once to validate inputs for roster, schedule and transaction calls.
- **Map minor-league farm systems**: Query sport\_id=11 through 16 and inspect parent\_org to connect affiliates to their MLB parent clubs.
- **Compare historical franchise alignments**: Pass a past season year to see clubs, venues and divisions as they stood in that season.

## Returned Data

| Field | Meaning |
| --- | --- |
| `count` | Number of clubs returned |
| `teams[].id` | Numeric team identifier |
| `teams[].name` | Official full club name |
| `teams[].abbreviation` | Club abbreviation code |
| `teams[].active` | Active club status flag |
| `teams[].division.name` | Division name |
| `teams[].league.name` | League name |
| `teams[].venue.name` | Home ballpark name |
| `teams[].sport_id` | Competition level identifier |
| `teams[].location` | Club city or location name |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MLB teams (and minor-league clubs) API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "season": {
          "type": "string",
          "description": "Season year (teams as they were that season)."
        },
        "league": {
          "type": "string",
          "description": "al or nl.",
          "enum": [
            "al",
            "nl"
          ]
        },
        "sport_id": {
          "type": "string",
          "description": "Level: 1 MLB (default), 11 Triple-A, 12 Double-A, 13 High-A, 14 Single-A, 16 Rookie, 17 winter leagues, 51 international.",
          "enum": [
            "1",
            "11",
            "12",
            "13",
            "14",
            "16",
            "17",
            "21",
            "22",
            "23",
            "51",
            "586"
          ]
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "applied_filters": {
      "type": "object",
      "properties": {
        "league": {
          "type": "null"
        },
        "season": {
          "type": "null"
        },
        "sport_id": {
          "type": "integer"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "teams": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "abbreviation": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "club_name": {
            "type": "string"
          },
          "division": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "first_year": {
            "type": "integer"
          },
          "franchise_name": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "league": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "location": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parent_org": {
            "type": "null"
          },
          "season": {
            "type": "integer"
          },
          "short_name": {
            "type": "string"
          },
          "sport_id": {
            "type": "integer"
          },
          "spring_league": {
            "type": "string"
          },
          "spring_venue": {
            "type": "integer"
          },
          "team_name": {
            "type": "string"
          },
          "venue": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/mlb/v1/teams?output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "applied_filters": {
    "league": null,
    "season": null,
    "sport_id": 1
  },
  "cached": false,
  "count": 30,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:22:11.080Z",
  "teams": [
    {
      "abbreviation": "AZ",
      "active": true,
      "club_name": "Diamondbacks",
      "division": {
        "id": 203,
        "name": "National League West"
      },
      "first_year": 1996,
      "franchise_name": "Arizona",
      "id": 109,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Phoenix",
      "logo": "https://www.mlbstatic.com/team-logos/109.svg",
      "name": "Arizona Diamondbacks",
      "parent_org": null,
      "season": 2026,
      "short_name": "Arizona",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 4249,
      "team_name": "D-backs",
      "venue": {
        "id": 15,
        "name": "Chase Field"
      }
    },
    {
      "abbreviation": "ATH",
      "active": true,
      "club_name": "Athletics",
      "division": {
        "id": 200,
        "name": "American League West"
      },
      "first_year": 1901,
      "franchise_name": "Athletics",
      "id": 133,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Sacramento",
      "logo": "https://www.mlbstatic.com/team-logos/133.svg",
      "name": "Athletics",
      "parent_org": null,
      "season": 2026,
      "short_name": "Athletics",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 2507,
      "team_name": "Athletics",
      "venue": {
        "id": 2529,
        "name": "Sutter Health Park"
      }
    },
    {
      "abbreviation": "ATL",
      "active": true,
      "club_name": "Braves",
      "division": {
        "id": 204,
        "name": "National League East"
      },
      "first_year": 1871,
      "franchise_name": "Atlanta",
      "id": 144,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Atlanta",
      "logo": "https://www.mlbstatic.com/team-logos/144.svg",
      "name": "Atlanta Braves",
      "parent_org": null,
      "season": 2026,
      "short_name": "Atlanta",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 5380,
      "team_name": "Braves",
      "venue": {
        "id": 4705,
        "name": "Truist Park"
      }
    },
    {
      "abbreviation": "BAL",
      "active": true,
      "club_name": "Orioles",
      "division": {
        "id": 201,
        "name": "American League East"
      },
      "first_year": 1901,
      "franchise_name": "Baltimore",
      "id": 110,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Baltimore",
      "logo": "https://www.mlbstatic.com/team-logos/110.svg",
      "name": "Baltimore Orioles",
      "parent_org": null,
      "season": 2026,
      "short_name": "Baltimore",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2508,
      "team_name": "Orioles",
      "venue": {
        "id": 2,
        "name": "Oriole Park at Camden Yards"
      }
    },
    {
      "abbreviation": "BOS",
      "active": true,
      "club_name": "Red Sox",
      "division": {
        "id": 201,
        "name": "American League East"
      },
      "first_year": 1901,
      "franchise_name": "Boston",
      "id": 111,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Boston",
      "logo": "https://www.mlbstatic.com/team-logos/111.svg",
      "name": "Boston Red Sox",
      "parent_org": null,
      "season": 2026,
      "short_name": "Boston",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 4309,
      "team_name": "Red Sox",
      "venue": {
        "id": 3,
        "name": "Fenway Park"
      }
    },
    {
      "abbreviation": "CHC",
      "active": true,
      "club_name": "Cubs",
      "division": {
        "id": 205,
        "name": "National League Central"
      },
      "first_year": 1874,
      "franchise_name": "Chicago",
      "id": 112,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Chicago",
      "logo": "https://www.mlbstatic.com/team-logos/112.svg",
      "name": "Chicago Cubs",
      "parent_org": null,
      "season": 2026,
      "short_name": "Chi Cubs",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 4629,
      "team_name": "Cubs",
      "venue": {
        "id": 17,
        "name": "Wrigley Field"
      }
    },
    {
      "abbreviation": "CWS",
      "active": true,
      "club_name": "White Sox",
      "division": {
        "id": 202,
        "name": "American League Central"
      },
      "first_year": 1901,
      "franchise_name": "Chicago",
      "id": 145,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Chicago",
      "logo": "https://www.mlbstatic.com/team-logos/145.svg",
      "name": "Chicago White Sox",
      "parent_org": null,
      "season": 2026,
      "short_name": "Chi White Sox",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 3809,
      "team_name": "White Sox",
      "venue": {
        "id": 4,
        "name": "Rate Field"
      }
    },
    {
      "abbreviation": "CIN",
      "active": true,
      "club_name": "Reds",
      "division": {
        "id": 205,
        "name": "National League Central"
      },
      "first_year": 1882,
      "franchise_name": "Cincinnati",
      "id": 113,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Cincinnati",
      "logo": "https://www.mlbstatic.com/team-logos/113.svg",
      "name": "Cincinnati Reds",
      "parent_org": null,
      "season": 2026,
      "short_name": "Cincinnati",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 3834,
      "team_name": "Reds",
      "venue": {
        "id": 2602,
        "name": "Great American Ball Park"
      }
    },
    {
      "abbreviation": "CLE",
      "active": true,
      "club_name": "Guardians",
      "division": {
        "id": 202,
        "name": "American League Central"
      },
      "first_year": 1901,
      "franchise_name": "Cleveland",
      "id": 114,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Cleveland",
      "logo": "https://www.mlbstatic.com/team-logos/114.svg",
      "name": "Cleveland Guardians",
      "parent_org": null,
      "season": 2026,
      "short_name": "Cleveland",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 3834,
      "team_name": "Guardians",
      "venue": {
        "id": 5,
        "name": "Progressive Field"
      }
    },
    {
      "abbreviation": "COL",
      "active": true,
      "club_name": "Rockies",
      "division": {
        "id": 203,
        "name": "National League West"
      },
      "first_year": 1992,
      "franchise_name": "Colorado",
      "id": 115,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Denver",
      "logo": "https://www.mlbstatic.com/team-logos/115.svg",
      "name": "Colorado Rockies",
      "parent_org": null,
      "season": 2026,
      "short_name": "Colorado",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 4249,
      "team_name": "Rockies",
      "venue": {
        "id": 19,
        "name": "Coors Field"
      }
    },
    {
      "abbreviation": "DET",
      "active": true,
      "club_name": "Tigers",
      "division": {
        "id": 202,
        "name": "American League Central"
      },
      "first_year": 1901,
      "franchise_name": "Detroit",
      "id": 116,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Detroit",
      "logo": "https://www.mlbstatic.com/team-logos/116.svg",
      "name": "Detroit Tigers",
      "parent_org": null,
      "season": 2026,
      "short_name": "Detroit",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2511,
      "team_name": "Tigers",
      "venue": {
        "id": 2394,
        "name": "Comerica Park"
      }
    },
    {
      "abbreviation": "HOU",
      "active": true,
      "club_name": "Astros",
      "division": {
        "id": 200,
        "name": "American League West"
      },
      "first_year": 1962,
      "franchise_name": "Houston",
      "id": 117,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Houston",
      "logo": "https://www.mlbstatic.com/team-logos/117.svg",
      "name": "Houston Astros",
      "parent_org": null,
      "season": 2026,
      "short_name": "Houston",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 5000,
      "team_name": "Astros",
      "venue": {
        "id": 2392,
        "name": "Daikin Park"
      }
    },
    {
      "abbreviation": "KC",
      "active": true,
      "club_name": "Royals",
      "division": {
        "id": 202,
        "name": "American League Central"
      },
      "first_year": 1968,
      "franchise_name": "Kansas City",
      "id": 118,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Kansas City",
      "logo": "https://www.mlbstatic.com/team-logos/118.svg",
      "name": "Kansas City Royals",
      "parent_org": null,
      "season": 2026,
      "short_name": "Kansas City",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 2603,
      "team_name": "Royals",
      "venue": {
        "id": 7,
        "name": "Kauffman Stadium"
      }
    },
    {
      "abbreviation": "LAA",
      "active": true,
      "club_name": "Angels",
      "division": {
        "id": 200,
        "name": "American League West"
      },
      "first_year": 1961,
      "franchise_name": "Los Angeles",
      "id": 108,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Anaheim",
      "logo": "https://www.mlbstatic.com/team-logos/108.svg",
      "name": "Los Angeles Angels",
      "parent_org": null,
      "season": 2026,
      "short_name": "LA Angels",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 2500,
      "team_name": "Angels",
      "venue": {
        "id": 1,
        "name": "Angel Stadium"
      }
    },
    {
      "abbreviation": "LAD",
      "active": true,
      "club_name": "Dodgers",
      "division": {
        "id": 203,
        "name": "National League West"
      },
      "first_year": 1884,
      "franchise_name": "Los Angeles",
      "id": 119,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Los Angeles",
      "logo": "https://www.mlbstatic.com/team-logos/119.svg",
      "name": "Los Angeles Dodgers",
      "parent_org": null,
      "season": 2026,
      "short_name": "LA Dodgers",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 3809,
      "team_name": "Dodgers",
      "venue": {
        "id": 22,
        "name": "UNIQLO Field at Dodger Stadium"
      }
    },
    {
      "abbreviation": "MIA",
      "active": true,
      "club_name": "Marlins",
      "division": {
        "id": 204,
        "name": "National League East"
      },
      "first_year": 1991,
      "franchise_name": "Miami",
      "id": 146,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Miami",
      "logo": "https://www.mlbstatic.com/team-logos/146.svg",
      "name": "Miami Marlins",
      "parent_org": null,
      "season": 2026,
      "short_name": "Miami",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2520,
      "team_name": "Marlins",
      "venue": {
        "id": 4169,
        "name": "loanDepot park"
      }
    },
    {
      "abbreviation": "MIL",
      "active": true,
      "club_name": "Brewers",
      "division": {
        "id": 205,
        "name": "National League Central"
      },
      "first_year": 1968,
      "franchise_name": "Milwaukee",
      "id": 158,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Milwaukee",
      "logo": "https://www.mlbstatic.com/team-logos/158.svg",
      "name": "Milwaukee Brewers",
      "parent_org": null,
      "season": 2026,
      "short_name": "Milwaukee",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 2518,
      "team_name": "Brewers",
      "venue": {
        "id": 32,
        "name": "American Family Field"
      }
    },
    {
      "abbreviation": "MIN",
      "active": true,
      "club_name": "Twins",
      "division": {
        "id": 202,
        "name": "American League Central"
      },
      "first_year": 1901,
      "franchise_name": "Minnesota",
      "id": 142,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Minneapolis",
      "logo": "https://www.mlbstatic.com/team-logos/142.svg",
      "name": "Minnesota Twins",
      "parent_org": null,
      "season": 2026,
      "short_name": "Minnesota",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2862,
      "team_name": "Twins",
      "venue": {
        "id": 3312,
        "name": "Target Field"
      }
    },
    {
      "abbreviation": "NYM",
      "active": true,
      "club_name": "Mets",
      "division": {
        "id": 204,
        "name": "National League East"
      },
      "first_year": 1962,
      "franchise_name": "New York",
      "id": 121,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Flushing",
      "logo": "https://www.mlbstatic.com/team-logos/121.svg",
      "name": "New York Mets",
      "parent_org": null,
      "season": 2026,
      "short_name": "NY Mets",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2856,
      "team_name": "Mets",
      "venue": {
        "id": 3289,
        "name": "Citi Field"
      }
    },
    {
      "abbreviation": "NYY",
      "active": true,
      "club_name": "Yankees",
      "division": {
        "id": 201,
        "name": "American League East"
      },
      "first_year": 1903,
      "franchise_name": "New York",
      "id": 147,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Bronx",
      "logo": "https://www.mlbstatic.com/team-logos/147.svg",
      "name": "New York Yankees",
      "parent_org": null,
      "season": 2026,
      "short_name": "NY Yankees",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2523,
      "team_name": "Yankees",
      "venue": {
        "id": 3313,
        "name": "Yankee Stadium"
      }
    },
    {
      "abbreviation": "PHI",
      "active": true,
      "club_name": "Phillies",
      "division": {
        "id": 204,
        "name": "National League East"
      },
      "first_year": 1883,
      "franchise_name": "Philadelphia",
      "id": 143,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Philadelphia",
      "logo": "https://www.mlbstatic.com/team-logos/143.svg",
      "name": "Philadelphia Phillies",
      "parent_org": null,
      "season": 2026,
      "short_name": "Philadelphia",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2700,
      "team_name": "Phillies",
      "venue": {
        "id": 2681,
        "name": "Citizens Bank Park"
      }
    },
    {
      "abbreviation": "PIT",
      "active": true,
      "club_name": "Pirates",
      "division": {
        "id": 205,
        "name": "National League Central"
      },
      "first_year": 1882,
      "franchise_name": "Pittsburgh",
      "id": 134,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Pittsburgh",
      "logo": "https://www.mlbstatic.com/team-logos/134.svg",
      "name": "Pittsburgh Pirates",
      "parent_org": null,
      "season": 2026,
      "short_name": "Pittsburgh",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2526,
      "team_name": "Pirates",
      "venue": {
        "id": 31,
        "name": "PNC Park"
      }
    },
    {
      "abbreviation": "SD",
      "active": true,
      "club_name": "Padres",
      "division": {
        "id": 203,
        "name": "National League West"
      },
      "first_year": 1968,
      "franchise_name": "San Diego",
      "id": 135,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "San Diego",
      "logo": "https://www.mlbstatic.com/team-logos/135.svg",
      "name": "San Diego Padres",
      "parent_org": null,
      "season": 2026,
      "short_name": "San Diego",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 2530,
      "team_name": "Padres",
      "venue": {
        "id": 2680,
        "name": "Petco Park"
      }
    },
    {
      "abbreviation": "SF",
      "active": true,
      "club_name": "Giants",
      "division": {
        "id": 203,
        "name": "National League West"
      },
      "first_year": 1883,
      "franchise_name": "San Francisco",
      "id": 137,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "San Francisco",
      "logo": "https://www.mlbstatic.com/team-logos/137.svg",
      "name": "San Francisco Giants",
      "parent_org": null,
      "season": 2026,
      "short_name": "San Francisco",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 2532,
      "team_name": "Giants",
      "venue": {
        "id": 2395,
        "name": "Oracle Park"
      }
    },
    {
      "abbreviation": "SEA",
      "active": true,
      "club_name": "Mariners",
      "division": {
        "id": 200,
        "name": "American League West"
      },
      "first_year": 1977,
      "franchise_name": "Seattle",
      "id": 136,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Seattle",
      "logo": "https://www.mlbstatic.com/team-logos/136.svg",
      "name": "Seattle Mariners",
      "parent_org": null,
      "season": 2026,
      "short_name": "Seattle",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 2530,
      "team_name": "Mariners",
      "venue": {
        "id": 680,
        "name": "T-Mobile Park"
      }
    },
    {
      "abbreviation": "STL",
      "active": true,
      "club_name": "Cardinals",
      "division": {
        "id": 205,
        "name": "National League Central"
      },
      "first_year": 1892,
      "franchise_name": "St. Louis",
      "id": 138,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "St. Louis",
      "logo": "https://www.mlbstatic.com/team-logos/138.svg",
      "name": "St. Louis Cardinals",
      "parent_org": null,
      "season": 2026,
      "short_name": "St. Louis",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2520,
      "team_name": "Cardinals",
      "venue": {
        "id": 2889,
        "name": "Busch Stadium"
      }
    },
    {
      "abbreviation": "TB",
      "active": true,
      "club_name": "Rays",
      "division": {
        "id": 201,
        "name": "American League East"
      },
      "first_year": 1996,
      "franchise_name": "Tampa Bay",
      "id": 139,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "St. Petersburg",
      "logo": "https://www.mlbstatic.com/team-logos/139.svg",
      "name": "Tampa Bay Rays",
      "parent_org": null,
      "season": 2026,
      "short_name": "Tampa Bay",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2534,
      "team_name": "Rays",
      "venue": {
        "id": 12,
        "name": "Tropicana Field"
      }
    },
    {
      "abbreviation": "TEX",
      "active": true,
      "club_name": "Rangers",
      "division": {
        "id": 200,
        "name": "American League West"
      },
      "first_year": 1961,
      "franchise_name": "Texas",
      "id": 140,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Arlington",
      "logo": "https://www.mlbstatic.com/team-logos/140.svg",
      "name": "Texas Rangers",
      "parent_org": null,
      "season": 2026,
      "short_name": "Texas",
      "sport_id": 1,
      "spring_league": "Cactus League",
      "spring_venue": 2603,
      "team_name": "Rangers",
      "venue": {
        "id": 5325,
        "name": "Globe Life Field"
      }
    },
    {
      "abbreviation": "TOR",
      "active": true,
      "club_name": "Blue Jays",
      "division": {
        "id": 201,
        "name": "American League East"
      },
      "first_year": 1977,
      "franchise_name": "Toronto",
      "id": 141,
      "league": {
        "id": 103,
        "name": "American League"
      },
      "location": "Toronto",
      "logo": "https://www.mlbstatic.com/team-logos/141.svg",
      "name": "Toronto Blue Jays",
      "parent_org": null,
      "season": 2026,
      "short_name": "Toronto",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 2536,
      "team_name": "Blue Jays",
      "venue": {
        "id": 14,
        "name": "Rogers Centre"
      }
    },
    {
      "abbreviation": "WSH",
      "active": true,
      "club_name": "Nationals",
      "division": {
        "id": 204,
        "name": "National League East"
      },
      "first_year": 1968,
      "franchise_name": "Washington",
      "id": 120,
      "league": {
        "id": 104,
        "name": "National League"
      },
      "location": "Washington",
      "logo": "https://www.mlbstatic.com/team-logos/120.svg",
      "name": "Washington Nationals",
      "parent_org": null,
      "season": 2026,
      "short_name": "Washington",
      "sport_id": 1,
      "spring_league": "Grapefruit League",
      "spring_venue": 5000,
      "team_name": "Nationals",
      "venue": {
        "id": 3309,
        "name": "Nationals Park"
      }
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which clubs are returned if I pass no filters?
By default it returns all 30 current MLB clubs (sport_id=1).

### How do I list minor-league or winter-league teams?
Set sport_id to 11 (Triple-A), 12 (Double-A), 13 (High-A), 14 (Single-A), 16 (Rookie), 17 (winter leagues) or 51 (international).

### Can I filter clubs to the American League or National League?
Yes. Pass league=al or league=nl in the query string.

### Does the season parameter return historical club names and venues?
Yes. The season parameter returns teams as they were configured in that season year.

### How do I get a single team's recent games and season record?
Take teams[].id or teams[].abbreviation and call the MLB Team Profile API.

### How do caching and payload trimming work?
Pass fresh=1 to skip the 24-hour cache, raw=0 to omit bulky raw blocks and fields to select specific keys.

## Available implementations
- apish: https://openany.si/mlb-stats/mlb-stats-mlb-teams-and-minor-league-clubs-api/d7396ed3-5ff4-4b7d-9257-815947d6a510/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
