MLB Stats Scraper: Player Stats, Scores, Standings & Box Score avatar

MLB Stats Scraper: Player Stats, Scores, Standings & Box Score

Pricing

from $6.15 / 1,000 results

Go to Apify Store
MLB Stats Scraper: Player Stats, Scores, Standings & Box Score

MLB Stats Scraper: Player Stats, Scores, Standings & Box Score

Scrape MLB stats with no API key: teams, rosters, player hitting/pitching/fielding stats, schedules and scores, box scores, and division standings from the official MLB Stats API. All 30 clubs, career and year-by-year history, playoff race. Export JSON, CSV, Excel. Fantasy and analytics ready.

Pricing

from $6.15 / 1,000 results

Rating

5.0

(1)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

1

Bookmarked

10

Total users

1

Monthly active users

16 hours ago

Last modified

Features

Limited permissions

Share

MLB Player Stats, Scores & Standings Scraper

MLB Stats Scraper: Player Stats, Scores, Standings & Box Score API

Scrape MLB stats without an API key. This MLB Stats API scraper pulls baseball stats data for every one of the 30 Major League Baseball clubs: teams, rosters, per-player MLB player stats (hitting, pitching and fielding), full MLB schedule and scores, MLB standings, box scores with line scores, and ballpark, league, division and season reference data. Clean rows for fantasy baseball data, betting models, sports analytics, dashboards and research. Export to JSON, CSV, Excel or XML.

What it does

The actor reads the official MLB Stats API and writes one normalized record per item to the run's dataset. Choose one of ten modes:

  • teams returns all 30 MLB clubs for a season with league, division, venue and location.
  • roster returns every player on one or several teams, and when withDetails is on adds each player's season hitting, pitching or fielding line, career totals, year-by-year history and full bio.
  • players returns a profile plus season and career stats for the specific player IDs you pass.

Quickstart

Open the actor, paste this into the input, and press Run. It returns 3 New York Yankees players with full season stats and bio.

{
"mode": "roster",
"teamId": "147",
"maxRecords": 3,
"withDetails": true,
"statGroup": "hitting"
}

Example output records

A real standings record (input {"mode":"standings","season":2025,"leagueId":"103,104"}):

{
"title": "Blue Jays",
"id": 141,
"url": "https://www.mlb.com/team/141",
"teamName": "Blue Jays",
"season": "2025",
"wins": 94,
"losses": 68,
"winningPct": ".580",
"divisionRank": "1",
"gamesBack": "-",
"runsScored": 798,
"runsAllowed": 721,
"runDifferential": 77,
"streak": "W4",
"clinchIndicator": "z",
"clinched": true,
"divisionChamp": true,
"homeRecord": { "wins": 54, "losses": 27, "pct": ".667" },
"lastTenRecord": { "wins": 5, "losses": 5, "pct": ".500" },
"expectedRecord": { "wins": 88, "losses": 74, "pct": ".543" },
"observedAt": "2026-08-10T14:40:45.707Z",
"error": null
}

Billing and limits

  • Pay per result. You are charged per record returned (result event). See the pricing tab for the current per-result price.
  • Details add-on. In roster mode with withDetails on, a details charge applies once per player whose full stats and bio are fetched. In game mode with withDetails on, a details charge applies once per game whose full per-player box score is fetched. Turn it off for a faster, listing-only run.
  • No charge on failure. If a run errors, the actor writes a single item with a populated error field and does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run. Once reached, the actor stops emitting and charging further billable results.
  • Free Apify plans are capped at 10 records per run. Upgrade for higher maxRecords.

FAQ and troubleshooting

Do I need an MLB API key? No. There is no API key, token or login. Pick a mode and run.

Is this an official MLB tool? No. This actor is independent and has no affiliation with Major League Baseball. It reads only data that is publicly available through the MLB Stats API. Use it in accordance with MLB's terms.


MLB Stats Scraper: API de Estadisticas, Marcadores, Posiciones y Box Score

Extrae estadisticas de MLB sin clave de API. Este scraper de la API de MLB Stats obtiene datos de estadisticas de beisbol de los 30 equipos de las Grandes Ligas: equipos, rosters, estadisticas de jugadores de MLB (bateo, pitcheo y fildeo), el calendario y marcadores de MLB completos, las posiciones de MLB, box scores con line score, y datos de referencia de estadios, ligas, divisiones y temporadas. Filas limpias para datos de fantasy baseball, modelos de apuestas, analitica deportiva, tableros e investigacion. Exporta a JSON, CSV, Excel o XML.

Que hace

El actor lee la API oficial de MLB Stats y escribe un registro normalizado por elemento en el dataset de la ejecucion. Elige uno de diez modos:

  • teams devuelve los 30 clubes de MLB de una temporada con liga, division, estadio y ubicacion.
  • roster devuelve cada jugador de uno o varios equipos, y con withDetails activado agrega la linea de bateo, pitcheo o fildeo de temporada, los totales de carrera, el historial ano por ano y la biografia completa.
  • players devuelve el perfil y las estadisticas de temporada y de carrera de los IDs de jugador que indiques.

Inicio rapido

Abre el actor, pega esto en la entrada y presiona Run. Devuelve 3 jugadores de los New York Yankees con estadisticas de temporada y biografia completas.

{
"mode": "roster",
"teamId": "147",
"maxRecords": 3,
"withDetails": true,
"statGroup": "hitting"
}

Facturacion y limites

  • Pago por resultado. Se cobra por registro devuelto (evento result). Consulta la pestana de precios para el precio actual por resultado.
  • Complemento de detalles. En modo roster con withDetails activado, se aplica un cargo details por cada jugador cuyas estadisticas y biografia se obtienen. En modo game con withDetails activado, se aplica un cargo details por cada juego cuyo box score completo por jugador se obtiene. Desactivalo para una ejecucion mas rapida solo de listado.
  • Sin cargo en caso de fallo. Si una ejecucion falla, el actor escribe un unico elemento con el campo error poblado y no cobra por el. Las ejecuciones vacias no cuestan nada.
  • Limite de gasto respetado. Ajusta maxTotalChargeUsd en la ejecucion. Al alcanzarlo, el actor deja de emitir y cobrar mas resultados facturables.
  • Los planes gratuitos de Apify se limitan a 10 registros por ejecucion. Mejora tu plan para un maxRecords mayor.

Preguntas frecuentes

Necesito una clave de API de MLB? No. No hay clave de API, token ni inicio de sesion. Elige un modo y ejecuta.

Es una herramienta oficial de MLB? No. Este actor es independiente y no tiene afiliacion con Major League Baseball. Lee unicamente datos disponibles publicamente en la API de MLB Stats. Usalo conforme a los terminos de MLB.

⌂ 换网址