NBA team roster API
Use the NBA team roster API to retrieve player records, player or classification position and participant characteristics as structured JSON from NBA. Supply team selector in the query; optionally select season to set the requested scope. Use these results to compare squad composition for a team and season or organize registered-player reference lists. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent NBA team roster API · GET · View API reference | $0.002 / billing credit | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
cachedbooleancoachesobject[]coach_idintegercoach_namestringcoach_typestringfirst_namestringis_assistantintegerlast_namestringseasonstringsort_sequencenullsub_sort_sequenceintegerteam_idinteger
countintegercredits_usedintegerfetched_atstringplayersobject[]ageintegerbirth_datestringexpstringheightstringhow_acquiredstringleague_idstringnicknamestringnumstringplayerstringplayer_idintegerplayer_slugstringpositionstringschoolstringseasonstringsupplemental_statusintegerteam_idintegerweightstring
seasonstringteamstringteam_idinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cached?: boolean;
coaches?: Array<{
coach_id?: number;
coach_name?: string;
coach_type?: string;
first_name?: string;
is_assistant?: number;
last_name?: string;
season?: string;
sort_sequence?: null;
sub_sort_sequence?: number;
team_id?: number;
}>;
count?: number;
credits_used?: number;
fetched_at?: string;
players?: Array<{
age?: number;
birth_date?: string;
exp?: string;
height?: string;
how_acquired?: string;
league_id?: string;
nickname?: string;
num?: string;
player?: string;
player_id?: number;
player_slug?: string;
position?: string;
school?: string;
season?: string;
supplemental_status?: number;
team_id?: number;
weight?: string;
}>;
season?: string;
team?: string;
team_id?: number;
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/nba/v1/roster- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
team | URL query parametersquery | string | Yes | Team abbreviation (`LAL`, `BOS`, `GSW` ...), nickname (`lakers`), team id or an nba.com team link. |
season | URL query parametersquery | string | No | Season as `2025-26` or its first year `2025`; the current season by default. |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# NBA team roster API
Use the NBA team roster API to retrieve player records, player or classification position and participant characteristics as structured JSON from NBA. Supply team selector in the query; optionally select season to set the requested scope. Use these results to compare squad composition for a team and season or organize registered-player reference lists. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
Documentation: https://openany.si/apis/911916d0-b3bd-41a6-bd40-97ab4b64e7ec
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/nba/v1/roster
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared 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'
```
## API contract
```json
{
"resource_type": "api",
"name": "NBA team roster API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/nba/v1/roster",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Team abbreviation (`LAL`, `BOS`, `GSW` ...), nickname (`lakers`), team id or an nba.com team link.",
"location": "query",
"name": "team",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Season as `2025-26` or its first year `2025`; the current season by default.",
"location": "query",
"name": "season",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"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.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"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": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Live API.SH response · Minimal request",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"output": "json",
"raw": "0",
"team": "GSW"
}
},
"response_body": {
"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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 7
Review these request fields before running. Keep the published provider and request method unchanged.
team- Team abbreviation (`LAL`, `BOS`, `GSW` ...), nickname (`lakers`), team id or an nba.com team link.
season- Season as `2025-26` or its first year `2025`; the current season by default.
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ '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'Check the response
Sample response · Documented HTTP 200
Sample response{ "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 }
Loading related APIs…
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use NBA team roster API with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.