SportsDataIO · Schema

Headshot

Sports DataStatisticsLive ScoresFantasy SportsOddsNFLNBAMLBNHLSoccer

Properties

Name Type Description
PlayerID integer The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career
Name stringnull Player's full name
TeamID integernull The team's unique TeamID as assigned by SportsDataIO
Team stringnull The abbreviation [Key] of the team
Position stringnull 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
PreferredHostedHeadshotUrl stringnull The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available.
PreferredHostedHeadshotUpdated stringnull The last updated date of the player's preferred hosted headshot.
HostedHeadshotWithBackgroundUrl stringnull The player's hosted headshot URL
HostedHeadshotWithBackgroundUpdated stringnull The last date and time the player's hosted headshot was updated in US Eastern Time
HostedHeadshotNoBackgroundUrl stringnull The player's transparent background hosted headshot URL
HostedHeadshotNoBackgroundUpdated stringnull The last date and time the player's transparent background hosted headshot was updated in US Eastern Time
View JSON Schema on GitHub

JSON Schema

sportsdataio-headshot-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Headshot",
  "title": "Headshot",
  "properties": {
    "PlayerID": {
      "type": "integer",
      "description": "The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career"
    },
    "Name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player's full name"
    },
    "TeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The team's unique TeamID as assigned by SportsDataIO"
    },
    "Team": {
      "type": [
        "string",
        "null"
      ],
      "description": "The abbreviation [Key] of the team"
    },
    "Position": {
      "type": [
        "string",
        "null"
      ],
      "description": "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"
    },
    "PreferredHostedHeadshotUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available."
    },
    "PreferredHostedHeadshotUpdated": {
      "type": [
        "string",
        "null"
      ],
      "description": "The last updated date of the player's preferred hosted headshot."
    },
    "HostedHeadshotWithBackgroundUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's hosted headshot URL"
    },
    "HostedHeadshotWithBackgroundUpdated": {
      "type": [
        "string",
        "null"
      ],
      "description": "The last date and time the player's hosted headshot was updated in US Eastern Time"
    },
    "HostedHeadshotNoBackgroundUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's transparent background hosted headshot URL"
    },
    "HostedHeadshotNoBackgroundUpdated": {
      "type": [
        "string",
        "null"
      ],
      "description": "The last date and time the player's transparent background hosted headshot was updated in US Eastern Time"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sportsdataio-headshot"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.