# Get the New York Yankees full 2026 roster

**Use case:** 

Scrape the New York Yankees roster from MLB's official Stats API. Get player names, positions, bio data, and bat/pitch hand.

## Input

```json
{
  "mode": "players",
  "season": 2026,
  "teamId": 147,
  "playerId": 660271,
  "gamePk": 744834,
  "date": "2024-07-04",
  "fromDate": "",
  "toDate": "",
  "leagueId": "both",
  "statGroup": "hitting",
  "gameType": "R",
  "maxItems": 50
}
```

## Output

```json
{
  "teamId": {
    "label": "Team ID",
    "format": "number"
  },
  "playerId": {
    "label": "Player ID",
    "format": "number"
  },
  "gamePk": {
    "label": "Game PK",
    "format": "number"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "fullName": {
    "label": "Full name",
    "format": "text"
  },
  "teamName": {
    "label": "Team",
    "format": "text"
  },
  "homeTeam": {
    "label": "Home",
    "format": "text"
  },
  "awayTeam": {
    "label": "Away",
    "format": "text"
  },
  "gameDate": {
    "label": "Date",
    "format": "text"
  },
  "wins": {
    "label": "Wins",
    "format": "number"
  },
  "losses": {
    "label": "Losses",
    "format": "number"
  },
  "mlbUrl": {
    "label": "MLB.com link",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [MLB Stats Scraper](https://apify.com/parsebird/mlb-stats-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parsebird/mlb-stats-scraper) to learn more, explore other use cases, and run it yourself.