api-ninjas-com · Schema

BaseballStanding

Fields that do not apply to a league are omitted.

CompanyDataFinanceDevelopers

Properties

Name Type Description
league string
sport string
season integer
season_label string
team object
conference stringnull AL or NL.
division stringnull
games_played integer
wins integer
losses integer
win_pct number
games_behind number
points_for integer
points_against integer
point_differential integer
streak string
home_record string
away_record string
last_10 string
league_rank integer
conference_rank integer
division_rank integer
final boolean
View JSON Schema on GitHub

JSON Schema

api-ninjas-com-baseball-standing-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-baseball-standing-schema.json",
  "title": "BaseballStanding",
  "description": "Fields that do not apply to a league are omitted.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-ninjas-com-baseball-api-openapi.yml#/components/schemas/BaseballStanding",
  "type": "object",
  "properties": {
    "league": {
      "type": "string",
      "enum": [
        "mlb"
      ]
    },
    "sport": {
      "type": "string",
      "enum": [
        "baseball"
      ]
    },
    "season": {
      "type": "integer"
    },
    "season_label": {
      "type": "string"
    },
    "team": {
      "$ref": "#/$defs/BaseballTeamRef"
    },
    "conference": {
      "type": [
        "string",
        "null"
      ],
      "description": "AL or NL."
    },
    "division": {
      "type": [
        "string",
        "null"
      ]
    },
    "games_played": {
      "type": "integer"
    },
    "wins": {
      "type": "integer"
    },
    "losses": {
      "type": "integer"
    },
    "win_pct": {
      "type": "number"
    },
    "games_behind": {
      "type": "number"
    },
    "points_for": {
      "type": "integer"
    },
    "points_against": {
      "type": "integer"
    },
    "point_differential": {
      "type": "integer"
    },
    "streak": {
      "type": "string"
    },
    "home_record": {
      "type": "string"
    },
    "away_record": {
      "type": "string"
    },
    "last_10": {
      "type": "string"
    },
    "league_rank": {
      "type": "integer"
    },
    "conference_rank": {
      "type": "integer"
    },
    "division_rank": {
      "type": "integer"
    },
    "final": {
      "type": "boolean"
    }
  },
  "$defs": {
    "BaseballTeamRef": {
      "type": "object",
      "properties": {
        "team_id": {
          "type": "string",
          "description": "Team id, e.g. mlb-nyy."
        },
        "name": {
          "type": "string"
        },
        "abbreviation": {
          "type": "string"
        }
      }
    }
  }
}

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/api-ninjas-com-baseball-standing"
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. See our Privacy Policy and Terms.

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