stat-api-com · Schema

NBAPlayers

Every individual who has played in the NBA — current rosters, two-way and 10-day contracts, G-League call-ups, free agents, and retired veterans. The roster signal lives in `roster_status` (the canonical cross-league vocabulary) and `team_id` (null for free agents and retired players). Pass `?team_id=` to scope to one franchise's current roster, or omit it to scan the full historical roster pool.

SportsDataDFSFantasy

Properties

Name Type Description
birth_city stringnull City of birth.
birth_country stringnull Country of birth (ISO English name).
birth_date stringnull Birth date in YYYY-MM-DD form.
birth_state stringnull State / province of birth (US/Canadian players).
display_fi_last stringnull Display name in "F. Last" form.
display_last_comma_first stringnull Display name in "Last, First" form. Useful for sorted lists.
dleague_flag stringnull Two-character bit-string from the league: "00" no G-League history, "01" G-League experience, "11" currently G-League-affiliated (two-way / assignment).
draft_number stringnull Overall pick number within the draft (string). Empty for undrafted.
draft_round stringnull Draft round (string). Empty for undrafted players.
draft_year stringnull Year the player was drafted (string form). Empty for undrafted players.
experience integernull Years of NBA experience as of the most recent season. Rookies = 0.
first_name string Player's legal first name as registered with the league.
from_year stringnull Player's NBA debut year as a string (as the league records it).
full_name string Convenience concatenation of first_name + last_name. Use this for display.
full_position_list stringnull Hyphenated full-word position list (e.g., "Guard-Forward", "Center-Forward").
games_played_flag stringnull String "Y"/"N" indicating whether the player has played at least one regular-season game.
height integernull Height in inches.
id integer Primary Key
injury_body_part stringnull Affected body part for the most recent injury (e.g., "Knee", "Ankle"). Null when injury_status is null.
injury_detail stringnull Free-text injury description from the source feed.
injury_since stringnull Timestamp of the injury status snapshot. Updated when player_news produces a new injury entry.
injury_status stringnull Current injury status snapshot derived from player_news. Values: "OUT", "QUESTIONABLE"; null = no active injury designation (healthy).
jersey stringnull Current jersey number as a string (some leagues allow leading zeros, e.g., "00").
last_affiliation stringnull Most recent pre-NBA affiliation (school, league, or team).
last_name string Player's legal last name.
league_player_id integer Official NBA player ID (issued by the league). Stable across seasons; use it to join other data that carries the league id.
league_slug stringnull NBA-issued URL slug of the player (as in the league player page).
nba_flag stringnull String "Y"/"N" indicating NBA experience. Almost always "Y" in this table.
playercode stringnull NBA-issued player code (lastname_firstname format).
position_category stringnull Coarse positional grouping. One of Guard, Forward, Center, Utility.
primary_position string Primary position. One of G, F, C, G-F, F-C. (True PG/SG/SF/PF splits live in team_depth_charts.position.)
roster_status stringnull Canonical roster status, shared across leagues. NBA source granularity is coarse: "active" (on an NBA roster), "free_agent" (no team), "inactive" (not currently rostered); injured_reserve/retired appe
school stringnull Last school attended before the NBA (college, prep, or international club).
team_abbreviation stringnull Current team's tri-letter code.
team_city stringnull Current team's city name.
team_code stringnull Current team's lowercase URL slug.
team_id integernull FK to nba.teams. Null for free agents and retired players.
team_name stringnull Current team's mascot name (denormalized from teams.name for read convenience).
to_year stringnull Player's most recent NBA season year. Equal to from_year for rookies.
weight integernull Listed weight in pounds.
View JSON Schema on GitHub

JSON Schema

