Skip to main content
POST
Get player gamelogs

Request contract

  • Method and path: POST /apis/v1/baseballsavant-mlb-com/baseball-statcast/get-player-gamelogs
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-player-gamelogs
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
player_id
number
required

MLBAM player id (the player_id returned by search_players, also used by MLB.com and statsapi.mlb.com).

Provider reference: minimum 1.

season
number
required

Season year. Statcast pitch tracking starts in 2015; the pitch-level search covers 2008 onward.

Provider reference: minimum 2008; maximum 2100.

cursor
string

Continuation cursor from a previous response's next_cursor; send it with the same other inputs to get the next page.

limit
number
default:100

Maximum rows per page (default 100, max 500).

Provider reference: minimum 1; maximum 500; default 100.

Response

Every plate appearance of one player in one season from Baseball Savant's game logs (/player-services/gamelogs): date, game, result, final pitch, and Statcast batted-ball metrics (exit velocity, launch angle, distance, barrel, xBA) with the play id. Newest first; paged with limit/cursor. An id that exists but has no data for the season returns an empty list; an unknown id is not_found.

The response contains the tool result directly.

The provider identifies plate_appearances as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.