# MLB Bullpen Workload 2023-2025, Relievers and 2025 Starters (`o19750120/mlb-season-pitching-bullpen-data`) Actor

MLB bullpen and reliever usage for 2023-2025: back-to-back days, third outings in four days, long relief, returning share and change from the season before. Plus 2025 team and starter tables. Retrosheet open data, no live games, injuries or line-ups. Pay per row.

- **URL**: https://apify.com/o19750120/mlb-season-pitching-bullpen-data.md
- **Developed by:** [Oliver Liu](https://apify.com/o19750120) (community)
- **Categories:** Sports
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 rows delivered

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## MLB Bullpen Workload 2023-2025, Relievers and 2025 Starters

**How hard each MLB bullpen was used in 2023, 2024 and 2025, club by club and reliever by reliever, with the change from the season before already worked out.** Back-to-back days, third outings in four days, long relief, how much of the work fell on three arms and how many relief outs came from pitchers who were already there the year before. Next to it, the finished 2025 season per club and per starting pitcher. All counted from Retrosheet game records, whose notice allows reuse and resale with credit. Open data only, with no upcoming games, injuries or line-ups.

**Who it's for:** people building bullpen or fatigue features for a 2026 model, writers doing off-season previews, and sabermetrics hobbyists who would rather not parse three seasons of game logs. **Price:** US$0.004 per row. Three seasons of one club's bullpen are 3 rows, US$0.012; all 30 clubs for 2025 cost US$0.12.

**Why this is useful in the off-season:** a free stat site shows a reliever's season line. Counting how often he pitched on consecutive days, or how a club's relief load moved from 2024 to 2025, means going through every game. Here each of those is one field, for all 30 clubs and 2,406 reliever seasons, in one run.

**Why stop at 2025?** Retrosheet publishes a season's game records in the winter after it ends. The 2026 records were not out on 23 November 2026, so 2025 is the newest finished season here. 2023 is the first season with the pitch clock, which is why the history starts there.

If you searched for an **MLB bullpen stats API**, **reliever usage data**, **bullpen fatigue data** or **2025 baseball pitching stats**, this Actor gives you **bullpen workload by team**, **reliever workload**, **team stats**, **starting pitcher stats**, **one-run game records** and **Pythagorean records** as JSON, CSV or Excel, worked out from Retrosheet game records instead of scraped web pages.

![Real rows from a run: top 12 teams of 2025 by wins, with run difference, one-run records, first-five standing and bullpen runs](https://matches.ayskilllab.com/shots/listing-p02-teams.png)

*Real rows from a run with `kind: team`, sorted by wins for this picture.*

### Sample output: 2025 bullpens used most on consecutive days

Five rows from a run on 23 November 2026 (`kind: bullpen`, `season: 2025`, all clubs), sorted by back-to-back appearances. The average club had 91 back-to-back relief appearances and 54 third outings in four days in 2025.

| Team | Relief share of outs | Relief ERA | Back-to-back | 3rd in 4 days | Top 3 share | Returning share | ERA change vs 2024 |
|---|---:|---:|---:|---:|---:|---:|---:|
| Cincinnati Reds | 0.397 | 3.89 | 128 | 90 | 0.368 | 0.564 | -0.20 |
| Seattle Mariners | 0.397 | 3.72 | 118 | 67 | 0.376 | 0.519 | +0.01 |
| Cleveland Guardians | 0.384 | 3.44 | 111 | 63 | 0.374 | 0.528 | +0.87 |
| Kansas City Royals | 0.392 | 3.63 | 109 | 69 | 0.344 | 0.650 | -0.50 |
| Washington Nationals | 0.415 | 5.59 | 109 | 78 | 0.343 | 0.449 | +1.45 |

"Returning share" is the part of a club's relief outs thrown by pitchers who also relieved for it the season before.

#### 2025 team table

Five team rows from a run on 23 November 2026 (`kind: team`, all clubs), sorted by wins. Each row has 18 more fields, listed further down.

| Team | W-L | Run diff | Pythag win % | One-run W-L | Ahead after 5 | Bullpen runs per 9 |
|---|---|---:|---:|---|---:|---:|
| Milwaukee Brewers | 97-65 | +172 | 0.608 | 28-20 | 79 | 4.08 |
| Philadelphia Phillies | 96-66 | +130 | 0.583 | 26-21 | 78 | 4.67 |
| New York Yankees | 94-68 | +164 | 0.597 | 23-22 | 91 | 4.84 |
| Toronto Blue Jays | 94-68 | +77 | 0.546 | 27-20 | 68 | 4.44 |
| Los Angeles Dodgers | 93-69 | +142 | 0.586 | 25-24 | 75 | 4.61 |

`bullpen_runs_per_9` counts all runs, not only earned runs, so it runs higher than a bullpen ERA.

### What one run returns

| `kind` | One row is | Rows | What you read it for |
|---|---|---:|---|
| `bullpen` | One club's relief work in one season, 2023-2025 | 90 | Relief outs and their share of all outs, relievers used, relief ERA, K and BB rates, back-to-back and third-in-four-days outings, long relief, heavy bullpen games, how concentrated the work was, returning share, change from the season before |
| `reliever` | One pitcher's relief for one club in one season, 2023-2025 | 2,406 | Appearances, outs, rank in the club's bullpen, ERA, K and BB rates, games finished, saves, back-to-back and third-in-four-days outings, longest daily streak, his season before |
| `team` | One club's 2025 season | 30 | Record, run difference, Pythagorean winning percentage, home and away, one-run games, standing after five, bullpen outs and runs |
| `starter` | One pitcher's 2025 starts for one club | 396 | Starts, outs, earned runs, ERA, batters faced, K and BB rates, home runs per nine, Retrosheet id |

The whole dataset is 2,922 rows and does not change between runs. Rows come newest season first, club by club, and relievers within a club from the most used down.

### How to use it

1. Click **Try for free** and open the **Input** tab.
2. Choose *bullpen*, *reliever*, *team* or *starter* under **What to get**.
3. Optional: list clubs by full name, such as `Los Angeles Dodgers`. Empty means all 30. The Oakland club is `Athletics` in every season.
4. For `bullpen` and `reliever`, optionally pick one **Season**, and for `reliever` a **Minimum relief appearances** to skip short stints you would otherwise pay for.
5. Set **Maximum results**, then click **Start**.
6. Download JSON, CSV or Excel, or read the dataset through the Apify API. `retrosheet_id` lets you join other Retrosheet data.

```json
{ "kind": "reliever", "teams": ["Los Angeles Dodgers"], "season": "2025", "minReliefAppearances": 20, "maxResults": 8 }
```

![Real rows from a run with kind starter for the Los Angeles Dodgers](https://matches.ayskilllab.com/shots/listing-p02-starters.png)

### Coverage

| Covered | Not covered |
|---|---|
| Bullpens and relievers: 2023, 2024 and 2025 regular seasons, all 30 clubs | Seasons before 2023, the 2026 season, postseason, minor leagues |
| Team and starter tables: the 2025 regular season | Team and starter tables for 2023 and 2024 |
| Every pitcher who started or relieved in those seasons | Batters, line-ups, injuries, pitch counts, pitch-level data |
| MLB | NPB, KBO, CPBL |

### Output example: `kind: bullpen`

A real row, unedited.

```json
{
  "kind": "bullpen",
  "season": 2025,
  "source_id": "retrosheet",
  "team": "Los Angeles Dodgers",
  "games": 162,
  "relief_appearances": 581,
  "relievers_used": 35,
  "relievers_per_game": 3.59,
  "relief_outs": 1973,
  "relief_share_of_outs": 0.456,
  "starter_outs_per_start": 14.51,
  "relief_runs": 337,
  "relief_earned_runs": 312,
  "relief_era": 4.27,
  "relief_runs_per_9": 4.61,
  "relief_strikeout_rate": 0.243,
  "relief_walk_rate": 0.095,
  "back_to_back_appearances": 104,
  "three_in_four_days_appearances": 57,
  "long_relief_appearances": 119,
  "heavy_bullpen_games": 87,
  "top3_share_of_relief_outs": 0.305,
  "returning_share_of_relief_outs": 0.507,
  "prev_season_relief_outs": 1944,
  "relief_outs_change": 29,
  "prev_season_relief_era": 3.53,
  "relief_era_change": 0.74,
  "back_to_back_change": -4,
  "attribution": "The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at www.retrosheet.org. Chadwick Baseball Bureau (https://github.com/chadwickbureau/register, ODC-By).",
  "license_url": "https://www.retrosheet.org/notice.txt",
  "data_date": "2026-11-23",
  "data_is_stale": false
}
```

### Fields: `kind: bullpen`

| Field | What it is | Example |
|---|---|---|
| `games` | Games the club played in Retrosheet's records for that season. | `162` |
| `relief_appearances` | Relief appearances: every time a pitcher entered after the starter. | `581` |
| `relievers_used` | Different pitchers who relieved for the club. | `35` |
| `relievers_per_game` | Relief appearances per game. | `3.59` |
| `relief_outs` | Outs recorded in relief. | `1973` |
| `relief_share_of_outs` | Share of the club's outs recorded by relievers. | `0.456` |
| `starter_outs_per_start` | Outs per start by the club's starters. | `14.51` |
| `relief_runs` | All runs charged to relievers. | `337` |
| `relief_earned_runs` | Earned runs charged to relievers. | `312` |
| `relief_era` | Earned runs per nine innings in relief. | `4.27` |
| `relief_runs_per_9` | All runs per nine innings in relief. | `4.61` |
| `relief_strikeout_rate` | Strikeouts per batter faced in relief. | `0.243` |
| `relief_walk_rate` | Walks per batter faced in relief. | `0.095` |
| `back_to_back_appearances` | Relief appearances by a pitcher who also pitched the day before. | `104` |
| `three_in_four_days_appearances` | Relief appearances that were the pitcher's third or more in four days. | `57` |
| `long_relief_appearances` | Relief appearances of four outs or more. | `119` |
| `heavy_bullpen_games` | Games in which relievers recorded 12 outs or more. | `87` |
| `top3_share_of_relief_outs` | Share of relief outs thrown by the club's three most used relievers. | `0.305` |
| `returning_share_of_relief_outs` | Share of relief outs thrown by pitchers who also relieved for the club the season before. | `0.507` |
| `prev_season_relief_outs` | The club's relief outs the season before. | `1944` |
| `relief_outs_change` | Relief outs minus the season before. | `29` |
| `prev_season_relief_era` | The club's relief ERA the season before. | `3.53` |
| `relief_era_change` | Relief ERA minus the season before. | `0.74` |
| `back_to_back_change` | Back-to-back appearances minus the season before. | `-4` |

### Output example: `kind: reliever`

```json
{
  "kind": "reliever",
  "season": 2025,
  "source_id": "retrosheet",
  "team": "Los Angeles Dodgers",
  "pitcher": "Anthony Banda",
  "retrosheet_id": "banda001",
  "relief_appearances": 70,
  "relief_outs": 194,
  "outs_per_appearance": 2.77,
  "team_rank_by_relief_outs": 3,
  "share_of_team_relief_outs": 0.098,
  "starts": 1,
  "relief_runs": 22,
  "relief_earned_runs": 22,
  "relief_era": 3.06,
  "batters_faced": 265,
  "strikeout_rate": 0.226,
  "walk_rate": 0.125,
  "home_runs": 7,
  "games_finished": 15,
  "saves": 0,
  "back_to_back_appearances": 17,
  "three_in_four_days_appearances": 13,
  "long_relief_appearances": 9,
  "longest_daily_streak": 3,
  "prev_season_relief_appearances": 46,
  "prev_season_relief_outs": 143,
  "prev_season_relief_era": 3.02,
  "attribution": "The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at www.retrosheet.org. Chadwick Baseball Bureau (https://github.com/chadwickbureau/register, ODC-By).",
  "license_url": "https://www.retrosheet.org/notice.txt",
  "data_date": "2026-11-23",
  "data_is_stale": false
}
```

### Fields: `kind: reliever`

| Field | What it is | Example |
|---|---|---|
| `relief_appearances` | His relief appearances for this club. | `70` |
| `relief_outs` | Outs he recorded in relief. | `194` |
| `outs_per_appearance` | Relief outs per appearance. | `2.77` |
| `team_rank_by_relief_outs` | 1 is the club's most used reliever that season. | `3` |
| `share_of_team_relief_outs` | His share of the club's relief outs. | `0.098` |
| `starts` | Starts for the club that season, so openers and swingmen stand out. | `1` |
| `relief_era` | ERA in relief. | `3.06` |
| `batters_faced` | Batters faced in relief. | `265` |
| `strikeout_rate` | Strikeouts per batter faced in relief. | `0.226` |
| `walk_rate` | Walks per batter faced in relief. | `0.125` |
| `games_finished` | Games he finished. | `15` |
| `saves` | Saves. | `0` |
| `back_to_back_appearances` | Relief outings on the day after he pitched. | `17` |
| `three_in_four_days_appearances` | Relief outings that were his third or more in four days. | `13` |
| `long_relief_appearances` | Relief outings of four outs or more. | `9` |
| `longest_daily_streak` | Most days in a row he pitched. | `3` |
| `prev_season_relief_appearances` | His relief appearances the season before, for any club. Empty if none. | `46` |
| `prev_season_relief_era` | His relief ERA the season before, for any club. | `3.02` |

### Output example: `kind: team`

A real row, unedited.

```json
{
  "kind": "team",
  "season": 2025,
  "source_id": "retrosheet",
  "team": "Los Angeles Dodgers",
  "wins": 93,
  "losses": 69,
  "win_pct": 0.574,
  "runs": 825,
  "runs_allowed": 683,
  "run_diff": 142,
  "pythag_win_pct": 0.586,
  "home_wins": 52,
  "home_losses": 29,
  "away_wins": 41,
  "away_losses": 40,
  "one_run_wins": 25,
  "one_run_losses": 24,
  "ahead_after_5": 75,
  "tied_after_5": 26,
  "behind_after_5": 61,
  "bullpen_outs": 1973,
  "bullpen_runs": 337,
  "bullpen_runs_per_9": 4.61,
  "attribution": "The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at www.retrosheet.org. Chadwick Baseball Bureau (https://github.com/chadwickbureau/register, ODC-By).",
  "license_url": "https://www.retrosheet.org/notice.txt",
  "data_date": "2026-11-04",
  "data_is_stale": false
}
```

### Fields: `kind: team`

| Field | What it is | Example |
|---|---|---|
| `season` | Season the figures cover. | `2025` |
| `team` | Team. | `Los Angeles Dodgers` |
| `wins` | Wins. | `93` |
| `losses` | Losses. | `69` |
| `win_pct` | Winning percentage. | `0.574` |
| `runs` | Runs scored. | `825` |
| `runs_allowed` | Runs allowed. | `683` |
| `run_diff` | Run difference. | `142` |
| `pythag_win_pct` | Winning percentage the run totals suggest, exponent 1.83. | `0.586` |
| `home_wins` | Home wins. | `52` |
| `home_losses` | Home losses. | `29` |
| `away_wins` | Away wins. | `41` |
| `away_losses` | Away losses. | `40` |
| `one_run_wins` | Wins by one run. | `25` |
| `one_run_losses` | Losses by one run. | `24` |
| `ahead_after_5` | Games leading after five innings. | `75` |
| `tied_after_5` | Games tied after five innings. | `26` |
| `behind_after_5` | Games trailing after five innings. | `61` |
| `bullpen_outs` | Outs recorded by relievers. | `1973` |
| `bullpen_runs` | All runs allowed by relievers, not only earned runs. | `337` |
| `bullpen_runs_per_9` | Reliever runs per nine innings. | `4.61` |
| `attribution` | Credit line the source's licence asks for. Keep it when you republish. | `The information used here was obtained free of charge f...` |
| `license_url` | The source's licence or terms. | `https://www.retrosheet.org/notice.txt` |
| `data_date` | Date of the dataset this row came from. | `2026-11-04` |
| `data_is_stale` | True when the dataset is older than it should be. | `false` |

### Output example: `kind: starter`

```json
{
  "kind": "starter",
  "season": 2025,
  "source_id": "retrosheet",
  "team": "Los Angeles Dodgers",
  "pitcher": "Clayton Kershaw",
  "retrosheet_id": "kersc001",
  "starts": 22,
  "outs": 335,
  "earned_runs": 42,
  "era": 3.39,
  "batters_faced": 460,
  "strikeouts": 84,
  "walks": 35,
  "home_runs": 8,
  "strikeout_rate": 0.183,
  "walk_rate": 0.076,
  "home_runs_per_9": 0.64,
  "attribution": "The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at www.retrosheet.org. Chadwick Baseball Bureau (https://github.com/chadwickbureau/register, ODC-By).",
  "license_url": "https://www.retrosheet.org/notice.txt",
  "data_date": "2026-11-04",
  "data_is_stale": false
}
```

### Fields: `kind: starter`

| Field | What it is | Example |
|---|---|---|
| `pitcher` | Starting pitcher. | `Clayton Kershaw` |
| `retrosheet_id` | Retrosheet player id, which tells apart two pitchers with one name. | `kersc001` |
| `starts` | Starts. | `22` |
| `outs` | Outs recorded in starts. | `335` |
| `earned_runs` | Earned runs in starts. | `42` |
| `era` | ERA in starts. | `3.39` |
| `batters_faced` | Batters faced in starts. | `460` |
| `strikeouts` | Strikeouts in starts. | `84` |
| `walks` | Walks in starts. | `35` |
| `home_runs` | Home runs allowed in starts. | `8` |
| `strikeout_rate` | Strikeouts per batter faced. | `0.183` |
| `walk_rate` | Walks per batter faced. | `0.076` |
| `home_runs_per_9` | Home runs per nine innings in starts. | `0.64` |

### Use cases

- **Bullpen features for a 2026 model:** how often each club leaned on relievers on consecutive days, how concentrated the work was, and how stable the group was from one year to the next.
- **Off-season previews:** which bullpens carried a heavy load in 2025, which relievers threw on back-to-back days most, and whose relief ERA moved most from 2024.
- **Season reviews:** which clubs outran or fell short of their run totals, and who lived on one-run games.
- **Model baselines:** starter and bullpen priors from a source with clear reuse terms.
- **AI agents:** answer questions about a finished season from rows that carry their own credit line.

### Pricing

**US$0.004 per row**, plus Apify's standard start fee of US$0.00005 per run.

| What you ask for | Rows | Cost |
|---|---:|---:|
| One club's bullpen, three seasons | 3 | US$0.012 |
| All 30 bullpens, one season | 30 | US$0.12 |
| All bullpen rows | 90 | US$0.36 |
| One club's 2025 relievers with 20 or more appearances (Dodgers) | 11 | US$0.044 |
| All 2025 relievers with 20 or more appearances | 296 | US$1.18 |
| All reliever rows (three runs of up to 1,000) | 2,406 | US$9.62 |
| One club's 2025 season | 1 | US$0.004 |
| All 2025 starters | 396 | US$1.58 |
| The whole dataset | 2,922 | US$11.69 |

Set **Maximum cost per run** to cap your spend. A run that delivers no rows charges for no rows.

### Limits to know

- **These are finished seasons, and they will not update during a season.** Bullpens and relievers cover 2023-2025; team and starter tables cover 2025. Retrosheet publishes a season the following winter. Read `season`; `data_date` is only when we last built the dataset. If you want today's games, this is not the Actor for you.
- **Workload is counted in days and outs, not pitches.** Retrosheet's per-game pitching lines have no pitch counts, so a 10-pitch inning and a 30-pitch inning count the same, and warm-ups in the bullpen are not recorded anywhere.
- **Back-to-back and third-in-four-days count calendar days,** for any club and including starts, so a traded pitcher carries his days with him. Two games on one day count as one day.
- **No 2026 rosters.** Rows say who pitched for a club in past seasons, not who is on it now. `returning_share_of_relief_outs` looks one season back, not forward.
- **No leverage, inning of entry or holds.** `games_finished` and `saves` are the only role fields.
- **Open data only.** No injuries, line-ups, batters or pitch-level data, because we have no source for them that we can resell.
- **Not a pre-game model.** No upcoming games, no probabilities, no daily data.
- **Regular season only, MLB only.**
- **Small samples show.** A reliever with one appearance still gets a row; use **Minimum relief appearances** to leave those out.
- **Starter rows count starts only,** so relief appearances are not in a pitcher's numbers, and a pitcher who changed clubs has one row per club. Small samples show: one Dodgers row is 1 start and 1 out, with an ERA of 27.
- **`bullpen_runs` counts all runs,** not earned runs, so it is not a bullpen ERA.

### FAQ

**Is this live or current-season data?**
No. These are finished seasons. If you need today's schedule, use a live-data Actor.

**How is this different from a reliever's season line on a free stat site?**
A season line gives appearances, innings and ERA. The workload fields here (back-to-back days, third outings in four days, longest daily streak, heavy bullpen games, how the load was shared) are counted from every game, and each club and pitcher comes with the season before next to it. If you only need ERA, a free site is enough.

**Why not just use the MLB Stats API?**
You can, and it is good for live data. This Actor is for people who want the summaries already worked out and a source whose notice allows reuse with credit.

**Can I filter to one club or one pitcher?**
Filter by club with **Teams**, using full names such as `New York Yankees`. There is no pitcher filter: choose `kind: reliever` or `kind: starter` with the club, or filter `pitcher` or `retrosheet_id` in your own sheet.

**Why does my pitcher have two rows?**
He pitched for two clubs, or (for relievers) in more than one season. Rows are per pitcher, club and season, and `retrosheet_id` tells apart two pitchers with one name.

**Do I need to credit anyone?**
Yes. Keep the `attribution` text when you republish; the Retrosheet notice asks for it.

**Is this advice?**
No. It is sports data analysis for research and interest, not advice of any kind. Past season numbers say nothing certain about future games.

**When does the 2026 season arrive?**
When Retrosheet publishes it, usually the following winter. We have no fixed date.

### Related Actors and free pages

More datasets from the same publisher, all pay per row with no credentials needed:

- [Football Match Predictions, Backtested](https://apify.com/o19750120/football-prematch-report-backtested): pre-match home, draw and away probabilities for seven European leagues, with the model's backtest as data.
- [Taiwan & Global Macro Indicators](https://apify.com/o19750120/taiwan-global-macro-indicators): Taiwan's official GDP, CPI, PMI, money and rates in English, next to the US, the euro area and Japan.
- [Taiwan Stocks Post-Market](https://apify.com/o19750120/taiwan-stock-post-market-flows): every TWSE and TPEx common stock after the close, with margin balances, TPEx institutional flows and top-20 rankings.
- [Stock Opinion Extractor](https://apify.com/o19750120/stock-opinion-extractor-own-posts): bring your own posts or X archive and get each ticker, a rule-based bullish, bearish or unclear stance and the evidence sentence.
- **Our own site:** [AY Match Data](https://matches.ayskilllab.com/baseball) has free pre-game baseball pages. They use other data and a pre-game model that this Actor does not include, so treat the site and this dataset as separate products.

### Data sources and licences

- The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at www.retrosheet.org. (https://www.retrosheet.org/notice.txt)
- Chadwick Baseball Bureau: player names and ids, ODC-By (https://github.com/chadwickbureau/register)

Retrosheet and the Chadwick Bureau do not endorse this Actor, and it has no connection with MLB. Sports data analysis for research and interest.

# Actor input Schema

## `kind` (type: `string`):

team and starter are the 2025 season. bullpen is one row per club per season, 2023-2025, with workload and year-on-year change. reliever is one row per reliever per club per season, 2023-2025.

## `teams` (type: `array`):

Full names such as Los Angeles Dodgers. Leave empty for all 30.

## `season` (type: `string`):

Only for bullpen and reliever. team and starter are always 2025.

## `minReliefAppearances` (type: `integer`):

Only for reliever: skip pitchers with fewer relief appearances for that club, which also skips the rows you would pay for. 0 keeps everyone.

## `maxResults` (type: `integer`):

Stop after this many rows. You pay per row. At most 1000 per run.

## Actor input object example

```json
{
  "kind": "team",
  "teams": [
    "Los Angeles Dodgers"
  ],
  "season": "all",
  "minReliefAppearances": 0,
  "maxResults": 25
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "teams": [
        "Los Angeles Dodgers"
    ],
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("o19750120/mlb-season-pitching-bullpen-data").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "teams": ["Los Angeles Dodgers"],
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("o19750120/mlb-season-pitching-bullpen-data").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "teams": [
    "Los Angeles Dodgers"
  ],
  "maxResults": 25
}' |
apify call o19750120/mlb-season-pitching-bullpen-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,o19750120/mlb-season-pitching-bullpen-data"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/3Hb35sdPLkwDCAQHD/builds/3jNlsPkrN1hCWLRaN/openapi.json
