Get Baseball Savant Year-to-Year Changes
Returns one of Baseball Savant's Year-to-Year Changes tables for batters, pitchers, batting teams, or pitching teams. Select one of the live statistic types and comparison start years; the page data contains available yearly values and differences. Table sorting and pagination are applied locally. Use mlb_discovery for all accepted group, type, and year values.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/mlb/statcast-year-to-year
- Auth: API key in header x-api-key
Query parameters
Table group
Statistic type
Comparison start year; compares this season with the following year
Local sortable column; name_display_last_first, year_YYYY, TYPE_YYYY, or TYPE_diff_YYYY. Defaults to the selected metric's difference for the selected comparison year.
Sort direction; defaults to Batter descending and Pitcher ascending
Rows per page (1-500)
Zero-based row offset (0-5000)
Headers
API key required
Response
OK
Example response
{
"board": "year-to-year",
"group": "Batter",
"limit": 100,
"next_year": 2026,
"sort": "hard_hit_percent_diff_2025",
"sort_dir": "desc",
"total": 177,
"type": "hard_hit_percent",
"year": "2025"
}Changes
No recorded changes to this operation across all 2 revisions of this API.