Endpoint Playground
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.
14 Oct 2026: 40 rows; 18 fields had a value in every checked item and 20 varied between items.
Sample value profiles: hard_hit_percent_2015: 24 to 37.5, median 33.8; name: “De La Cruz, Elly” and 39 other values; href: median 65 characters.
curl 'https://api.crawlora.net/api/v1/mlb/statcast-year-to-year?group=Batter&type=ba&year=2025&sort_dir=asc' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| group | string | No | Batter | Table group |
| type | string | No | ba | Statistic type |
| year | string | No | 2025 | Comparison start year; compares this season with the following year |
| sort | string | No | 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_dir | string | No | asc | Sort direction; defaults to Batter descending and Pitcher ascending |
| limit | integer | No | Rows per page (1-500) | |
| offset | integer | No | Zero-based row offset (0-5000) |
{
"code": 200,
"msg": "OK",
"data": {
"board": "year-to-year",
"group": "Batter",
"type": "hard_hit_percent",
"year": "2025",
"next_year": 2026,
"total": 1,
"sort": "hard_hit_percent_diff_2025",
"sort_dir": "desc",
"offset": 0,
"limit": 1,
"rows": [
{
"entity_id": 123,
"name_display_last_first": "Example, Player",
"hard_hit_percent_2025": 40.2,
"hard_hit_percent_diff_2025": -3.1,
"hard_hit_percent_2026": 37.1
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.