Methodology & data licence

Every number on Diamondly comes from one open dataset, processed by scripts we can rerun from scratch. Nothing is typed in by hand, and nothing comes from MLB's own APIs or pitch-tracking feeds.

Source

Lahman Baseball Database, maintained by the Society for American Baseball Research (sabr.org/lahman-database). Release: Version 2025 (released January 2, 2026), covering 1871–2025. We obtained it through the CRAN package Lahman 14.0-0 (2026-02-11), which packages the same release for the R language.

Data through 2025. Diamondly has no live or daily data; pages update when a new annual Lahman release comes out.

Licence

The distribution we use states License: GPL in its package description, and its manual reads “License: GPL version 2 or newer”. SABR has historically published the Lahman database under the Creative Commons Attribution-ShareAlike 3.0 licence. Both permit reuse, including commercial use, with attribution and share-alike conditions.

Share-alike: the derived files below are offered under the same terms — GNU GPL version 2 or later, and Creative Commons Attribution-ShareAlike 3.0 — with attribution to the Lahman Baseball Database / SABR. Download, reuse and redistribute them on those terms.

What we exclude

The Lahman release includes Negro Leagues statistics licensed from Seamheads.com. Because the terms of that sublicence are not spelled out in the distribution we use, Diamondly does not publish those rows for now (11,457 batting rows in leagues ANL, EAS, ECL, EWL, IND, INT, NAC, NAL, NN2, NNL, NSL, WES). We would like to add them with proper credit once the terms are confirmed. Leagues shown: AA, AL, FL, NA, NL, PL, UA.

Which players get a page

To avoid thin pages, profiles exist for players with at least 3,000 plate appearances, at least 1,000 innings pitched, election to the Hall of Fame as a player, or a major award (MVP, Cy Young, Rookie of the Year, Triple Crown, World Series MVP). 3,417 players qualify; the top 3,000 by playing time and honors have pages in this release. All 21,227 players with major league stats appear in search.

How we compute stats

  • Plate appearances = AB + BB + HBP + SH + SF. Missing values in early seasons (for example sacrifice flies before 1954) count as zero.
  • AVG = H/AB; OBP = (H+BB+HBP)/(AB+BB+HBP+SF); SLG = TB/AB; OPS = OBP+SLG; ISO = SLG−AVG; BABIP = (H−HR)/(AB−SO−HR+SF).
  • dwOBA (Diamondly simple wOBA) uses fixed weights uBB 0.7, HBP 0.7, 1B 0.9, 2B 1.25, 3B 1.6, HR 2, divided by AB+BB−IBB+SF+HBP. These are our own rounded weights, not any third party's seasonal constants.
  • ERA = 9×ER/IP; WHIP = (BB+H)/IP; FIP* = (13×HR + 3×(BB+HBP) − 2×SO)/IP + 3.10 (a fixed constant for every season); K% and BB% per batter faced.
  • Season rows combine all teams a player appeared for that year. Primary position is the position with the most games in the Appearances table.
  • League-leader mentions in player summaries are computed from these data for counting stats only (HR, H, RBI, SB, W, SO, SV), ties included.
  • ERA+ and OPS+ are not shown yet: they need park factors we have not published.

Player summaries are generated from the same data: each sentence states a fact found in the tables on the page.

Corrections

If you spot an error, email hello@baseballsavants.com. Data errors in the underlying database can be reported to SABR at lahmandb@sabr.org.

Diamondly (baseballsavants.com) is an independent fan site, not affiliated with MLB, MLB Advanced Media or Baseball Savant.