GET/api/v1/teams/{teamId}/affiliates
Team affiliates
A club’s minor-league affiliates.
On this page
Try it
https://statsapi.mlb.com/api/v1/teams/119/affiliates?season=2026const res = await fetch('https://statsapi.mlb.com/api/v1/teams/119/affiliates?season=2026')
const data = await res.json()curl -s 'https://statsapi.mlb.com/api/v1/teams/119/affiliates?season=2026'
Reference
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
teamId | number | yes | Team id, e.g. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
season | number | no | Four-digit year. |
sportIds | csv | no | Limit affiliates to specific sport (level) ids. |
Response
Type: TeamsResponse
/** `GET /api/v1/teams` */
export interface TeamsResponse extends WithCopyright {
teams: Team[]
}Build with it
Live examples powered by this endpoint with real data. Inspiration — restyle and remix freely.
Affiliate tree
A club’s minor-league affiliates grouped by level.
Loading live data…
Example URLs
- Dodgers affiliates (2026):
https://statsapi.mlb.com/api/v1/teams/119/affiliates?season=2026