Player box score lines for one game
Every batter's and pitcher's line from one game, by game id.
Updated November 22, 2026
What this example returns
This example returns up to 40 results.
The dataset’s “Box scores” view shows 16 columns: officialDate, gamePk, team, opponent, side, fullName, battingSummary, pitchingSummary, runs, hits, homeRuns, rbi, errors, inningsPitched, strikeOutsPitching, and url. See every output field.
What each setting does
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 scrape
mode Box scores: per team or per player
Which data to pull. Standings: division tables. Schedule: games, scores, probable and winning pitchers. Player stats: season hitting, pitching or fielding lines. Box scores: team totals or every player's line per game. Players: rosters with bios. Leaders: league leaderboards. Teams: all 30 clubs.
Default: Standings: division tables → this example uses Box scores: per team or per player
- Game ids or URLs
gamePks 823431
Schedule and box score modes: only these games, by gamePk (823431) or mlb.com gameday URL. Empty means every game of the date, date range or season.
- Maximum results
maxItems 40
Maximum number of rows to save (and pay for). 0 means no limit. A full regular season is about 2,430 games.
Default: 30 → this example uses 40
- Box score detail
boxScoreLevel Every player's line
Box scores mode: two team-total rows per game, or one row per player who batted or pitched.
Default: Team totals (2 rows per game) → this example uses Every player's line
{
"mode": "gameDetails",
"gamePks": [
"823431"
],
"boxScoreLevel": "players",
"maxItems": 40
}What it costs
You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.
- Resultfrom $0.0012One row saved to the dataset: a team, player, game, standings row, season stat line, box-score line or leaderboard entry.
- Actor startfrom $0.0015Charged once per run.
When to use this example
From the MLB Stats Scraper readme:
How many results can I get?
As many as the source has: a full season of games is about 2,430 rows, and seasons go back to 1876. Set Maximum results to 0 for no limit.
Other ways to run MLB Stats Scraper
- 2026 MLB standings, 10 results
- Dodgers hitters by home runs, 2026Season hitting lines of one team, sorted by home runs.
- Every MLB game and score on one dayGames, final scores, winning and losing pitchers, line scores and TV for August 3, 2026.
- ERA and strikeout leaders, 2026Top 5 pitchers in ERA and strikeouts (ties kept).
- Yankees 40-man roster with biosJersey, position, birth date, birthplace, height, weight, bats and throws.
- National League standings, 1998-1999Two historical seasons in one run, National League only.
About MLB Stats Scraper
Scrape MLB standings, schedules and scores, season player stats, box scores, rosters with bios, league leaders and teams from the official MLB Stats API. Multi-season, back to 1876. No login needed.
- Price:
- From $1.20 / 1,000 results
- Developer:
- Querystone
- Categories:
- Sports, Developer tools
Related actors
Latest articles
GuidesWeb Scraper Chrome Extensions: 4 Good Ones, and When to Use a Cloud Scraper
The best web scraper Chrome extensions in 2026 (Web Scraper, Instant Data Scraper, Data Miner and Evomi Web Data), what each is good at, where every extension stops, and how a cloud scraper takes over for schedules, thousands of pages and API access.
Read the article
AI agents12 Best MCP Servers in 2026: Web Data, Code, Docs and Browsers
The best MCP servers in 2026, grouped by job: web data, documentation, code, browsers, errors, databases and the official reference servers. Each with its hosted URL or install command, how it signs in, and the caveats its own README states.
Read the article
Guidesn8n Puppeteer Node: Puppeteer and Playwright in n8n Without Self-Hosting Chrome
The n8n Puppeteer node needs Chromium inside your n8n container and installs only on self-hosted n8n. How it and the Playwright nodes install, where they break, and how to run the same browser scrape on Scrape.ly from n8n instead, with a real tested run.
Read the article
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.