{"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":"3baf4764-be3d-48a3-8250-6b6e4b174dc0","catalogType":"api","categories":["data"],"dataPlatform":"nba","dataPlatformLogoUrl":"https://api.sh/logos/nba.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get NBA Team Stats 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 team identifier, team full name, games won, games lost, and league rank for points to build league-wide team power rankings, evaluate clutch or fourth-quarter teams, and audit conference and road performance.","descriptionTranslations":{"ar":"قارن إحصاءات فرق NBA عبر الدوري من خلال OpenAny REST لتشغيل تصنيفات القوة ونماذج المواجهات ولوحات التحليل. صفّ حسب الموسم ونوع الجدول والمنافس والمؤتمر والقسم والمكان والربع والنطاق الزمني مع الفرز حسب أي عمود للحصول على إجماليات الفرق وتصنيفاتها بتنسيق JSON.","ja":"OpenAny REST で NBA 全チームのスタッツテーブルを比較取得し、パワーランキングやマッチアップ分析に活用できます。シーズン、基礎・アドバンス・フォーファクター等の指標テーブル、対戦相手、カンファレンス、ホーム・アウェイ、クォーター、期間で絞り込み、任意列ソートで JSON 取得できます。","zh":"通过 OpenAny REST 横向对比全联盟 NBA 球队统计表现，适用于战力榜、对位建模与情境拆解看板。可按赛季、基础或高阶数据表、对手、分区、赛区、主客场、节次及日期区间筛选，并按任意指标列排序获取球队统计汇总、胜负战绩和联盟排名。"},"effectContentHtml":"","executionMode":"sync","id":"ec575929-7bc8-433c-983c-755ec59066e9","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":"`regular` (default), `playoffs`, `preseason`, `play-in`, `cup` (NBA Cup) or `all-star`.","enum_values":["regular","playoffs","preseason","play-in","cup","all-star"],"location":"query","name":"season_type","nullable":false,"required":false,"type":"string"},{"description":"Table: `base` (default), `advanced`, `misc`, `scoring`, `usage`, `defense`, `fourfactors`, `opponent`.","location":"query","name":"measure_type","nullable":false,"required":false,"type":"string"},{"description":"per_mode","location":"query","name":"per_mode","nullable":false,"required":false,"type":"string"},{"description":"Team abbreviation (`LAL`, `BOS` ...) or nickname.","location":"query","name":"team","nullable":false,"required":false,"type":"string"},{"description":"Only games against this team (abbreviation).","location":"query","name":"opponent","nullable":false,"required":false,"type":"string"},{"description":"From date (YYYY-MM-DD).","location":"query","name":"start_date","nullable":false,"required":false,"type":"string"},{"description":"To date (YYYY-MM-DD).","location":"query","name":"end_date","nullable":false,"required":false,"type":"string"},{"description":"Only each team's last N games.","location":"query","name":"last_n_games","nullable":false,"required":false,"type":"integer"},{"description":"Month of the season (1 = October ... 9 = June).","location":"query","name":"month","nullable":false,"required":false,"type":"integer"},{"description":"`home` or `road`.","enum_values":["home","road"],"location":"query","name":"location","nullable":false,"required":false,"type":"string"},{"description":"`W` or `L`.","enum_values":["W","L"],"location":"query","name":"outcome","nullable":false,"required":false,"type":"string"},{"description":"`pre-all-star` or `post-all-star`.","enum_values":["pre-all-star","post-all-star"],"location":"query","name":"season_segment","nullable":false,"required":false,"type":"string"},{"description":"Only this quarter (1-4) or overtime (5+).","location":"query","name":"period","nullable":false,"required":false,"type":"integer"},{"description":"`first-half`, `second-half` or `overtime`.","enum_values":["first-half","second-half","overtime"],"location":"query","name":"game_segment","nullable":false,"required":false,"type":"string"},{"description":"`East` or `West`.","location":"query","name":"conference","nullable":false,"required":false,"type":"string"},{"description":"Division name, e.g. `Pacific`.","location":"query","name":"division","nullable":false,"required":false,"type":"string"},{"description":"Only games against this conference.","location":"query","name":"vs_conference","nullable":false,"required":false,"type":"string"},{"description":"Only games against this division.","location":"query","name":"vs_division","nullable":false,"required":false,"type":"string"},{"description":"Minimum games played.","location":"query","name":"min_games","nullable":false,"required":false,"type":"integer"},{"description":"Column to sort by (a snake_case column of the table, e.g. `pts`, `net_rating`, `plus_minus`).","location":"query","name":"sort","nullable":false,"required":false,"type":"string"},{"description":"`desc` (default) or `asc`.","enum_values":["desc","asc"],"location":"query","name":"direction","nullable":false,"required":false,"type":"string"},{"description":"Page number, from 1.","location":"query","name":"page","nullable":false,"required":false,"type":"integer"},{"description":"Rows per page (1-500, default 30).","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 team stats tables API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eNBA Team Stats API\u003c/h2\u003e\n\u003cp\u003eQuery NBA team statistics tables using optional season, season_type, measure_type (base, advanced, misc, scoring, usage, defense, fourfactors or opponent), per_mode, team, opponent, split filters (location, outcome, period, game_segment, conference, division, date range, last_n_games), sort, direction, page and limit (1-500, default 30).\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, season_type, measure_type (base/advanced/misc/scoring/usage/defense/fourfactors/opponent), per_mode, team, opponent, split filters, sort, direction, page, limit (1-500, default 30).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · NBA team stats tables 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\u003eBuild league-wide team power rankings\u003c/strong\u003e: Query measure_type=advanced or fourfactors and sort by net_rating or plus_minus.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eEvaluate clutch or fourth-quarter teams\u003c/strong\u003e: Filter by period=4 or game_segment=second-half to compare late-game team efficiency.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAudit conference and road performance\u003c/strong\u003e: Combine location=road and vs_conference=West to measure how teams perform against tough splits.\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\u003erows[].team_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUnique NBA team identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].team_name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTeam full name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].gp\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eGames played in the filtered scope\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].w\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eGames won\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].l\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eGames lost\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].pts\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePoints metric for the selected mode\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].pts_rank\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eLeague rank for points\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].fg_pct\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTeam field goal percentage\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].plus_minus\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTeam point differential\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/stats/teams \\\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\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/ec575929-7bc8-433c-983c-755ec59066e9\"\u003ePublished NBA Team Stats 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\u003eWhich team stat tables are available in measure_type?\u003c/h3\u003e\n\u003cp\u003emeasure_type supports base (default), advanced, misc, scoring, usage, defense, fourfactors and opponent.\u003c/p\u003e\n\u003ch3\u003eHow do I sort all 30 teams by a specific stat?\u003c/h3\u003e\n\u003cp\u003eSet sort to a snake_case column name from the active table (such as pts, net_rating or plus_minus) and direction to desc or asc.\u003c/p\u003e\n\u003ch3\u003eCan I filter team stats by opponent conference or division?\u003c/h3\u003e\n\u003cp\u003eYes. Use conference, division, vs_conference and vs_division, plus opponent for a single team.\u003c/p\u003e\n\u003ch3\u003eWhat is the default page size for team stats?\u003c/h3\u003e\n\u003cp\u003elimit defaults to 30 rows (covering all 30 NBA teams in one page) and accepts 1 to 500.\u003c/p\u003e\n\u003ch3\u003eAre league ranks returned alongside raw stat values?\u003c/h3\u003e\n\u003cp\u003eYes. Each row includes paired rank columns such as pts_rank, fg_pct_rank, reb_rank and w_pct_rank.\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 bypass 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-standings-api\"\u003eNBA Standings API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-team-details-api\"\u003eNBA Team Details API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-lineup-stats-api\"\u003eNBA Lineup Stats API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/nba/nba-team-stats-tables-api?offering=ec575929-7bc8-433c-983c-755ec59066e9","providerId":"apish","publicPath":"/v1/agent-apis/apish/nba/v1/stats/teams","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"limit":"1","output":"json","raw":"0","season":"2025-26"}},"response_body":{"applied_filters":{"measure_type":"Base","per_mode":"PerGame","season":"2025-26","season_type":"Regular Season"},"cached":false,"count":1,"credits_used":1,"fetched_at":"2026-11-19T12:22:36.388Z","next_page":2,"page":1,"rows":[{"ast":30.1,"ast_rank":1,"blk":4.7,"blk_rank":18,"blka":4.9,"blka_rank":17,"dreb":32.6,"dreb_rank":13,"fg3_a":39.5,"fg3_a_rank":9,"fg3_m":14.6,"fg3_m_rank":6,"fg3_pct":0.371,"fg3_pct_rank":5,"fg_pct":0.474,"fg_pct_rank":13,"fga":92,"fga_rank":2,"fgm":43.6,"fgm_rank":2,"ft_pct":0.774,"ft_pct_rank":20,"fta":21.5,"fta_rank":24,"ftm":16.6,"ftm_rank":26,"gp":82,"gp_rank":1,"l":36,"l_rank":11,"min":48.2,"min_rank":14,"oreb":11,"oreb_rank":18,"pf":19.7,"pf_rank":14,"pfd":18.5,"pfd_rank":26,"plus_minus":2.4,"plus_minus_rank":12,"pts":118.5,"pts_rank":6,"reb":43.5,"reb_rank":18,"stl":9.4,"stl_rank":5,"team_id":1610612737,"team_name":"Atlanta Hawks","tov":14.2,"tov_rank":10,"w":46,"w_pct":0.561,"w_pct_rank":11,"w_rank":11}],"total":30}}],"seoDescription":"Get NBA Team Stats 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:55:46.738Z","usageInstructionsHtml":""}}