# American League hitting stats 2026

**Use case:** 

Hitting lines for the American League only, for the 2026 season. The MLB API writes the league as AL and NL rather than in full, so that is what the filter matches - asking for "American League" returns nothing, which is the sort of thing that quietly produces an empty dataset.

## Input

```json
{
  "statGroups": [
    "hitting"
  ],
  "season": 2026,
  "playerPool": "ALL",
  "maxPlayers": 200,
  "monitoringMode": false,
  "resetMonitoringState": false,
  "teams": [],
  "players": [],
  "positions": [],
  "leagues": [
    "AL"
  ],
  "minGamesPlayed": 0,
  "maxRank": 0,
  "keywords": [],
  "keywordMatch": "any",
  "excludeKeywords": [],
  "useProxy": false
}
```

## Output

```json
{
  "season": {
    "label": "Season",
    "format": "string"
  },
  "statGroup": {
    "label": "Stat Group",
    "format": "string"
  },
  "playerName": {
    "label": "Player Name",
    "format": "string"
  },
  "teamName": {
    "label": "Team Name",
    "format": "string"
  },
  "position": {
    "label": "Position",
    "format": "string"
  },
  "source": {
    "label": "Source",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "statGroupName": {
    "label": "Stat Group Name",
    "format": "string"
  },
  "playerPool": {
    "label": "Player Pool",
    "format": "string"
  },
  "playerId": {
    "label": "Player Id",
    "format": "string"
  },
  "firstName": {
    "label": "First Name",
    "format": "string"
  },
  "lastName": {
    "label": "Last Name",
    "format": "string"
  },
  "teamId": {
    "label": "Team Id",
    "format": "string"
  },
  "leagueId": {
    "label": "League Id",
    "format": "string"
  },
  "leagueName": {
    "label": "League Name",
    "format": "string"
  },
  "positionCode": {
    "label": "Position Code",
    "format": "string"
  },
  "positionAbbreviation": {
    "label": "Position Abbreviation",
    "format": "string"
  },
  "positionType": {
    "label": "Position Type",
    "format": "string"
  },
  "statRank": {
    "label": "Stat Rank",
    "format": "string"
  },
  "teamsPlayedFor": {
    "label": "Teams Played For",
    "format": "string"
  },
  "age": {
    "label": "Age",
    "format": "string"
  },
  "gamesPlayed": {
    "label": "Games Played",
    "format": "string"
  },
  "groundOuts": {
    "label": "Ground Outs",
    "format": "string"
  },
  "airOuts": {
    "label": "Air Outs",
    "format": "string"
  },
  "runs": {
    "label": "Runs",
    "format": "string"
  },
  "doubles": {
    "label": "Doubles",
    "format": "string"
  },
  "triples": {
    "label": "Triples",
    "format": "string"
  },
  "homeRuns": {
    "label": "Home Runs",
    "format": "string"
  },
  "strikeOuts": {
    "label": "Strike Outs",
    "format": "string"
  },
  "baseOnBalls": {
    "label": "Base On Balls",
    "format": "string"
  },
  "intentionalWalks": {
    "label": "Intentional Walks",
    "format": "string"
  },
  "hits": {
    "label": "Hits",
    "format": "string"
  },
  "hitByPitch": {
    "label": "Hit By Pitch",
    "format": "string"
  },
  "avg": {
    "label": "Avg",
    "format": "string"
  },
  "atBats": {
    "label": "At Bats",
    "format": "string"
  },
  "obp": {
    "label": "Obp",
    "format": "string"
  },
  "slg": {
    "label": "Slg",
    "format": "string"
  },
  "ops": {
    "label": "Ops",
    "format": "string"
  },
  "caughtStealing": {
    "label": "Caught Stealing",
    "format": "string"
  },
  "stolenBases": {
    "label": "Stolen Bases",
    "format": "string"
  },
  "stolenBasePercentage": {
    "label": "Stolen Base Percentage",
    "format": "string"
  },
  "stolenBasePercentageRaw": {
    "label": "Stolen Base Percentage Raw",
    "format": "string"
  },
  "caughtStealingPercentage": {
    "label": "Caught Stealing Percentage",
    "format": "string"
  },
  "caughtStealingPercentageRaw": {
    "label": "Caught Stealing Percentage Raw",
    "format": "string"
  },
  "groundIntoDoublePlay": {
    "label": "Ground Into Double Play",
    "format": "string"
  },
  "numberOfPitches": {
    "label": "Number Of Pitches",
    "format": "string"
  },
  "plateAppearances": {
    "label": "Plate Appearances",
    "format": "string"
  },
  "totalBases": {
    "label": "Total Bases",
    "format": "string"
  },
  "rbi": {
    "label": "Rbi",
    "format": "string"
  },
  "leftOnBase": {
    "label": "Left On Base",
    "format": "string"
  },
  "sacBunts": {
    "label": "Sac Bunts",
    "format": "string"
  },
  "sacFlies": {
    "label": "Sac Flies",
    "format": "string"
  },
  "babip": {
    "label": "Babip",
    "format": "string"
  },
  "groundOutsToAirouts": {
    "label": "Ground Outs To Airouts",
    "format": "string"
  },
  "groundOutsToAiroutsRaw": {
    "label": "Ground Outs To Airouts Raw",
    "format": "string"
  },
  "catchersInterference": {
    "label": "Catchers Interference",
    "format": "string"
  },
  "atBatsPerHomeRun": {
    "label": "At Bats Per Home Run",
    "format": "string"
  },
  "atBatsPerHomeRunRaw": {
    "label": "At Bats Per Home Run Raw",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "string"
  },
  "statKey": {
    "label": "Stat Key",
    "format": "string"
  },
  "gamesStarted": {
    "label": "Games Started",
    "format": "string"
  },
  "era": {
    "label": "Era",
    "format": "string"
  },
  "inningsPitchedRaw": {
    "label": "Innings Pitched Raw",
    "format": "string"
  },
  "inningsPitchedOuts": {
    "label": "Innings Pitched Outs",
    "format": "string"
  },
  "inningsPitchedDecimal": {
    "label": "Innings Pitched Decimal",
    "format": "string"
  },
  "wins": {
    "label": "Wins",
    "format": "string"
  },
  "losses": {
    "label": "Losses",
    "format": "string"
  },
  "saves": {
    "label": "Saves",
    "format": "string"
  },
  "saveOpportunities": {
    "label": "Save Opportunities",
    "format": "string"
  },
  "holds": {
    "label": "Holds",
    "format": "string"
  },
  "blownSaves": {
    "label": "Blown Saves",
    "format": "string"
  },
  "earnedRuns": {
    "label": "Earned Runs",
    "format": "string"
  },
  "whip": {
    "label": "Whip",
    "format": "string"
  },
  "battersFaced": {
    "label": "Batters Faced",
    "format": "string"
  },
  "outs": {
    "label": "Outs",
    "format": "string"
  },
  "gamesPitched": {
    "label": "Games Pitched",
    "format": "string"
  },
  "completeGames": {
    "label": "Complete Games",
    "format": "string"
  },
  "shutouts": {
    "label": "Shutouts",
    "format": "string"
  },
  "strikes": {
    "label": "Strikes",
    "format": "string"
  },
  "strikePercentage": {
    "label": "Strike Percentage",
    "format": "string"
  },
  "hitBatsmen": {
    "label": "Hit Batsmen",
    "format": "string"
  },
  "balks": {
    "label": "Balks",
    "format": "string"
  },
  "wildPitches": {
    "label": "Wild Pitches",
    "format": "string"
  },
  "pickoffs": {
    "label": "Pickoffs",
    "format": "string"
  },
  "winPercentage": {
    "label": "Win Percentage",
    "format": "string"
  },
  "winPercentageRaw": {
    "label": "Win Percentage Raw",
    "format": "string"
  },
  "pitchesPerInning": {
    "label": "Pitches Per Inning",
    "format": "string"
  },
  "gamesFinished": {
    "label": "Games Finished",
    "format": "string"
  },
  "strikeoutWalkRatio": {
    "label": "Strikeout Walk Ratio",
    "format": "string"
  },
  "strikeoutsPer9Inn": {
    "label": "Strikeouts Per9 Inn",
    "format": "string"
  },
  "walksPer9Inn": {
    "label": "Walks Per9 Inn",
    "format": "string"
  },
  "hitsPer9Inn": {
    "label": "Hits Per9 Inn",
    "format": "string"
  },
  "runsScoredPer9": {
    "label": "Runs Scored Per9",
    "format": "string"
  },
  "homeRunsPer9": {
    "label": "Home Runs Per9",
    "format": "string"
  },
  "inheritedRunners": {
    "label": "Inherited Runners",
    "format": "string"
  },
  "inheritedRunnersScored": {
    "label": "Inherited Runners Scored",
    "format": "string"
  },
  "strikeoutWalkRatioRaw": {
    "label": "Strikeout Walk Ratio Raw",
    "format": "string"
  },
  "assists": {
    "label": "Assists",
    "format": "string"
  },
  "putOuts": {
    "label": "Put Outs",
    "format": "string"
  },
  "errors": {
    "label": "Errors",
    "format": "string"
  },
  "chances": {
    "label": "Chances",
    "format": "string"
  },
  "fielding": {
    "label": "Fielding",
    "format": "string"
  },
  "rangeFactorPerGame": {
    "label": "Range Factor Per Game",
    "format": "string"
  },
  "rangeFactorPer9Inn": {
    "label": "Range Factor Per9 Inn",
    "format": "string"
  },
  "inningsRaw": {
    "label": "Innings Raw",
    "format": "string"
  },
  "inningsOuts": {
    "label": "Innings Outs",
    "format": "string"
  },
  "inningsDecimal": {
    "label": "Innings Decimal",
    "format": "string"
  },
  "games": {
    "label": "Games",
    "format": "string"
  },
  "doublePlays": {
    "label": "Double Plays",
    "format": "string"
  },
  "triplePlays": {
    "label": "Triple Plays",
    "format": "string"
  },
  "throwingErrors": {
    "label": "Throwing Errors",
    "format": "string"
  },
  "passedBall": {
    "label": "Passed Ball",
    "format": "string"
  },
  "catcherERA": {
    "label": "Catcher ERA",
    "format": "string"
  },
  "searchUrl": {
    "label": "Search Url",
    "format": "string"
  },
  "note": {
    "label": "Note",
    "format": "string"
  },
  "linesRead": {
    "label": "Lines Read",
    "format": "string"
  }
}
```

## About this Actor

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


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/neverempty/mlb-stats-scraper.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
