MLB v3 Headshots

Headshots

USA Today/IMAGN cropped action headshots for all active NFL players, delivered shortly after the season starts.

get/v3/mlb/headshots/{format}/Headshots

Request

Path parameters

format'JSON' | 'XML' required

Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>.

Response

Success

PlayerIDinteger

The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career

Namestring nullable

Player's full name

TeamIDinteger nullable

The team's unique TeamID as assigned by SportsDataIO

Teamstring nullable

The abbreviation [Key] of the team

Positionstring nullable

The player's position associated with the given game or season. Possible values: 1B; 2B; 3B; C; CF; DH; IF; LF; OF; P; PH; PR; RF; RP; SP; SS

PreferredHostedHeadshotUrlstring nullable

The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available.

PreferredHostedHeadshotUpdatedstring nullable

The last updated date of the player's preferred hosted headshot.

HostedHeadshotWithBackgroundUrlstring nullable

The player's hosted headshot URL

HostedHeadshotWithBackgroundUpdatedstring nullable

The last date and time the player's hosted headshot was updated in US Eastern Time

HostedHeadshotNoBackgroundUrlstring nullable

The player's transparent background hosted headshot URL

HostedHeadshotNoBackgroundUpdatedstring nullable

The last date and time the player's transparent background hosted headshot was updated in US Eastern Time

Changes

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