MLB

Get Baseball Savant Home Runs play details

Returns the home-run plays expanded from one batter or pitcher leaderboard row, with event measurements and park outcomes. Provide the exact player id, player type, year, and mode from the row. Play identifiers and source links are returned; trajectory images, video media, and CSV output are not included.

get/mlb/statcast-home-runs-details

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/mlb/statcast-home-runs-details
  • Auth: API key in header x-api-key

Query parameters

player_idstring required

Positive MLB player id from mlb-statcast-home-runs

player_type'Batter' | 'Pitcher'

Table type

year'2019' | '2020' | '2021' | '2022' | '2023' | '2024' | '2025' | '2026'

Season

cat'adj_xhr' | 'xhr'

Trajectory mode

limitinteger

Rows per page (1-500)

offsetinteger

Zero-based row offset

Headers

x-api-keystring required

API key required

Response

OK

catstring
player_idstring
player_typestring
playsobject[]
totalinteger
yearstring

Example response

{
  "cat": "adj_xhr",
  "player_id": "691718",
  "player_type": "Batter",
  "total": 61,
  "year": "2026"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.