stat-api-com-nbaplayers-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-nbaplayers-schema.json",
  "title": "NBAPlayers",
  "description": "Every individual who has played in the NBA — current rosters, two-way and 10-day contracts, G-League call-ups, free agents, and retired veterans. The roster signal lives in `roster_status` (the canonical cross-league vocabulary) and `team_id` (null for free agents and retired players). Pass `?team_id=` to scope to one franchise's current roster, or omit it to scan the full historical roster pool.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stat-api-com-nba-api-openapi.yml#/components/schemas/NBAPlayers",
  "properties": {
    "birth_city": {
      "description": "City of birth.",
      "type": [
        "string",
        "null"
      ]
    },
    "birth_country": {
      "description": "Country of birth (ISO English name).",
      "type": [
        "string",
        "null"
      ]
    },
    "birth_date": {
      "description": "Birth date in YYYY-MM-DD form.",
      "format": "date",
      "type": [
        "string",
        "null"
      ]
    },
    "birth_state": {
      "description": "State / province of birth (US/Canadian players).",
      "type": [
        "string",
        "null"
      ]
    },
    "display_fi_last": {
      "description": "Display name in \"F. Last\" form.",
      "type": [
        "string",
        "null"
      ]
    },
    "display_last_comma_first": {
      "description": "Display name in \"Last, First\" form. Useful for sorted lists.",
      "type": [
        "string",
        "null"
      ]
    },
    "dleague_flag": {
      "description": "Two-character bit-string from the league: \"00\" no G-League history, \"01\" G-League experience, \"11\" currently G-League-affiliated (two-way / assignment).",
      "type": [
        "string",
        "null"
      ]
    },
    "draft_number": {
      "description": "Overall pick number within the draft (string). Empty for undrafted.",
      "type": [
        "string",
        "null"
      ]
    },
    "draft_round": {
      "description": "Draft round (string). Empty for undrafted players.",
      "type": [
        "string",
        "null"
      ]
    },
    "draft_year": {
      "description": "Year the player was drafted (string form). Empty for undrafted players.",
      "type": [
        "string",
        "null"
      ]
    },
    "experience": {
      "description": "Years of NBA experience as of the most recent season. Rookies = 0.",
      "type": [
        "integer",
        "null"
      ]
    },
    "first_name": {
      "description": "Player's legal first name as registered with the league.",
      "type": "string"
    },
    "from_year": {
      "description": "Player's NBA debut year as a string (as the league records it).",
      "type": [
        "string",
        "null"
      ]
    },
    "full_name": {
      "description": "Convenience concatenation of first_name + last_name. Use this for display.",
      "type": "string"
    },
    "full_position_list": {
      "description": "Hyphenated full-word position list (e.g., \"Guard-Forward\", \"Center-Forward\").",
      "type": [
        "string",
        "null"
      ]
    },
    "games_played_flag": {
      "description": "String \"Y\"/\"N\" indicating whether the player has played at least one regular-season game.",
      "type": [
        "string",
        "null"
      ]
    },
    "height": {
      "description": "Height in inches.",
      "type": [
        "integer",
        "null"
      ]
    },
    "id": {
      "description": "Primary Key",
      "format": "int64",
      "type": "integer"
    },
    "injury_body_part": {
      "description": "Affected body part for the most recent injury (e.g., \"Knee\", \"Ankle\"). Null when injury_status is null.",
      "type": [
        "string",
        "null"
      ]
    },
    "injury_detail": {
      "description": "Free-text injury description from the source feed.",
      "type": [
        "string",
        "null"
      ]
    },
    "injury_since": {
      "description": "Timestamp of the injury status snapshot. Updated when player_news produces a new injury entry.",
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "injury_status": {
      "description": "Current injury status snapshot derived from player_news. Values: \"OUT\", \"QUESTIONABLE\"; null = no active injury designation (healthy).",
      "type": [
        "string",
        "null"
      ]
    },
    "jersey": {
      "description": "Current jersey number as a string (some leagues allow leading zeros, e.g., \"00\").",
      "type": [
        "string",
        "null"
      ]
    },
    "last_affiliation": {
      "description": "Most recent pre-NBA affiliation (school, league, or team).",
      "type": [
        "string",
        "null"
      ]
    },
    "last_name": {
      "description": "Player's legal last name.",
      "type": "string"
    },
    "league_player_id": {
      "description": "Official NBA player ID (issued by the league). Stable across seasons; use it to join other data that carries the league id.",
      "type": "integer"
    },
    "league_slug": {
      "description": "NBA-issued URL slug of the player (as in the league player page).",
      "type": [
        "string",
        "null"
      ]
    },
    "nba_flag": {
      "description": "String \"Y\"/\"N\" indicating NBA experience. Almost always \"Y\" in this table.",
      "type": [
        "string",
        "null"
      ]
    },
    "playercode": {
      "description": "NBA-issued player code (lastname_firstname format).",
      "type": [
        "string",
        "null"
      ]
    },
    "position_category": {
      "description": "Coarse positional grouping. One of Guard, Forward, Center, Utility.",
      "type": [
        "string",
        "null"
      ]
    },
    "primary_position": {
      "description": "Primary position. One of G, F, C, G-F, F-C. (True PG/SG/SF/PF splits live in team_depth_charts.position.)",
      "type": "string"
    },
    "roster_status": {
      "description": "Canonical roster status, shared across leagues. NBA source granularity is coarse: \"active\" (on an NBA roster), \"free_agent\" (no team), \"inactive\" (not currently rostered); injured_reserve/retired appear where derivable. The \"on a team now\" set is {active, injured_reserve}.",
      "type": [
        "string",
        "null"
      ]
    },
    "school": {
      "description": "Last school attended before the NBA (college, prep, or international club).",
      "type": [
        "string",
        "null"
      ]
    },
    "team_abbreviation": {
      "description": "Current team's tri-letter code.",
      "type": [
        "string",
        "null"
      ]
    },
    "team_city": {
      "description": "Current team's city name.",
      "type": [
        "string",
        "null"
      ]
    },
    "team_code": {
      "description": "Current team's lowercase URL slug.",
      "type": [
        "string",
        "null"
      ]
    },
    "team_id": {
      "description": "FK to nba.teams. Null for free agents and retired players.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "team_name": {
      "description": "Current team's mascot name (denormalized from teams.name for read convenience).",
      "type": [
        "string",
        "null"
      ]
    },
    "to_year": {
      "description": "Player's most recent NBA season year. Equal to from_year for rookies.",
      "type": [
        "string",
        "null"
      ]
    },
    "weight": {
      "description": "Listed weight in pounds.",
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "league_player_id",
    "first_name",
    "full_name",
    "last_name",
    "primary_position"
  ],
  "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-nbaplayers"
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.