Matches At Bats Pitches
This endpoint allows you to retrieve the pitches from baseball at-bats.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
langattribute. Example:lang=en.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every minute. Recommended Calls: Limit calls to 1 per minute.
Use Cases
Get pitches from a specific match_idhttps://baseball.sportmicro.com/matches-at-bats-pitches?match_id=eq.{match_id}
Get pitches from a specific match_id and at_bat_idhttps://baseball.sportmicro.com/matches-at-bats-pitches?match_id=eq.{match_id}&at_bat_id=eq.{at_bat_id}
Get pitches from a specific match_id and pitcher_idhttps://baseball.sportmicro.com/matches-at-bats-pitches?match_id=eq.{match_id}&pitcher_id=eq.{pitcher_id}
Get pitches from a specific match_id and hitter_idhttps://baseball.sportmicro.com/matches-at-bats-pitches?match_id=eq.{match_id}&hitter_id=eq.{hitter_id}
Query Parameters
- id integer
The id of the pitch
Example: eq.1 - match_id integer
The id of the match
Example: eq.1 - at_bat_id integer
The id of the at-bat
Example: eq.1 - pitcher_id integer
The id of the pitcher
Example: eq.1 - pitcher_team_id integer
The id of the pitcher's team
Example: eq.1 - hitter_id integer
The id of the hitter
Example: eq.2 - hitter_team_id integer
The id of the hitter's team
Example: eq.2 - inning integer
The inning number
Example: eq.1 - inning_half text
The inning half (T for top, B for bottom)
Example: eq.T - pitch_count integer
The pitch count inside the at-bat
Example: eq.1 - sequence integer
The sequence number of the pitch within the at-bat
Example: eq.1 - outcome text
The outcome of the pitch
Example: eq.ball - incident_type text
The incident type
Example: eq.baseballPitch - offset string
Default value:
0Limiting and Pagination
Example: 0 - limit string
Default value:
50Limiting and Pagination
Example: 50 - lang string
Default value:
enMulti-language
Example: en
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of the pitch
Note: This is a Primary Key.
- match_id integer
The id of the match
Note: This is a Foreign Key to
matches.id. - at_bat_id integer
The id of the at-bat
Note: This is a Foreign Key to
matches-at-bats.id. - pitcher_id integer
The id of the pitcher
Note: This is a Foreign Key to
players.id. - pitcher_name text
The name of the pitcher
- pitcher_hash_image character varying
The hash image of the pitcher
- pitcher_position text
The position of the pitcher from the pitch feed
- pitcher_jersey_number text
The jersey number of the pitcher
- pitcher_team_id integer
The id of the pitcher's team
Note: This is a Foreign Key to
teams.id. - pitcher_team_name text
The name of the pitcher's team
- pitcher_team_hash_image character varying
The hash image of the pitcher's team
- hitter_id integer
The id of the hitter
Note: This is a Foreign Key to
players.id. - hitter_name text
The name of the hitter
- hitter_hash_image character varying
The hash image of the hitter
- hitter_position text
The position of the hitter from the pitch feed
- hitter_jersey_number text
The jersey number of the hitter
- hitter_team_id integer
The id of the hitter's team
Note: This is a Foreign Key to
teams.id. - hitter_team_name text
The name of the hitter's team
- hitter_team_hash_image character varying
The hash image of the hitter's team
- status text
The status of the pitch
- outcome text
The outcome of the pitch
- type text
The type of the pitch
- start_time timestamp with time zone
The start timestamp of the pitch
- end_time timestamp with time zone
The end timestamp of the pitch
- is_ab_over boolean
If the at-bat is over after the pitch
- is_bunt boolean
If the pitch resulted in a bunt
- is_hit boolean
If the pitch resulted in a hit
- is_wild_pitch boolean
If the pitch was a wild pitch
- is_passed_ball boolean
If the pitch resulted in a passed ball
- is_double_play boolean
If the pitch resulted in a double play
- is_triple_play boolean
If the pitch resulted in a triple play
- balls integer
The number of balls after the pitch
- strikes integer
The number of strikes after the pitch
- outs integer
The number of outs after the pitch
- pitch_count integer
The pitch count inside the at-bat
- pitch_type text
The type of the pitch from the tracking feed
- pitch_speed numeric
The speed of the pitch
- pitch_zone integer
The zone of the pitch
- pitcher_hand text
The throwing hand of the pitcher
- hitter_hand text
The batting hand of the hitter
- pitch_x numeric
The x coordinate of the pitch
- pitch_y numeric
The y coordinate of the pitch
- home_team_runs integer
The home team runs after the pitch
- away_team_runs integer
The away team runs after the pitch
- mlb_speed numeric
The MLB speed value of the pitch
- strike_zone_top numeric
The top of the strike zone
- strike_zone_bottom numeric
The bottom of the strike zone
- mlb_zone integer
The MLB zone of the pitch
- pitch_code text
The MLB pitch code
- pitch_description text
The description of the pitch
- mlb_x numeric
The MLB x coordinate of the pitch
- mlb_y numeric
The MLB y coordinate of the pitch
- sequence integer
The sequence number of the pitch within the at-bat
- inning integer
The inning number
- inning_half text
The inning half (T for top, B for bottom)
- time integer
The time marker of the pitch
- incident_type text
The incident type
- fielders text
The fielders involved in the pitch as JSON text
[
{
"id": 1,
"match_id": 1,
"at_bat_id": 1,
"pitcher_id": 1,
"pitcher_name": "Hunter Greene",
"pitcher_hash_image": "b6f2ef3a6b3c1ddf7f0c3c20f358d7fc6fd4e2a9e78fd20851bdab96f7f0f7e1",
"pitcher_position": "SP",
"pitcher_jersey_number": "21",
"pitcher_team_id": 1,
"pitcher_team_name": "Cincinnati Reds",
"pitcher_team_hash_image": "f0f4a6b6d929c4a065c6d8f88d0b06a85054cbf1c7c6b109d2686f2ea43032f5",
"hitter_id": 2,
"hitter_name": "Jake Mangum",
"hitter_hash_image": "4c6f4f7f7b1a8e8d6f4af6fd4b9f0c1931c5ef5e2a2fd01bcf42db4d88d278aa",
"hitter_position": "CF",
"hitter_jersey_number": "28",
"hitter_team_id": 2,
"hitter_team_name": "Pittsburgh Pirates",
"hitter_team_hash_image": "4a1eb27f3acbdf6b2fd278aeea0a81f8a3465dd2a4de0b62e616bb6c8999b4c7",
"status": "finished",
"outcome": "ball",
"type": "pitch",
"start_time": "2026-08-01T20:53:13+00:00",
"end_time": "2026-08-01T20:53:16+00:00",
"is_ab_over": false,
"is_bunt": false,
"is_hit": false,
"is_wild_pitch": false,
"is_passed_ball": false,
"is_double_play": false,
"is_triple_play": false,
"balls": 1,
"strikes": 0,
"outs": 0,
"pitch_count": 1,
"pitch_type": "FF",
"pitch_speed": 98.6,
"pitch_zone": 5,
"pitcher_hand": "R",
"hitter_hand": "L",
"pitch_x": 0.11,
"pitch_y": 2.63,
"home_team_runs": 0,
"away_team_runs": 0,
"mlb_speed": 98.6,
"strike_zone_top": 3.45,
"strike_zone_bottom": 1.62,
"mlb_zone": 5,
"pitch_code": "B",
"pitch_description": "Ball",
"mlb_x": 128,
"mlb_y": 172,
"sequence": 1,
"inning": 1,
"inning_half": "T",
"time": 3,
"incident_type": "baseballPitch",
"fielders": "[{\"name\":\"Elly De La Cruz\"}]"
}
]