baseball-reference.com API: get_team_stats
baseball-reference.com via Parse · sports
Get MLB team statistics, rosters, and staff for a specific year. Returns roster (appearances), team batting, and team pitching tables. Each table row includes per-player season stats. Scraper for Baseball-Reference.com providing comprehensive MLB and College (NCAA D1) statistics, rosters, leaders, and game-level data. Fulfilled by Parse from baseball-reference.com.
- baseball-reference-com
- education
- entertainment
- parse
- platform-key
- sports
Price and execution
- Price
- $0.02 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- sports
Interface snapshot
- Protocol
- HTTP operation
- Operation
- GET /scraper/21934c77-6ae3-4dcd-b3f8-d736f3a15615/get_team_stats
- Interface artifact
- sha256:eae452e501322dd4ef8004d2cc84d9f807d2dbae8061c1e8ad15fa3e94b5e259
- Manifest digest
- sha256:92484d2f60cbf934bdd404c1d548bbd4842be7bd3ebf392233f27d2c1faf55b9
Request fields
- year (integer, required): Season year (e.g., 2024)
- team_id (string, required): 3-letter MLB team abbreviation (e.g., 'LAD', 'NYY', 'HOU', 'BOS'): Allowed values: LAD, NYY, HOU, BOS, ATL, SDP, PHI, SEA, CHC, STL, CLE, BAL, MIN, TBR, TEX, MIL, ARI, SFG, CIN, KCR, TOR, DET, NYM, COL, PIT, WSN, OAK, MIA, LAA, CHW
Example queries
- {"year":"2024","team_id":"LAD"}