MLB Scraper: Franchises, Venues & Divisions
Pricing
Pay per usage
Go to Apify Store

MLB Scraper: Franchises, Venues & Divisions
Pull MLB franchises, home venues, leagues and divisions from the official MLB Stats API. No login, no proxy, no browser.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Naimur Hasan
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Share
MLB Scraper
Pulls MLB franchises, home venues, leagues and divisions from the official MLB Stats API. No login, no proxy, no browser.
Input
| Field | Type | Notes |
|---|---|---|
league | string | any | American League | National League. Default any. |
season | integer | Season year. Omit for the current season. |
Output
One row per franchise: id, name, clubName, abbreviation,
teamCode, locationName, league, division, venue, venueId,
firstYearOfPlay, active, website.
Notes
seasonchanges the answer, not just the filter. Franchises relocate and rename; asking for 2010 returns the names, cities and venues as they were then, which is why it is exposed rather than hardcoded to today.firstYearOfPlayis a string upstream and is converted to a number.linkis a relative API path; it is expanded into an absolute URL so the row is usable without knowing the base.sportId=1restricts to Major League Baseball — the same endpoint serves minor leagues and international competitions under other sport ids.