Go to example tasks

Extract an MLB team roster by team ID

Retrieve official player IDs, names, jersey numbers, positions, and roster status for the Yankees.

Try for free
MLB StatsAPI Baseball Data Scraper
MLB StatsAPI Baseball Data Scraperautomation-lab/mlb-statsapi-baseball-data-scraper
Record type
Stable MLB ID
Name
Season
+16 fields
Text
Number
Boolean
List
Object

Input

Record type(required):roster
Season:2025
Team IDs:147
Maximum items:60

Output fields

Record type
Stable MLB ID
Name
Season
Official date
Status
Short team name
Player ID
Home team
Home score
Away team
Away score
Wins
Losses
Stat group
Stat type
Statistics
Venue
Source URL
Fetched at

How it works

Sign up on Apify or log in

The MLB StatsAPI Baseball Data Scraper Actor is ready to run with the inputs already set for "Extract an MLB team roster by team ID". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract an MLB team roster by team ID" task

The MLB StatsAPI Baseball Data Scraper Actor will start running based on the input automatically. You can also change all the input fields, like record type, season, and more, to match your specific use case.

Receive the "Extract an MLB team roster by team ID" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record type, stable mlb id, name, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract an MLB team roster by team ID" task via API.

Image

Integrate "Extract an MLB team roster by team ID" into your workflow

Connect "Extract an MLB team roster by team ID" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay