stat-api-com · Schema

MLBSeasonPlayerStats

Season totals for each MLB player — the full batting line (AVG, OBP, SLG, OPS), counting stats (HR, RBI, SB, R), and pitching line (W, L, ERA, WHIP, K, BB). Advanced run-value metrics (wRC+, FIP, WAR) are not carried here. Scope is not split by season type.

SportsDataDFSFantasy

Properties

Name Type Description
assists integer
at_bats integer
balls integernull
batters_faced integer
batting_average number
blown_saves integer
caught_stealing integer
caught_stealing_by integer
complete_games integer
double_plays integer
doubles integer
earned_run_average number
earned_runs integer
errors integer
fielding_games integer
fielding_games_started integer
fielding_percentage number
fielding_position string
games_pitched integer
games_played integer
games_started integer
games_started_pitching integer
grounded_into_double_play integer
hit_by_pitch integer
hits integer
hits_allowed integer
hits_per_nine number
holds integer
home_runs integer
home_runs_allowed integer
home_runs_per_nine number
id integer Primary Key
innings_pitched number Innings pitched in MLB notation (6.2 = 6 and 2/3 innings)
intentional_walks integernull
left_on_base integernull
losses integer
on_base_percentage number
on_base_plus_slugging number
passed_balls integer
pitches_thrown integernull
plate_appearances integer
player_id integer
putouts integer
quality_starts integernull
runs integer
runs_allowed integer
runs_batted_in integer
sacrifice_flies integer
sacrifice_hits integer
save_opportunities integer
saves integer
season_id integer
shutouts integer
singles integernull Derivable from hits - doubles - triples - home_runs
slugging_percentage number
stolen_bases integer
stolen_bases_allowed integer
strikeouts integer
strikeouts_per_nine number
strikeouts_pitched integer
strikes integernull
total_bases integernull Derivable: 1B + 2*2B + 3*3B + 4*HR
total_chances integer
triples integer
walks integer
walks_allowed integer
walks_per_nine number
whip number
wins integer
View JSON Schema on GitHub

JSON Schema

