{"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":"b9d602b9-54a5-4c8f-be4c-83e49c22d095","catalogType":"api","categories":["data"],"dataPlatform":"nba","dataPlatformLogoUrl":"https://api.sh/logos/nba.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get NBA Lineup 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 team three-letter abbreviation, total minutes played together, lineup point differential, lineup field goal percentage, and next page to evaluate five-man closing units, study two-man chemistry, and slice home vs, road rotations.","descriptionTranslations":{"ar":"قيّم تشكيلات NBA من لاعبين إلى خمسة لاعبين عبر OpenAny REST لتحليلات التدريب ودراسة التدوير والمواجهات. صفّ حسب الموسم والفريق وحجم التشكيلة ونوع الجدول والمنافس والمكان والربع والنطاق الزمني مع الفرز حسب أي عمود بتنسيق JSON.","ja":"OpenAny REST で NBA の 2〜5 人ラインナップ別スタッツを取得し、ローテーション分析やマッチアップ検証に活用できます。シーズン、チーム、人数、指標テーブル、対戦相手、ホーム・アウェイ、クォーター、期間で絞り込み、任意の列で並べ替えて JSON 取得できます。","zh":"通过 OpenAny REST 评估 NBA 二人至五人阵容组合表现，适用于教练组分析、轮换研究与对位建模。可按赛季、球队、阵容人数、统计表类型、对手、主客场、节次与日期范围筛选，并按任意列排序获取阵容攻防指标、胜负拆解与联盟排名。"},"effectContentHtml":"","executionMode":"sync","id":"b8d9eac0-3078-43b2-9b37-1c1b1f8c9188","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":"Players per lineup, 2-5 (default 5).","location":"query","name":"group_size","nullable":false,"required":false,"type":"integer"},{"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 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 lineup stats API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eNBA Lineup Stats API\u003c/h2\u003e\n\u003cp\u003eQuery NBA lineup performance tables with optional group_size (2 to 5, default 5), measure_type (base, advanced, misc, scoring, usage, defense, fourfactors or opponent), team, season, situational split filters, sort, direction, 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, season_type, measure_type (base default), group_size (2-5, default 5), team, opponent, date/location/period splits, min_games, sort, direction, page, limit.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · NBA lineup stats 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\u003eEvaluate five-man closing units\u003c/strong\u003e: Filter by team, period=4 and min_games to rank a team\u0026#39;s best fourth-quarter five-man lineups.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eStudy two-man chemistry\u003c/strong\u003e: Set group_size=2 and measure_type=advanced to compare star duo net rating and efficiency.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eSlice home vs. road rotations\u003c/strong\u003e: Filter by location=home or road and sort by plus_minus to audit lineup consistency.\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[].group_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eComposite player ID key for the lineup\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].group_name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer names forming the lineup\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].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\u003erows[].gp\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eGames played by the lineup\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 with the lineup\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].min\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal minutes played together\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 scored by the lineup\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\u003eLineup point differential\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\u003eLineup field goal percentage\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/lineups \\\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/b8d9eac0-3078-43b2-9b37-1c1b1f8c9188\"\u003ePublished NBA Lineup 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\u003eWhat lineup sizes can I query?\u003c/h3\u003e\n\u003cp\u003eUse group_size from 2 to 5 players per lineup; omitting group_size defaults to 5-man lineups.\u003c/p\u003e\n\u003ch3\u003eWhich measure tables are supported?\u003c/h3\u003e\n\u003cp\u003emeasure_type accepts base (default), advanced, misc, scoring, usage, defense, fourfactors and opponent.\u003c/p\u003e\n\u003ch3\u003eHow do I sort lineup results by a specific metric?\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 lineups by quarter, half or home/road splits?\u003c/h3\u003e\n\u003cp\u003eYes. Supported split filters include location, outcome, period, game_segment, season_segment, month, last_n_games and date ranges.\u003c/p\u003e\n\u003ch3\u003eHow do I paginate large lineup tables?\u003c/h3\u003e\n\u003cp\u003eUse page (from 1) and limit (1 to 500, default 100), checking next_page and total in the response.\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-stats-tables-api\"\u003eNBA Player Stats API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-team-stats-tables-api\"\u003eNBA Team Stats 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-lineup-stats-api?offering=b8d9eac0-3078-43b2-9b37-1c1b1f8c9188","providerId":"apish","publicPath":"/v1/agent-apis/apish/nba/v1/stats/lineups","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","team":"LAL"}},"response_body":{"applied_filters":{"group_quantity":"5","measure_type":"Base","per_mode":"PerGame","season":"2025-26","season_type":"Regular Season","team_id":"1610612747"},"cached":false,"count":1,"credits_used":1,"fetched_at":"2026-11-19T12:22:32.089Z","next_page":2,"page":1,"rows":[{"ast":6,"ast_rank":7,"blk":3,"blk_rank":1,"blka":1,"blka_rank":570,"dreb":13,"dreb_rank":1,"fg3_a":8,"fg3_a_rank":3,"fg3_m":3,"fg3_m_rank":6,"fg3_pct":0.375,"fg3_pct_rank":216,"fg_pct":0.52,"fg_pct_rank":239,"fga":25,"fga_rank":1,"fgm":13,"fgm_rank":2,"ft_pct":0.857,"ft_pct_rank":165,"fta":7,"fta_rank":7,"ftm":6,"ftm_rank":5,"gp":1,"gp_rank":249,"group_id":"-2544-1628379-1629020-1629637-1642355-","group_name":"L. James - L. Kennard - J. Vanderbilt - J. Hayes - B. James","group_set":"Lineups","l":0,"l_rank":1,"min":13.9,"min_rank":1,"oreb":5,"oreb_rank":3,"pf":4,"pf_rank":623,"pfd":7,"pfd_rank":1,"plus_minus":12,"plus_minus_rank":2,"pts":35,"pts_rank":2,"reb":18,"reb_rank":1,"stl":2,"stl_rank":11,"sum_time_played":41800,"team_abbreviation":"LAL","team_id":1610612747,"tov":5,"tov_rank":636,"w":1,"w_pct":1,"w_pct_rank":1,"w_rank":167}],"total":641}}],"seoDescription":"Get NBA Lineup 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:40:35.287Z","usageInstructionsHtml":""}}