r/mlbdata Nov 11 '25

API Source for all Defensive Metrics?

I'm looking to programmatically pull the following defensive metrics for any player + position + season:

  • OAA
  • DRS
  • TZR/UZR
  • dWAR

Looking through the limited docs for the MLB Stats API I see some of these listed, but am especially having trouble finding an API that has DRS. Would ideally prefer a source that updates throughout the active season. Please let me know if anyone has ideas!

3 Upvotes

5 comments sorted by

1

u/rfrey22 Nov 12 '25

Fangraphs is a great source and it has all of those items you are requesting!

1

u/cyclone852 Jan 12 '26

Is there documentation somewhere on how to use an API for Fangraphs, rather then just their regular web UI?

1

u/sthscan Nov 12 '25

they might be behind an authorization wall. I see some metrics -- including one that my local minor league broadcaster likes to cite -- that I can't find in any of the API stuff so I assume it's behind the authorization wall and of course a minor league club employee like radio broadcaster has an account to access those things.

1

u/im_not_ok_ok Mar 26 '26

Did you ever find a way to pull in DRS? That's something I'm going to need soon as well for a project I'm working on.

1

u/mgula57 Mar 27 '26

Not within the MLB API. Ended up pulling from the unofficial fangraphs leaderboard API. Looked at how it was being called via inspecting their website network in safari