batting_stats_date_range
Analyze baseball batting statistics for any custom date range to identify performance trends, hot streaks, or specific time periods. Filter by player to examine individual performance during selected windows.
Instructions
Batting stats aggregated over a custom date range (Baseball Reference).
Use for hot/cold streaks, post-deadline samples, or any window between two dates.
Args:
start_date: Start date YYYY-MM-DD (2008+).
end_date: End date YYYY-MM-DD (inclusive).
player_name: Optional. Filter to one player (matches BRef Name / mlbID).
Returns rate stats (AVG, OBP, SLG, OPS) and counting stats for that span. Row limit applies — many players may qualify in long ranges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | ||
| end_date | Yes | ||
| player_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |