MLB teams and player search in n8n

Look up every current MLB team, search for a player by name, or pull a full season's schedule and scores, with stadium, roster, and matchup details for each record.

What this workflow does

Import it and n8n runs the MLB Teams, Player Search & Season Schedule Lookup Actor on Apify every day at 08:00 with the starter input below. Each row comes back with team name, player name, event name, home team and 2 more. A Google Sheets append is included and stays off until you add your sheet. The only credential it needs is your Apify API token.

Read from the workflow file, built for MLB Teams, Player Search & Season Schedule Lookup version 1.0.4. Updated 2026-11-14.
MLB Other public data Runs daily at 08:00 From a Short

How the rows travel

6 nodes, in the order n8n runs them. The yellow stop is the call to the Apify Actor; the dashed stop is optional.

  1. Daily trigger Schedule trigger
  2. Configure input Code
  3. Run Apify Actor HTTP Request
  4. Normalize + dedupe Code
  5. Rows ready No operation
  6. Google Sheets (optional) Google Sheets, off until you switch it on

From the Short

This workflow is the one the video points to: the number in each video opens this page.

Input

The Configure input node holds the starter input. Change it there; every setting the Actor accepts is listed below.

{
  "mode": "teams"
}
Input settings of MLB Teams, Player Search & Season Schedule Lookup
SettingTypeRequiredDefaultWhat it does
mode string Yes teams What data to fetch. One of: teams, players, games.
searchQuery string No Shohei Ohtani Player name for players mode.
season string No 2024 MLB season year. One of: 2022, 2023, 2024.
maxItems integer No 20 Maximum records to return.

What each row holds

Every field the Actor returns stays in the row (6 in its dataset schema). Normalize + dedupe trims text, drops empty fields and adds _source and _scrapedAt. The main fields:

Main output fields of MLB Teams, Player Search & Season Schedule Lookup
FieldWhat it is
teamNameTeam Name
playerNamePlayer Name
eventNameEvent Name
homeTeamHome Team
awayTeamAway Team
matchDateMatch Date

What the first run costs

With the starter input (maxItems = 20) a first run costs about $0.42 on the Apify Free plan: $0.40 to start the run at 4 GB of memory and $0.02 for the results, plus platform usage.

The Actor lists $0.99 per 1,000 results; its catalogue page breaks the price down by Apify plan. The Apify Free plan includes $5 of usage a month.

The Actor behind it

MLB Teams, Player Search & Season Schedule Lookup: Look up every current MLB team, search for a player by name, or pull a full season's schedule and scores, with stadium, roster, and matchup details for each record.

The same job from an AI agent

The matching agent skill gives Claude Code, Codex, Cursor and other agents the same Actor, input and fields. Install it in one line:

npx skills add https://scraperfinder.com --skill mlb-teams-player-search-and-season-schedule-lookup

The mLB teams and player search skill, with manual install and run steps

Questions people ask

How do I import this workflow into n8n?

Copy https://scraperfinder.com/n8n/mlb-teams-player-search-and-season-schedule-lookup.json. In n8n, open a new workflow, click the three-dot menu, choose Import from URL and paste it. Or download the JSON file and use Import from File; both give the same 6 nodes.

Do I need an Apify account?

Yes. The workflow calls the MLB Teams, Player Search & Season Schedule Lookup Actor through the Apify API with your own token, and each run is billed to your Apify account. The Free plan includes $5 of usage a month.

What does a run cost?

With the starter input (maxItems = 20) a first run costs about $0.42 on the Apify Free plan: $0.40 to start the run at 4 GB of memory and $0.02 for the results, plus platform usage. The Actor's Store page shows the current price.

Can I change what it collects?

Yes: edit the input object in the Configure input node. The Actor takes 4 settings; the table on this page lists each one with its default. Raise maxItems once the first rows look right.

Does it work without Google Sheets?

Yes. The rows wait in the Rows ready node, so you can connect any other node there: a database, Airtable, a webhook or an email. The Google Sheets node is only one option.

Workflow updated 2026-11-14