Skip to content
//MLB Stats Scraper example\\

Yankees 40-man roster with bios

Jersey, position, birth date, birthplace, height, weight, bats and throws.

Updated October 21, 2026

Input

The input this example runs MLB Stats Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

What to scrapemode
Players: rosters with bios
Seasonsseasons
2026
TeamsteamIds
Yankees
Maximum resultsmaxItems
20
RosterrosterType
40-man roster
.json
{
  "mode": "players",
  "seasons": [
    "2026"
  ],
  "teamIds": [
    "Yankees"
  ],
  "rosterType": "40Man",
  "maxItems": 20
}

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.

No credit card. No setup calls.