# NBA team roster API

Get NBA Team Roster data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, team, and retrieve structured data including unique NBA player identifier, player full display name, player jersey number, listed player position, and player listed height to render live team roster tables, and inspect historical championship rosters.

Documentation: https://openany.si/market/apis/nba/nba-team-roster-api/?offering=911916d0-b3bd-41a6-bd40-97ab4b64e7ec
API ID: 911916d0-b3bd-41a6-bd40-97ab4b64e7ec
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/nba/v1/roster
Page update time: 2026-12-03T02:55:47.365Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:55:46.697Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "NBA team roster API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "team": {
          "type": "string",
          "description": "Team abbreviation (`LAL`, `BOS`, `GSW` ...), nickname (`lakers`), team id or an nba.com team link."
        },
        "season": {
          "type": "string",
          "description": "Season as `2025-26` or its first year `2025`; the current season by default."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "team"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "coaches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "coach_id": {
            "type": "integer"
          },
          "coach_name": {
            "type": "string"
          },
          "coach_type": {
            "type": "string"
          },
          "first_name": {
            "type": "string"
          },
          "is_assistant": {
            "type": "integer"
          },
          "last_name": {
            "type": "string"
          },
          "season": {
            "type": "string"
          },
          "sort_sequence": {
            "type": "null"
          },
          "sub_sort_sequence": {
            "type": "integer"
          },
          "team_id": {
            "type": "integer"
          }
        }
      }
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "players": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "age": {
            "type": "integer"
          },
          "birth_date": {
            "type": "string"
          },
          "exp": {
            "type": "string"
          },
          "height": {
            "type": "string"
          },
          "how_acquired": {
            "type": "string"
          },
          "league_id": {
            "type": "string"
          },
          "nickname": {
            "type": "string"
          },
          "num": {
            "type": "string"
          },
          "player": {
            "type": "string"
          },
          "player_id": {
            "type": "integer"
          },
          "player_slug": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "school": {
            "type": "string"
          },
          "season": {
            "type": "string"
          },
          "supplemental_status": {
            "type": "integer"
          },
          "team_id": {
            "type": "integer"
          },
          "weight": {
            "type": "string"
          }
        }
      }
    },
    "season": {
      "type": "string"
    },
    "team": {
      "type": "string"
    },
    "team_id": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/nba/v1/roster?output=json&raw=0&team=GSW' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "coaches": [
    {
      "coach_id": 204005,
      "coach_name": "Steve Kerr",
      "coach_type": "Head Coach",
      "first_name": "Steve",
      "is_assistant": 1,
      "last_name": "Kerr",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 1,
      "team_id": 1610612744
    },
    {
      "coach_id": 2345,
      "coach_name": "Frank Vogel",
      "coach_type": "Associate Head Coach",
      "first_name": "Frank",
      "is_assistant": 9,
      "last_name": "Vogel",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 2,
      "team_id": 1610612744
    },
    {
      "coach_id": 202805,
      "coach_name": "Anthony Vereen",
      "coach_type": "Assistant Coach",
      "first_name": "Anthony",
      "is_assistant": 2,
      "last_name": "Vereen",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 5,
      "team_id": 1610612744
    },
    {
      "coach_id": 1796,
      "coach_name": "Ron Adams",
      "coach_type": "Assistant Coach",
      "first_name": "Ron",
      "is_assistant": 2,
      "last_name": "Adams",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 5,
      "team_id": 1610612744
    },
    {
      "coach_id": 204260,
      "coach_name": "Bruce Fraser",
      "coach_type": "Assistant Coach",
      "first_name": "Bruce",
      "is_assistant": 2,
      "last_name": "Fraser",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 5,
      "team_id": 1610612744
    },
    {
      "coach_id": 1627330,
      "coach_name": "Seth Cooper",
      "coach_type": "Assistant Coach",
      "first_name": "Seth",
      "is_assistant": 2,
      "last_name": "Cooper",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 5,
      "team_id": 1610612744
    },
    {
      "coach_id": 1628831,
      "coach_name": "Kris Weems",
      "coach_type": "Assistant Coach",
      "first_name": "Kris",
      "is_assistant": 2,
      "last_name": "Weems",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 5,
      "team_id": 1610612744
    },
    {
      "coach_id": 1630858,
      "coach_name": "Jacob Rubin",
      "coach_type": "Assistant Coach",
      "first_name": "Jacob",
      "is_assistant": 2,
      "last_name": "Rubin",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 5,
      "team_id": 1610612744
    },
    {
      "coach_id": 1630893,
      "coach_name": "Nicholas Kerr",
      "coach_type": "Assistant Coach",
      "first_name": "Nicholas",
      "is_assistant": 2,
      "last_name": "Kerr",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 5,
      "team_id": 1610612744
    },
    {
      "coach_id": 1642718,
      "coach_name": "Khalid Robinson",
      "coach_type": "Assistant Coach",
      "first_name": "Khalid",
      "is_assistant": 2,
      "last_name": "Robinson",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 5,
      "team_id": 1610612744
    },
    {
      "coach_id": 1628227,
      "coach_name": "Drew Yoder",
      "coach_type": "Trainer",
      "first_name": "Drew",
      "is_assistant": 3,
      "last_name": "Yoder",
      "season": "2026",
      "sort_sequence": null,
      "sub_sort_sequence": 7,
      "team_id": 1610612744
    }
  ],
  "count": 18,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:22:28.006Z",
  "players": [
    {
      "age": 33,
      "birth_date": "DEC 01, 1992",
      "exp": "10",
      "height": "6-2",
      "how_acquired": "Traded from POR on 02/09/23",
      "league_id": "00",
      "nickname": "Gary",
      "num": "0",
      "player": "Gary Payton II",
      "player_id": 1627780,
      "player_slug": "gary-payton-ii",
      "position": "G",
      "school": "Oregon State",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "192"
    },
    {
      "age": 24,
      "birth_date": "SEP 30, 2002",
      "exp": "R",
      "height": "6-9",
      "how_acquired": "#11 Pick in 2026 Draft",
      "league_id": "00",
      "nickname": "Yaxel",
      "num": "1",
      "player": "Yaxel Lendeborg",
      "player_id": 1642865,
      "player_slug": "yaxel-lendeborg",
      "position": "F",
      "school": "Michigan",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "247"
    },
    {
      "age": 23,
      "birth_date": "FEB 25, 2003",
      "exp": "3",
      "height": "6-4",
      "how_acquired": "#19 Pick in 2023 Draft",
      "league_id": "00",
      "nickname": "Brandin",
      "num": "2",
      "player": "Brandin Podziemski",
      "player_id": 1641764,
      "player_slug": "brandin-podziemski",
      "position": "G",
      "school": "Santa Clara",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "208"
    },
    {
      "age": 23,
      "birth_date": "DEC 24, 2002",
      "exp": "1",
      "height": "6-3",
      "how_acquired": "Draft Rights Traded from MEM on 07/06/25",
      "league_id": "00",
      "nickname": "Will",
      "num": "3",
      "player": "Will Richard",
      "player_id": 1642954,
      "player_slug": "will-richard",
      "position": "G",
      "school": "Florida",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "210"
    },
    {
      "age": 24,
      "birth_date": "MAY 31, 2002",
      "exp": "5",
      "height": "6-5",
      "how_acquired": "#14 Pick in 2021 Draft",
      "league_id": "00",
      "nickname": "Moses",
      "num": "4",
      "player": "Moses Moody",
      "player_id": 1630541,
      "player_slug": "moses-moody",
      "position": "G",
      "school": "Arkansas",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "215"
    },
    {
      "age": 31,
      "birth_date": "AUG 02, 1995",
      "exp": "11",
      "height": "7-2",
      "how_acquired": "Traded from ATL on 02/05/26",
      "league_id": "00",
      "nickname": "Kristaps",
      "num": "7",
      "player": "Kristaps Porziņģis",
      "player_id": 204001,
      "player_slug": "kristaps-porziņģis",
      "position": "F-C",
      "school": "Cajasol Sevilla",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "240"
    },
    {
      "age": 28,
      "birth_date": "MAY 28, 1998",
      "exp": "8",
      "height": "6-2",
      "how_acquired": "Signed on 10/01/25",
      "league_id": "00",
      "nickname": "De'Anthony",
      "num": "8",
      "player": "De'Anthony Melton",
      "player_id": 1629001,
      "player_slug": "deanthony-melton",
      "position": "G",
      "school": "Southern California",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "199"
    },
    {
      "age": 37,
      "birth_date": "SEP 14, 1989",
      "exp": "15",
      "height": "6-6",
      "how_acquired": "Traded from MIA on 02/06/25",
      "league_id": "00",
      "nickname": "Jimmy",
      "num": "10",
      "player": "Jimmy Butler III",
      "player_id": 202710,
      "player_slug": "jimmy-butler-iii",
      "position": "F",
      "school": "Marquette",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "230"
    },
    {
      "age": 26,
      "birth_date": "NOV 22, 1999",
      "exp": "4",
      "height": "6-1",
      "how_acquired": "Signed on 08/26/26",
      "league_id": "00",
      "nickname": "Brandon",
      "num": "12",
      "player": "Brandon Williams",
      "player_id": 1630314,
      "player_slug": "brandon-williams",
      "position": "G",
      "school": "Arizona",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "185"
    },
    {
      "age": 24,
      "birth_date": "JUN 22, 2002",
      "exp": "3",
      "height": "6-7",
      "how_acquired": "#55 Pick in 2022 Draft",
      "league_id": "00",
      "nickname": "Gui",
      "num": "15",
      "player": "Gui Santos",
      "player_id": 1630611,
      "player_slug": "gui-santos",
      "position": "F",
      "school": "Minas",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "225"
    },
    {
      "age": 25,
      "birth_date": "OCT 09, 2001",
      "exp": "1",
      "height": "6-0",
      "how_acquired": "Signed on 09/29/25",
      "league_id": "00",
      "nickname": "LJ",
      "num": "18",
      "player": "LJ Cryer",
      "player_id": 1643018,
      "player_slug": "lj-cryer",
      "position": "G",
      "school": "Houston",
      "season": "2026",
      "supplemental_status": 1,
      "team_id": 1610612744,
      "weight": "202"
    },
    {
      "age": 40,
      "birth_date": "JUN 03, 1986",
      "exp": "19",
      "height": "6-8",
      "how_acquired": "Signed on 10/01/25",
      "league_id": "00",
      "nickname": "Al",
      "num": "20",
      "player": "Al Horford",
      "player_id": 201143,
      "player_slug": "al-horford",
      "position": "C",
      "school": "Florida",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "260"
    },
    {
      "age": 36,
      "birth_date": "MAR 04, 1990",
      "exp": "14",
      "height": "6-6",
      "how_acquired": "#35 Pick in 2012 Draft",
      "league_id": "00",
      "nickname": "Draymond",
      "num": "23",
      "player": "Draymond Green",
      "player_id": 203110,
      "player_slug": "draymond-green",
      "position": "F-C",
      "school": "Michigan State",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "240"
    },
    {
      "age": 26,
      "birth_date": "OCT 28, 2000",
      "exp": "5",
      "height": "6-9",
      "how_acquired": "Signed on 04/05/26",
      "league_id": "00",
      "nickname": "Charles",
      "num": "28",
      "player": "Charles Bassey",
      "player_id": 1629646,
      "player_slug": "charles-bassey",
      "position": "F-C",
      "school": "Western Kentucky",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "244"
    },
    {
      "age": 38,
      "birth_date": "MAR 14, 1988",
      "exp": "17",
      "height": "6-2",
      "how_acquired": "#7 Pick in 2009 Draft",
      "league_id": "00",
      "nickname": "Stephen",
      "num": "30",
      "player": "Stephen Curry",
      "player_id": 201939,
      "player_slug": "stephen-curry",
      "position": "G",
      "school": "Davidson",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "205"
    },
    {
      "age": 33,
      "birth_date": "JUN 17, 1993",
      "exp": "10",
      "height": "6-7",
      "how_acquired": "Signed on 08/25/26",
      "league_id": "00",
      "nickname": "Georges",
      "num": "32",
      "player": "Georges Niang",
      "player_id": 1627777,
      "player_slug": "georges-niang",
      "position": "F",
      "school": "Iowa State",
      "season": "2026",
      "supplemental_status": 0,
      "team_id": 1610612744,
      "weight": "245"
    },
    {
      "age": 27,
      "birth_date": "SEP 23, 1999",
      "exp": "2",
      "height": "6-9",
      "how_acquired": "Signed on 12/08/25",
      "league_id": "00",
      "nickname": "Malevy",
      "num": "33",
      "player": "Malevy Leons",
      "player_id": 1642502,
      "player_slug": "malevy-leons",
      "position": "F",
      "school": "Bradley",
      "season": "2026",
      "supplemental_status": 1,
      "team_id": 1610612744,
      "weight": "206"
    },
    {
      "age": 24,
      "birth_date": "AUG 03, 2002",
      "exp": "R",
      "height": "6-10",
      "how_acquired": "Signed on 09/21/26",
      "league_id": "00",
      "nickname": "Graham",
      "num": "45",
      "player": "Graham Ike",
      "player_id": 1643633,
      "player_slug": "graham-ike",
      "position": "F-C",
      "school": "Gonzaga",
      "season": "2026",
      "supplemental_status": 1,
      "team_id": 1610612744,
      "weight": "245"
    }
  ],
  "season": "2026-27",
  "team": "GSW",
  "team_id": 1610612744
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/nba/nba-team-roster-api/?offering=911916d0-b3bd-41a6-bd40-97ab4b64e7ec

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
