{"data":{"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":[]}},"capabilityId":"32ce5d45-f270-407c-aae7-547221c15ea1","catalogType":"api","categories":["data"],"dataPlatform":"nba","dataPlatformLogoUrl":"https://api.sh/logos/nba.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get NBA Player Index data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, raw, and retrieve structured data including unique NBA player identifier, player first name, player last name, listed player position, and team three-letter abbreviation to filter international or alumni cohorts, and populate team and position directories.","descriptionTranslations":{"ar":"تصفح وصفّ دليل لاعبي NBA الكامل عبر OpenAny REST لبناء كتالوجات اللاعبين وتتبع المواهب الدولية وخريجي الجامعات. اجمع بين فلاتر الموسم والفريق والمركز والبلد والجامعة وسنة الدرافت واللاعبين السابقين مع الترقيم للحصول على معرفات اللاعبين وبياناتهم ومتوسطات النقاط والمتابعات والتمريرات بتنسيق JSON.","ja":"OpenAny REST で NBA 選手名簿を条件絞り込みし、選手カタログや出身国・大学別データベース構築に活用できます。シーズン、チーム、ポジション、国、大学、ドラフト年、過去選手フラグとページネーションを組み合わせて、選手 ID、プロフィール、所属チーム、主要平均スタッツを JSON で取得できます。","zh":"通过 OpenAny REST 浏览并筛选完整的 NBA 球员名录，用于构建可检索的球员库、国际球员追踪与校友统计表。可组合赛季、球队、位置、国籍、大学、选秀年份和历史球员开关以及分页参数，以结构化 JSON 获取球员 ID、基本资料、所属球队及场均得分、篮板和助攻。"},"effectContentHtml":"","executionMode":"sync","id":"fe96a66d-19df-4d8f-9521-5447701e8742","includedContentHtml":"","inputs":[{"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":"Team abbreviation (`LAL`, `BOS` ...) or nickname.","location":"query","name":"team","nullable":false,"required":false,"type":"string"},{"description":"`G`, `F`, `C`, or a combination like `G-F`.","location":"query","name":"position","nullable":false,"required":false,"type":"string"},{"description":"Country, e.g. `France`.","location":"query","name":"country","nullable":false,"required":false,"type":"string"},{"description":"College name or part of it.","location":"query","name":"college","nullable":false,"required":false,"type":"string"},{"description":"Draft year, or `undrafted`.","location":"query","name":"draft_year","nullable":false,"required":false,"type":"string"},{"description":"`true` to include past players (needs team, country, college or draft_year).","location":"query","name":"historical","nullable":false,"required":false,"type":"boolean"},{"description":"Page number, from 1.","location":"query","name":"page","nullable":false,"required":false,"type":"integer"},{"description":"Players per page (1-500, default 100).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"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"}],"logoUrl":"https://api.sh/logos/nba.png","method":"GET","name":"NBA player index API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eNBA Player Index API\u003c/h2\u003e\n\u003cp\u003eFilter the NBA player index using optional season, team (abbreviation or nickname), position (G, F, C or combinations like G-F), country, college, draft_year (or undrafted), historical (true to include past players when paired with team, country, college or draft_year), page and limit (1-500, default 100).\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eOptional query: season, team, position (G/F/C/G-F), country, college, draft_year (or undrafted), historical (boolean), page, limit (1-500, default 100).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · NBA player index API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eFilter international or alumni cohorts\u003c/strong\u003e: Query country=France or college=Duke with historical=true to list active and former NBA players.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePopulate team and position directories\u003c/strong\u003e: Filter by team and position to build browseable roster and depth-chart selectors.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eSeed player IDs for batch enrichment\u003c/strong\u003e: Paginate players[].person_id to feed the Player Profile, Game Log or Awards APIs.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eseason\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSeason represented in the directory\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].person_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUnique NBA player identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].player_first_name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer first name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].player_last_name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer last name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].position\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eListed player position\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].team_abbreviation\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTeam three-letter abbreviation\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].country\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer country of origin\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].college\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer college or prior affiliation\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].pts\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePoints per game summary\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_page\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNext page number, or null on the final page\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/nba/v1/players \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode limit=1 \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0 \\\n  --data-urlencode season=2025-26 \\\n  --data-urlencode team=LAL\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/fe96a66d-19df-4d8f-9521-5447701e8742\"\u003ePublished NBA Player Index API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhen should I use Player Index instead of Player Search?\u003c/h3\u003e\n\u003cp\u003eUse Player Index for structured directory filtering by team, position, country, college or draft year; use Player Search for name-based lookup with q.\u003c/p\u003e\n\u003ch3\u003eHow do I include historical or retired players?\u003c/h3\u003e\n\u003cp\u003eSet historical=true and pair it with at least one scoping filter: team, country, college or draft_year.\u003c/p\u003e\n\u003ch3\u003eCan I filter for undrafted players?\u003c/h3\u003e\n\u003cp\u003eYes. Pass draft_year=undrafted to return players who entered the league undrafted.\u003c/p\u003e\n\u003ch3\u003eWhat position formats are accepted?\u003c/h3\u003e\n\u003cp\u003ePass G, F, C or combined designations such as G-F or F-C.\u003c/p\u003e\n\u003ch3\u003eHow do I paginate through the directory?\u003c/h3\u003e\n\u003cp\u003eUse page (from 1) and limit (1 to 500, default 100), following next_page until null.\u003c/p\u003e\n\u003ch3\u003eHow do caching and response trimming work?\u003c/h3\u003e\n\u003cp\u003eOutput is JSON only. Pass fresh=1 to skip the 24-hour cache, raw=0 to omit raw blocks, or fields to select keys.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-player-search-api\"\u003eNBA Player Search API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-player-profile-and-career-stats-api\"\u003eNBA Player Profile API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-team-roster-api\"\u003eNBA Team Roster API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/nba/nba-player-index-api?offering=fe96a66d-19df-4d8f-9521-5447701e8742","providerId":"apish","publicPath":"/v1/agent-apis/apish/nba/v1/players","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH recording · HTTP 200","request":{"body":null,"headers":{},"path":{},"query":{"limit":"1","output":"json","raw":"0","season":"2025-26","team":"LAL"}},"response_body":{"applied_filters":{"college":null,"country":null,"draft_year":null,"historical":false,"position":null,"team":"LAL"},"cached":false,"count":1,"credits_used":1,"fetched_at":"2026-11-19T09:20:17.076Z","next_page":2,"page":1,"players":[{"ast":0.8,"college":"Arizona","country":"Bahamas","draft_number":1,"draft_round":1,"draft_year":2018,"from_year":"2018","height":"7-0","jersey_number":"5","person_id":1629028,"player_first_name":"Deandre","player_last_name":"Ayton","player_slug":"deandre-ayton","position":"C","pts":12.5,"reb":8,"roster_status":1,"stats_timeframe":"Season","supplemental_status":0,"team_abbreviation":"LAL","team_city":"Los Angeles","team_id":1610612747,"team_name":"Lakers","team_slug":"lakers","to_year":"2026","url":"https://www.nba.com/player/1629028/deandre-ayton","weight":"252"}],"season":"2025-26","total":17}}],"seoDescription":"Get NBA Player Index data via REST or MCP powered by Apish. Pay per call, no subscription. Ready for developers and AI agents with one API key.","updatedAt":"2026-12-03T02:40:54.826Z","usageInstructionsHtml":""}}