Properties
| Name | Type | Description |
|---|---|---|
| player_id | string | Permanent id; it stays the same when a player changes teams. |
| league | string | |
| team | object | |
| name | string | |
| first_name | string | |
| last_name | string | |
| position | string | |
| jersey_number | stringnull | |
| height_in | integernull | |
| height_cm | integernull | |
| weight_lb | integernull | |
| weight_kg | integernull | |
| birth_date | stringnull | |
| birth_place | objectnull | |
| roster_status | string | |
| college | string | |
| experience_years | integer | |
| class_year | string | College: class year. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-basketball-player-schema.json",
"title": "BasketballPlayer",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/api-ninjas-com-basketball-api-openapi.yml#/components/schemas/BasketballPlayer",
"type": "object",
"properties": {
"player_id": {
"type": "string",
"description": "Permanent id; it stays the same when a player changes teams."
},
"league": {
"type": "string",
"enum": [
"nba",
"wnba"
]
},
"team": {
"allOf": [
{
"$ref": "#/$defs/BasketballTeamRef"
}
]
},
"name": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"position": {
"type": "string"
},
"jersey_number": {
"type": [
"string",
"null"
]
},
"height_in": {
"type": [
"integer",
"null"
]
},
"height_cm": {
"type": [
"integer",
"null"
]
},
"weight_lb": {
"type": [
"integer",
"null"
]
},
"weight_kg": {
"type": [
"integer",
"null"
]
},
"birth_date": {
"type": [
"string",
"null"
],
"format": "date"
},
"birth_place": {
"type": [
"object",
"null"
],
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
}
}
},
"roster_status": {
"type": "string"
},
"college": {
"type": "string"
},
"experience_years": {
"type": "integer"
},
"class_year": {
"type": "string",
"enum": [
"freshman",
"sophomore",
"junior",
"senior",
"graduate"
],
"description": "College: class year."
}
},
"$defs": {
"BasketballTeamRef": {
"type": "object",
"properties": {
"team_id": {
"type": "string",
"description": "Team id, e.g. nba-bos."
},
"name": {
"type": "string"
},
"abbreviation": {
"type": "string"
},
"rank": {
"type": [
"integer",
"null"
],
"description": "College games only: Top 25 rank at game time (AP poll), null when unranked."
},
"seed": {
"type": [
"integer",
"null"
],
"description": "College games only: seed in NCAA tournament games."
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/api-ninjas-com-basketball-player"
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.