stat-api-com-mlbseason-player-stats-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stat-api-com/json-schema/stat-api-com-mlbseason-player-stats-schema.json",
  "title": "MLBSeasonPlayerStats",
  "description": "Season totals for each MLB player — the full batting line (AVG, OBP, SLG, OPS), counting stats (HR, RBI, SB, R), and pitching line (W, L, ERA, WHIP, K, BB). Advanced run-value metrics (wRC+, FIP, WAR) are not carried here. Scope is not split by season type.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stat-api-com-mlb-api-openapi.yml#/components/schemas/MLBSeasonPlayerStats",
  "properties": {
    "assists": {
      "type": "integer"
    },
    "at_bats": {
      "type": "integer"
    },
    "balls": {
      "type": [
        "integer",
        "null"
      ]
    },
    "batters_faced": {
      "type": "integer"
    },
    "batting_average": {
      "format": "double",
      "type": "number"
    },
    "blown_saves": {
      "type": "integer"
    },
    "caught_stealing": {
      "type": "integer"
    },
    "caught_stealing_by": {
      "type": "integer"
    },
    "complete_games": {
      "type": "integer"
    },
    "double_plays": {
      "type": "integer"
    },
    "doubles": {
      "type": "integer"
    },
    "earned_run_average": {
      "format": "double",
      "type": "number"
    },
    "earned_runs": {
      "type": "integer"
    },
    "errors": {
      "type": "integer"
    },
    "fielding_games": {
      "type": "integer"
    },
    "fielding_games_started": {
      "type": "integer"
    },
    "fielding_percentage": {
      "format": "double",
      "type": "number"
    },
    "fielding_position": {
      "type": "string"
    },
    "games_pitched": {
      "type": "integer"
    },
    "games_played": {
      "type": "integer"
    },
    "games_started": {
      "type": "integer"
    },
    "games_started_pitching": {
      "type": "integer"
    },
    "grounded_into_double_play": {
      "type": "integer"
    },
    "hit_by_pitch": {
      "type": "integer"
    },
    "hits": {
      "type": "integer"
    },
    "hits_allowed": {
      "type": "integer"
    },
    "hits_per_nine": {
      "format": "double",
      "type": "number"
    },
    "holds": {
      "type": "integer"
    },
    "home_runs": {
      "type": "integer"
    },
    "home_runs_allowed": {
      "type": "integer"
    },
    "home_runs_per_nine": {
      "format": "double",
      "type": "number"
    },
    "id": {
      "description": "Primary Key",
      "format": "int64",
      "type": "integer"
    },
    "innings_pitched": {
      "description": "Innings pitched in MLB notation (6.2 = 6 and 2/3 innings)",
      "format": "double",
      "type": "number"
    },
    "intentional_walks": {
      "type": [
        "integer",
        "null"
      ]
    },
    "left_on_base": {
      "type": [
        "integer",
        "null"
      ]
    },
    "losses": {
      "type": "integer"
    },
    "on_base_percentage": {
      "format": "double",
      "type": "number"
    },
    "on_base_plus_slugging": {
      "format": "double",
      "type": "number"
    },
    "passed_balls": {
      "type": "integer"
    },
    "pitches_thrown": {
      "type": [
        "integer",
        "null"
      ]
    },
    "plate_appearances": {
      "type": "integer"
    },
    "player_id": {
      "format": "int64",
      "type": "integer"
    },
    "putouts": {
      "type": "integer"
    },
    "quality_starts": {
      "type": [
        "integer",
        "null"
      ]
    },
    "runs": {
      "type": "integer"
    },
    "runs_allowed": {
      "type": "integer"
    },
    "runs_batted_in": {
      "type": "integer"
    },
    "sacrifice_flies": {
      "type": "integer"
    },
    "sacrifice_hits": {
      "type": "integer"
    },
    "save_opportunities": {
      "type": "integer"
    },
    "saves": {
      "type": "integer"
    },
    "season_id": {
      "format": "int64",
      "type": "integer"
    },
    "shutouts": {
      "type": "integer"
    },
    "singles": {
      "description": "Derivable from hits - doubles - triples - home_runs",
      "type": [
        "integer",
        "null"
      ]
    },
    "slugging_percentage": {
      "format": "double",
      "type": "number"
    },
    "stolen_bases": {
      "type": "integer"
    },
    "stolen_bases_allowed": {
      "type": "integer"
    },
    "strikeouts": {
      "type": "integer"
    },
    "strikeouts_per_nine": {
      "format": "double",
      "type": "number"
    },
    "strikeouts_pitched": {
      "type": "integer"
    },
    "strikes": {
      "type": [
        "integer",
        "null"
      ]
    },
    "total_bases": {
      "description": "Derivable: 1B + 2*2B + 3*3B + 4*HR",
      "type": [
        "integer",
        "null"
      ]
    },
    "total_chances": {
      "type": "integer"
    },
    "triples": {
      "type": "integer"
    },
    "walks": {
      "type": "integer"
    },
    "walks_allowed": {
      "type": "integer"
    },
    "walks_per_nine": {
      "format": "double",
      "type": "number"
    },
    "whip": {
      "format": "double",
      "type": "number"
    },
    "wins": {
      "type": "integer"
    }
  },
  "required": [
    "id",
    "player_id",
    "season_id",
    "assists",
    "at_bats",
    "batters_faced",
    "batting_average",
    "blown_saves",
    "caught_stealing",
    "caught_stealing_by",
    "complete_games",
    "double_plays",
    "doubles",
    "earned_run_average",
    "earned_runs",
    "errors",
    "fielding_games",
    "fielding_games_started",
    "fielding_percentage",
    "fielding_position",
    "games_pitched",
    "games_played",
    "games_started",
    "games_started_pitching",
    "grounded_into_double_play",
    "hit_by_pitch",
    "hits",
    "hits_allowed",
    "hits_per_nine",
    "holds",
    "home_runs",
    "home_runs_allowed",
    "home_runs_per_nine",
    "innings_pitched",
    "losses",
    "on_base_percentage",
    "on_base_plus_slugging",
    "passed_balls",
    "plate_appearances",
    "putouts",
    "runs",
    "runs_allowed",
    "runs_batted_in",
    "sacrifice_flies",
    "sacrifice_hits",
    "save_opportunities",
    "saves",
    "shutouts",
    "slugging_percentage",
    "stolen_bases",
    "stolen_bases_allowed",
    "strikeouts",
    "strikeouts_per_nine",
    "strikeouts_pitched",
    "total_chances",
    "triples",
    "walks",
    "walks_allowed",
    "walks_per_nine",
    "whip",
    "wins"
  ],
  "type": "object"
}

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/stat-api-com-mlbseason-player-stats"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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