MLB Roster & Player Stats Exporter
Pricing
from $2.50 / 1,000 player stat records
MLB Roster & Player Stats Exporter
Export official MLB roster player bios and season statistics.
MLB Roster & Player Stats Exporter
Pricing
from $2.50 / 1,000 player stat records
Export official MLB roster player bios and season statistics.
You can access the MLB Roster & Player Stats Exporter programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
$echo '{< "teamIds": [< 147< ],< "playerIds": [],< "season": 2025,< "statGroups": [< "hitting",< "pitching",< "fielding"< ],< "includeStats": true,< "maxItems": 20<}' |<apify call fetch_cat/mlb-stats-scraper --silent --output-datasetThe Apify CLI is the official tool that allows you to use MLB Roster & Player Stats Exporter locally, providing convenience functions and automatic retries on errors.
Using installation script (macOS/Linux):
$curl -fsSL https://apify.com/install-cli.sh | bashUsing installation script (Windows):
$irm https://apify.com/install-cli.ps1 | iexUsing Homebrew:
$brew install apify-cliUsing npm:
$npm install -g apify-cliOther API clients include: