crawlora 1.53.1 → 1.53.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/openapi/public.json CHANGED
@@ -198655,6 +198655,38 @@
198655
198655
  },
198656
198656
  "type": "object"
198657
198657
  },
198658
+ "nba.CupStandingsResponse": {
198659
+ "properties": {
198660
+ "count": {
198661
+ "type": "integer"
198662
+ },
198663
+ "fetched_at": {
198664
+ "type": "string"
198665
+ },
198666
+ "league_id": {
198667
+ "type": "string"
198668
+ },
198669
+ "season_year": {
198670
+ "type": "string"
198671
+ },
198672
+ "source_url": {
198673
+ "type": "string"
198674
+ },
198675
+ "teams": {
198676
+ "items": {
198677
+ "$ref": "#/definitions/nba.Row"
198678
+ },
198679
+ "type": "array"
198680
+ },
198681
+ "time_stamp_utc": {
198682
+ "type": "string"
198683
+ },
198684
+ "unix_time_stamp": {
198685
+ "$ref": "#/definitions/nba.FlexInt"
198686
+ }
198687
+ },
198688
+ "type": "object"
198689
+ },
198658
198690
  "nba.DetailTeam": {
198659
198691
  "properties": {
198660
198692
  "periods": {
@@ -198680,6 +198712,12 @@
198680
198712
  },
198681
198713
  "type": "array"
198682
198714
  },
198715
+ "all_time_leaders_per_modes": {
198716
+ "items": {
198717
+ "type": "string"
198718
+ },
198719
+ "type": "array"
198720
+ },
198683
198721
  "blocked": {
198684
198722
  "items": {
198685
198723
  "type": "string"
@@ -198701,12 +198739,79 @@
198701
198739
  "game_date_format": {
198702
198740
  "type": "string"
198703
198741
  },
198742
+ "game_finder_conferences": {
198743
+ "items": {
198744
+ "type": "string"
198745
+ },
198746
+ "type": "array"
198747
+ },
198748
+ "game_finder_divisions": {
198749
+ "items": {
198750
+ "type": "string"
198751
+ },
198752
+ "type": "array"
198753
+ },
198754
+ "game_finder_outcomes": {
198755
+ "items": {
198756
+ "type": "string"
198757
+ },
198758
+ "type": "array"
198759
+ },
198760
+ "game_finder_player_or_team": {
198761
+ "items": {
198762
+ "type": "string"
198763
+ },
198764
+ "type": "array"
198765
+ },
198766
+ "game_finder_season_types": {
198767
+ "items": {
198768
+ "type": "string"
198769
+ },
198770
+ "type": "array"
198771
+ },
198772
+ "game_finder_threshold_stats": {
198773
+ "items": {
198774
+ "type": "string"
198775
+ },
198776
+ "type": "array"
198777
+ },
198704
198778
  "league_ids": {
198705
198779
  "items": {
198706
198780
  "type": "string"
198707
198781
  },
198708
198782
  "type": "array"
198709
198783
  },
198784
+ "league_leaders_active_flags": {
198785
+ "items": {
198786
+ "type": "string"
198787
+ },
198788
+ "type": "array"
198789
+ },
198790
+ "league_leaders_per_modes": {
198791
+ "items": {
198792
+ "type": "string"
198793
+ },
198794
+ "type": "array"
198795
+ },
198796
+ "league_leaders_scopes": {
198797
+ "items": {
198798
+ "type": "string"
198799
+ },
198800
+ "type": "array"
198801
+ },
198802
+ "league_leaders_season_types": {
198803
+ "items": {
198804
+ "type": "string"
198805
+ },
198806
+ "type": "array"
198807
+ },
198808
+ "league_leaders_stat_categories": {
198809
+ "description": "The 2026-11-28 round's per-route sets. These classes accept a different\nvalue space than the dashboard-wide sets above, so each is listed apart.",
198810
+ "items": {
198811
+ "type": "string"
198812
+ },
198813
+ "type": "array"
198814
+ },
198710
198815
  "measure_types": {
198711
198816
  "items": {
198712
198817
  "type": "string"
@@ -198952,6 +199057,123 @@
198952
199057
  },
198953
199058
  "type": "object"
198954
199059
  },
199060
+ "nba.MatchupDetail": {
199061
+ "properties": {
199062
+ "family_name": {
199063
+ "type": "string"
199064
+ },
199065
+ "first_name": {
199066
+ "type": "string"
199067
+ },
199068
+ "jersey_num": {
199069
+ "type": "string"
199070
+ },
199071
+ "name_initial": {
199072
+ "type": "string"
199073
+ },
199074
+ "person_id": {
199075
+ "$ref": "#/definitions/nba.FlexInt"
199076
+ },
199077
+ "player_slug": {
199078
+ "type": "string"
199079
+ },
199080
+ "statistics": {
199081
+ "additionalProperties": {},
199082
+ "type": "object"
199083
+ }
199084
+ },
199085
+ "type": "object"
199086
+ },
199087
+ "nba.MatchupsPlayer": {
199088
+ "properties": {
199089
+ "comment": {
199090
+ "type": "string"
199091
+ },
199092
+ "family_name": {
199093
+ "type": "string"
199094
+ },
199095
+ "first_name": {
199096
+ "type": "string"
199097
+ },
199098
+ "jersey_num": {
199099
+ "type": "string"
199100
+ },
199101
+ "matchups": {
199102
+ "items": {
199103
+ "$ref": "#/definitions/nba.MatchupDetail"
199104
+ },
199105
+ "type": "array"
199106
+ },
199107
+ "name_initial": {
199108
+ "type": "string"
199109
+ },
199110
+ "person_id": {
199111
+ "$ref": "#/definitions/nba.FlexInt"
199112
+ },
199113
+ "player_slug": {
199114
+ "type": "string"
199115
+ },
199116
+ "position": {
199117
+ "type": "string"
199118
+ }
199119
+ },
199120
+ "type": "object"
199121
+ },
199122
+ "nba.MatchupsResponse": {
199123
+ "properties": {
199124
+ "away_team": {
199125
+ "$ref": "#/definitions/nba.MatchupsTeam"
199126
+ },
199127
+ "away_team_id": {
199128
+ "$ref": "#/definitions/nba.FlexInt"
199129
+ },
199130
+ "count": {
199131
+ "type": "integer"
199132
+ },
199133
+ "fetched_at": {
199134
+ "type": "string"
199135
+ },
199136
+ "game_id": {
199137
+ "type": "string"
199138
+ },
199139
+ "home_team": {
199140
+ "$ref": "#/definitions/nba.MatchupsTeam"
199141
+ },
199142
+ "home_team_id": {
199143
+ "$ref": "#/definitions/nba.FlexInt"
199144
+ },
199145
+ "source_url": {
199146
+ "type": "string"
199147
+ }
199148
+ },
199149
+ "type": "object"
199150
+ },
199151
+ "nba.MatchupsTeam": {
199152
+ "properties": {
199153
+ "players": {
199154
+ "items": {
199155
+ "$ref": "#/definitions/nba.MatchupsPlayer"
199156
+ },
199157
+ "type": "array"
199158
+ },
199159
+ "team_city": {
199160
+ "type": "string"
199161
+ },
199162
+ "team_id": {
199163
+ "$ref": "#/definitions/nba.FlexInt"
199164
+ },
199165
+ "team_name": {
199166
+ "type": "string"
199167
+ },
199168
+ "team_slug": {
199169
+ "type": "string"
199170
+ },
199171
+ "team_tricode": {
199172
+ "type": "string"
199173
+ }
199174
+ },
199175
+ "type": "object"
199176
+ },
198955
199177
  "nba.NewsResponse": {
198956
199178
  "properties": {
198957
199179
  "articles": {
@@ -587019,22 +587241,14 @@
587019
587241
  ]
587020
587242
  }
587021
587243
  },
587022
- "/nba/box-score": {
587244
+ "/nba/all-time-leaders": {
587023
587245
  "get": {
587024
587246
  "consumes": [
587025
587247
  "application/json"
587026
587248
  ],
587027
- "description": "Returns the traditional box score for one game: both teams and, per team, one row per player with player id, name, jersey number, position, starter flag, minutes, points, rebounds, assists and field goals made. The player ids are the source's stable player identity used by the player-statistics routes.",
587028
- "operationId": "nba-box-score",
587249
+ "description": "Returns the all-time leaders for nineteen statistics at once: one table per statistic (GPLeaders, PTSLeaders, ASTLeaders, STLLeaders, OREBLeaders, DREBLeaders, REBLeaders, BLKLeaders, FGMLeaders, FGALeaders, FG_PCTLeaders, TOVLeaders, FG3MLeaders, FG3ALeaders, FG3_PCTLeaders, PFLeaders, FTMLeaders, FTALeaders and FT_PCTLeaders), each row carrying PLAYER_ID, PLAYER_NAME, the statistic, its rank and IS_ACTIVE_FLAG. top_x sets how many players each table lists.",
587250
+ "operationId": "nba-all-time-leaders",
587029
587251
  "parameters": [
587030
- {
587031
- "description": "Ten-digit game id from nba-scoreboard",
587032
- "in": "query",
587033
- "name": "game_id",
587034
- "required": true,
587035
- "type": "string",
587036
- "x-example": "0022600196"
587037
- },
587038
587252
  {
587039
587253
  "description": "League id; only 00 (NBA) is verified",
587040
587254
  "enum": [
@@ -587046,18 +587260,37 @@
587046
587260
  "x-example": "00"
587047
587261
  },
587048
587262
  {
587049
- "description": "First period to include, 0 to 14; 0 means from the start example(0)",
587263
+ "description": "Aggregation; defaults to PerGame",
587264
+ "enum": [
587265
+ "PerGame",
587266
+ "Totals"
587267
+ ],
587050
587268
  "in": "query",
587051
- "name": "start_period",
587052
- "type": "integer",
587053
- "x-example": 0
587269
+ "name": "per_mode",
587270
+ "type": "string",
587271
+ "x-example": "Totals"
587054
587272
  },
587055
587273
  {
587056
- "description": "Last period to include, 0 to 14; 0 means through the end example(14)",
587274
+ "description": "Season type",
587275
+ "enum": [
587276
+ "Regular Season",
587277
+ "Playoffs",
587278
+ "Pre Season",
587279
+ "All Star"
587280
+ ],
587057
587281
  "in": "query",
587058
- "name": "end_period",
587282
+ "name": "season_type",
587283
+ "type": "string",
587284
+ "x-example": "Regular Season"
587285
+ },
587286
+ {
587287
+ "description": "Players per statistic, 1 to 5000; defaults to 10",
587288
+ "in": "query",
587289
+ "maximum": 5000,
587290
+ "minimum": 1,
587291
+ "name": "top_x",
587059
587292
  "type": "integer",
587060
- "x-example": 14
587293
+ "x-example": 10
587061
587294
  }
587062
587295
  ],
587063
587296
  "produces": [
@@ -587074,7 +587307,7 @@
587074
587307
  {
587075
587308
  "properties": {
587076
587309
  "data": {
587077
- "$ref": "#/definitions/nba.BoxScoreResponse"
587310
+ "$ref": "#/definitions/nba.TablesResponse"
587078
587311
  }
587079
587312
  },
587080
587313
  "type": "object"
@@ -587112,19 +587345,19 @@
587112
587345
  "ApiKeyAuth": []
587113
587346
  }
587114
587347
  ],
587115
- "summary": "NBA traditional box score for one game",
587348
+ "summary": "NBA all-time leader grids",
587116
587349
  "tags": [
587117
587350
  "NBA"
587118
587351
  ]
587119
587352
  }
587120
587353
  },
587121
- "/nba/box-score-advanced": {
587354
+ "/nba/box-score": {
587122
587355
  "get": {
587123
587356
  "consumes": [
587124
587357
  "application/json"
587125
587358
  ],
587126
- "description": "Returns the advanced box score for one game: each team's per-player rows with the upstream's own advanced statistics keyed by their source names. Verified statistic keys include netRating, pace and pie; the upstream sends a larger key set (offensive/defensive rating and the percentage family use long names such as offensiveRating and effectiveFieldGoalPercentage) and every key is passed through unchanged rather than projected onto a guessed struct.",
587127
- "operationId": "nba-box-score-advanced",
587359
+ "description": "Returns the traditional box score for one game: both teams and, per team, one row per player with player id, name, jersey number, position, starter flag, minutes, points, rebounds, assists and field goals made. The player ids are the source's stable player identity used by the player-statistics routes.",
587360
+ "operationId": "nba-box-score",
587128
587361
  "parameters": [
587129
587362
  {
587130
587363
  "description": "Ten-digit game id from nba-scoreboard",
@@ -587145,14 +587378,14 @@
587145
587378
  "x-example": "00"
587146
587379
  },
587147
587380
  {
587148
- "description": "First period to include, 0 to 14; 0 means from the start",
587381
+ "description": "First period to include, 0 to 14; 0 means from the start example(0)",
587149
587382
  "in": "query",
587150
587383
  "name": "start_period",
587151
587384
  "type": "integer",
587152
587385
  "x-example": 0
587153
587386
  },
587154
587387
  {
587155
- "description": "Last period to include, 0 to 14; 0 means through the end",
587388
+ "description": "Last period to include, 0 to 14; 0 means through the end example(14)",
587156
587389
  "in": "query",
587157
587390
  "name": "end_period",
587158
587391
  "type": "integer",
@@ -587173,7 +587406,7 @@
587173
587406
  {
587174
587407
  "properties": {
587175
587408
  "data": {
587176
- "$ref": "#/definitions/nba.BoxScoreStatsResponse"
587409
+ "$ref": "#/definitions/nba.BoxScoreResponse"
587177
587410
  }
587178
587411
  },
587179
587412
  "type": "object"
@@ -587211,19 +587444,118 @@
587211
587444
  "ApiKeyAuth": []
587212
587445
  }
587213
587446
  ],
587214
- "summary": "NBA advanced box score for one game",
587447
+ "summary": "NBA traditional box score for one game",
587215
587448
  "tags": [
587216
587449
  "NBA"
587217
587450
  ]
587218
587451
  }
587219
587452
  },
587220
- "/nba/box-score-defensive": {
587453
+ "/nba/box-score-advanced": {
587221
587454
  "get": {
587222
587455
  "consumes": [
587223
587456
  "application/json"
587224
587457
  ],
587225
- "description": "Returns the v2 defensive box score for one game: each team's per-player rows with the upstream's defensive statistics keyed by their source names, in the same shape as the other v3 box-score flavors.",
587226
- "operationId": "nba-box-score-defensive",
587458
+ "description": "Returns the advanced box score for one game: each team's per-player rows with the upstream's own advanced statistics keyed by their source names. Verified statistic keys include netRating, pace and pie; the upstream sends a larger key set (offensive/defensive rating and the percentage family use long names such as offensiveRating and effectiveFieldGoalPercentage) and every key is passed through unchanged rather than projected onto a guessed struct.",
587459
+ "operationId": "nba-box-score-advanced",
587460
+ "parameters": [
587461
+ {
587462
+ "description": "Ten-digit game id from nba-scoreboard",
587463
+ "in": "query",
587464
+ "name": "game_id",
587465
+ "required": true,
587466
+ "type": "string",
587467
+ "x-example": "0022600196"
587468
+ },
587469
+ {
587470
+ "description": "League id; only 00 (NBA) is verified",
587471
+ "enum": [
587472
+ "00"
587473
+ ],
587474
+ "in": "query",
587475
+ "name": "league_id",
587476
+ "type": "string",
587477
+ "x-example": "00"
587478
+ },
587479
+ {
587480
+ "description": "First period to include, 0 to 14; 0 means from the start",
587481
+ "in": "query",
587482
+ "name": "start_period",
587483
+ "type": "integer",
587484
+ "x-example": 0
587485
+ },
587486
+ {
587487
+ "description": "Last period to include, 0 to 14; 0 means through the end",
587488
+ "in": "query",
587489
+ "name": "end_period",
587490
+ "type": "integer",
587491
+ "x-example": 14
587492
+ }
587493
+ ],
587494
+ "produces": [
587495
+ "application/json"
587496
+ ],
587497
+ "responses": {
587498
+ "200": {
587499
+ "description": "OK",
587500
+ "schema": {
587501
+ "allOf": [
587502
+ {
587503
+ "$ref": "#/definitions/app.Response"
587504
+ },
587505
+ {
587506
+ "properties": {
587507
+ "data": {
587508
+ "$ref": "#/definitions/nba.BoxScoreStatsResponse"
587509
+ }
587510
+ },
587511
+ "type": "object"
587512
+ }
587513
+ ]
587514
+ }
587515
+ },
587516
+ "400": {
587517
+ "description": "Bad Request",
587518
+ "schema": {
587519
+ "$ref": "#/definitions/app.Response"
587520
+ }
587521
+ },
587522
+ "404": {
587523
+ "description": "Not Found",
587524
+ "schema": {
587525
+ "$ref": "#/definitions/app.Response"
587526
+ }
587527
+ },
587528
+ "429": {
587529
+ "description": "Too Many Requests",
587530
+ "schema": {
587531
+ "$ref": "#/definitions/app.Response"
587532
+ }
587533
+ },
587534
+ "503": {
587535
+ "description": "Service Unavailable",
587536
+ "schema": {
587537
+ "$ref": "#/definitions/app.Response"
587538
+ }
587539
+ }
587540
+ },
587541
+ "security": [
587542
+ {
587543
+ "ApiKeyAuth": []
587544
+ }
587545
+ ],
587546
+ "summary": "NBA advanced box score for one game",
587547
+ "tags": [
587548
+ "NBA"
587549
+ ]
587550
+ }
587551
+ },
587552
+ "/nba/box-score-defensive": {
587553
+ "get": {
587554
+ "consumes": [
587555
+ "application/json"
587556
+ ],
587557
+ "description": "Returns the v2 defensive box score for one game: each team's per-player rows with the upstream's defensive statistics keyed by their source names, in the same shape as the other v3 box-score flavors.",
587558
+ "operationId": "nba-box-score-defensive",
587227
587559
  "parameters": [
587228
587560
  {
587229
587561
  "description": "Ten-digit game id from nba-scoreboard",
@@ -587391,6 +587723,81 @@
587391
587723
  ]
587392
587724
  }
587393
587725
  },
587726
+ "/nba/box-score-matchups": {
587727
+ "get": {
587728
+ "consumes": [
587729
+ "application/json"
587730
+ ],
587731
+ "description": "Returns the tracked defensive matchups for one game. For each team, every offensive player lists the defenders who guarded him, and each pairing carries the source's own statistics keys: matchupMinutes, matchupMinutesSort, partialPossessions, percentageDefenderTotalTime, percentageOffensiveTotalTime, percentageTotalTimeBothOn, switchesOn, playerPoints, teamPoints, matchupAssists, matchupPotentialAssists, matchupTurnovers, matchupBlocks, the matchup field-goal, three-point and free-throw counts and percentages, helpBlocks, the help field-goal counts and shootingFouls. The upstream ignores period filters on this class, so the whole game is always returned.",
587732
+ "operationId": "nba-box-score-matchups",
587733
+ "parameters": [
587734
+ {
587735
+ "description": "Ten-digit game id from nba-scoreboard or nba-game-finder",
587736
+ "in": "query",
587737
+ "name": "game_id",
587738
+ "required": true,
587739
+ "type": "string",
587740
+ "x-example": "0022600196"
587741
+ }
587742
+ ],
587743
+ "produces": [
587744
+ "application/json"
587745
+ ],
587746
+ "responses": {
587747
+ "200": {
587748
+ "description": "OK",
587749
+ "schema": {
587750
+ "allOf": [
587751
+ {
587752
+ "$ref": "#/definitions/app.Response"
587753
+ },
587754
+ {
587755
+ "properties": {
587756
+ "data": {
587757
+ "$ref": "#/definitions/nba.MatchupsResponse"
587758
+ }
587759
+ },
587760
+ "type": "object"
587761
+ }
587762
+ ]
587763
+ }
587764
+ },
587765
+ "400": {
587766
+ "description": "Bad Request",
587767
+ "schema": {
587768
+ "$ref": "#/definitions/app.Response"
587769
+ }
587770
+ },
587771
+ "404": {
587772
+ "description": "Not Found",
587773
+ "schema": {
587774
+ "$ref": "#/definitions/app.Response"
587775
+ }
587776
+ },
587777
+ "429": {
587778
+ "description": "Too Many Requests",
587779
+ "schema": {
587780
+ "$ref": "#/definitions/app.Response"
587781
+ }
587782
+ },
587783
+ "503": {
587784
+ "description": "Service Unavailable",
587785
+ "schema": {
587786
+ "$ref": "#/definitions/app.Response"
587787
+ }
587788
+ }
587789
+ },
587790
+ "security": [
587791
+ {
587792
+ "ApiKeyAuth": []
587793
+ }
587794
+ ],
587795
+ "summary": "NBA player-versus-player defensive matchups for one game",
587796
+ "tags": [
587797
+ "NBA"
587798
+ ]
587799
+ }
587800
+ },
587394
587801
  "/nba/box-score-misc": {
587395
587802
  "get": {
587396
587803
  "consumes": [
@@ -587928,6 +588335,90 @@
587928
588335
  ]
587929
588336
  }
587930
588337
  },
588338
+ "/nba/cup-standings": {
588339
+ "get": {
588340
+ "consumes": [
588341
+ "application/json"
588342
+ ],
588343
+ "description": "Returns the NBA Cup standings for one season: every team with its conference, Cup group, clinch indicator and flags (clinchedIstKnockout, clinchedIstGroup, clinchedIstWildcard), group, wildcard and knockout ranks, wins, losses, pct, games behind, point differential, points for and against, and its Cup games with opponent, location, status and outcome. Team rows keep the source's own keys. The first Cup season was 2023-24.",
588344
+ "operationId": "nba-cup-standings",
588345
+ "parameters": [
588346
+ {
588347
+ "description": "League id; only 00 (NBA) is verified",
588348
+ "enum": [
588349
+ "00"
588350
+ ],
588351
+ "in": "query",
588352
+ "name": "league_id",
588353
+ "type": "string",
588354
+ "x-example": "00"
588355
+ },
588356
+ {
588357
+ "description": "Season in YYYY-YY form from 2023-24 on; defaults to the current season",
588358
+ "in": "query",
588359
+ "name": "season",
588360
+ "type": "string",
588361
+ "x-example": "2025-26"
588362
+ }
588363
+ ],
588364
+ "produces": [
588365
+ "application/json"
588366
+ ],
588367
+ "responses": {
588368
+ "200": {
588369
+ "description": "OK",
588370
+ "schema": {
588371
+ "allOf": [
588372
+ {
588373
+ "$ref": "#/definitions/app.Response"
588374
+ },
588375
+ {
588376
+ "properties": {
588377
+ "data": {
588378
+ "$ref": "#/definitions/nba.CupStandingsResponse"
588379
+ }
588380
+ },
588381
+ "type": "object"
588382
+ }
588383
+ ]
588384
+ }
588385
+ },
588386
+ "400": {
588387
+ "description": "Bad Request",
588388
+ "schema": {
588389
+ "$ref": "#/definitions/app.Response"
588390
+ }
588391
+ },
588392
+ "404": {
588393
+ "description": "Not Found",
588394
+ "schema": {
588395
+ "$ref": "#/definitions/app.Response"
588396
+ }
588397
+ },
588398
+ "429": {
588399
+ "description": "Too Many Requests",
588400
+ "schema": {
588401
+ "$ref": "#/definitions/app.Response"
588402
+ }
588403
+ },
588404
+ "503": {
588405
+ "description": "Service Unavailable",
588406
+ "schema": {
588407
+ "$ref": "#/definitions/app.Response"
588408
+ }
588409
+ }
588410
+ },
588411
+ "security": [
588412
+ {
588413
+ "ApiKeyAuth": []
588414
+ }
588415
+ ],
588416
+ "summary": "NBA Cup (in-season tournament) standings",
588417
+ "tags": [
588418
+ "NBA"
588419
+ ]
588420
+ }
588421
+ },
587931
588422
  "/nba/draft-combine-anthro": {
587932
588423
  "get": {
587933
588424
  "consumes": [
@@ -588007,67 +588498,1148 @@
588007
588498
  "ApiKeyAuth": []
588008
588499
  }
588009
588500
  ],
588010
- "summary": "NBA draft combine anthropometric measurements",
588011
- "tags": [
588012
- "NBA"
588013
- ]
588014
- }
588015
- },
588016
- "/nba/enums": {
588017
- "get": {
588018
- "consumes": [
588019
- "application/json"
588020
- ],
588021
- "description": "Returns the complete pinned request-enum inventory the NBA routes validate locally: league ids, season types (all four upstream values, including Pre Season and All Star), measure types, per modes, leader stat categories, the leaderboard scope, the game-date and season formats, and the values deliberately blocked because they are not verified. The upstream exposes no value-listing endpoint and answers an invalid enum with a bare HTTP 500, so these values are pinned from measured live acceptance and covered by exact-set tests. No upstream call is made.",
588022
- "operationId": "nba-enums",
588023
- "produces": [
588024
- "application/json"
588025
- ],
588026
- "responses": {
588027
- "200": {
588028
- "description": "OK",
588029
- "schema": {
588030
- "allOf": [
588031
- {
588032
- "$ref": "#/definitions/app.Response"
588033
- },
588034
- {
588035
- "properties": {
588036
- "data": {
588037
- "$ref": "#/definitions/nba.EnumsResponse"
588038
- }
588039
- },
588040
- "type": "object"
588041
- }
588042
- ]
588043
- }
588044
- },
588045
- "503": {
588046
- "description": "Service Unavailable",
588047
- "schema": {
588048
- "$ref": "#/definitions/app.Response"
588049
- }
588050
- }
588051
- },
588052
- "security": [
588053
- {
588054
- "ApiKeyAuth": []
588055
- }
588056
- ],
588057
- "summary": "List the pinned NBA request enum values",
588501
+ "summary": "NBA draft combine anthropometric measurements",
588502
+ "tags": [
588503
+ "NBA"
588504
+ ]
588505
+ }
588506
+ },
588507
+ "/nba/draft-combine-drills": {
588508
+ "get": {
588509
+ "consumes": [
588510
+ "application/json"
588511
+ ],
588512
+ "description": "Returns the draft combine drill results for one draft class: one row per prospect with TEMP_PLAYER_ID, PLAYER_ID, FIRST_NAME, LAST_NAME, PLAYER_NAME, POSITION, STANDING_VERTICAL_LEAP, MAX_VERTICAL_LEAP, LANE_AGILITY_TIME, MODIFIED_LANE_AGILITY_TIME, THREE_QUARTER_SPRINT and BENCH_PRESS. A prospect who skipped a drill has a null value.",
588513
+ "operationId": "nba-draft-combine-drills",
588514
+ "parameters": [
588515
+ {
588516
+ "description": "Four-digit draft year",
588517
+ "in": "query",
588518
+ "name": "season_year",
588519
+ "required": true,
588520
+ "type": "string",
588521
+ "x-example": "2025"
588522
+ },
588523
+ {
588524
+ "description": "League id; only 00 (NBA) is verified",
588525
+ "enum": [
588526
+ "00"
588527
+ ],
588528
+ "in": "query",
588529
+ "name": "league_id",
588530
+ "type": "string",
588531
+ "x-example": "00"
588532
+ }
588533
+ ],
588534
+ "produces": [
588535
+ "application/json"
588536
+ ],
588537
+ "responses": {
588538
+ "200": {
588539
+ "description": "OK",
588540
+ "schema": {
588541
+ "allOf": [
588542
+ {
588543
+ "$ref": "#/definitions/app.Response"
588544
+ },
588545
+ {
588546
+ "properties": {
588547
+ "data": {
588548
+ "$ref": "#/definitions/nba.TablesResponse"
588549
+ }
588550
+ },
588551
+ "type": "object"
588552
+ }
588553
+ ]
588554
+ }
588555
+ },
588556
+ "400": {
588557
+ "description": "Bad Request",
588558
+ "schema": {
588559
+ "$ref": "#/definitions/app.Response"
588560
+ }
588561
+ },
588562
+ "404": {
588563
+ "description": "Not Found",
588564
+ "schema": {
588565
+ "$ref": "#/definitions/app.Response"
588566
+ }
588567
+ },
588568
+ "429": {
588569
+ "description": "Too Many Requests",
588570
+ "schema": {
588571
+ "$ref": "#/definitions/app.Response"
588572
+ }
588573
+ },
588574
+ "503": {
588575
+ "description": "Service Unavailable",
588576
+ "schema": {
588577
+ "$ref": "#/definitions/app.Response"
588578
+ }
588579
+ }
588580
+ },
588581
+ "security": [
588582
+ {
588583
+ "ApiKeyAuth": []
588584
+ }
588585
+ ],
588586
+ "summary": "NBA draft combine strength and agility drills",
588587
+ "tags": [
588588
+ "NBA"
588589
+ ]
588590
+ }
588591
+ },
588592
+ "/nba/draft-combine-spot-shooting": {
588593
+ "get": {
588594
+ "consumes": [
588595
+ "application/json"
588596
+ ],
588597
+ "description": "Returns the draft combine shooting results for one draft class: one row per prospect with TEMP_PLAYER_ID, PLAYER_ID, FIRST_NAME, LAST_NAME, PLAYER_NAME and POSITION, then made, attempted and percentage columns for each court spot (corner left, break left, top of the key, break right, corner right) at fifteen-foot, college and NBA range, for example FIFTEEN_CORNER_LEFT_MADE, COLLEGE_TOP_KEY_MADE and NBA_BREAK_RIGHT_MADE, followed by the off-dribble and on-the-move drill columns. Columns keep the source's own names.",
588598
+ "operationId": "nba-draft-combine-spot-shooting",
588599
+ "parameters": [
588600
+ {
588601
+ "description": "Four-digit draft year",
588602
+ "in": "query",
588603
+ "name": "season_year",
588604
+ "required": true,
588605
+ "type": "string",
588606
+ "x-example": "2025"
588607
+ },
588608
+ {
588609
+ "description": "League id; only 00 (NBA) is verified",
588610
+ "enum": [
588611
+ "00"
588612
+ ],
588613
+ "in": "query",
588614
+ "name": "league_id",
588615
+ "type": "string",
588616
+ "x-example": "00"
588617
+ }
588618
+ ],
588619
+ "produces": [
588620
+ "application/json"
588621
+ ],
588622
+ "responses": {
588623
+ "200": {
588624
+ "description": "OK",
588625
+ "schema": {
588626
+ "allOf": [
588627
+ {
588628
+ "$ref": "#/definitions/app.Response"
588629
+ },
588630
+ {
588631
+ "properties": {
588632
+ "data": {
588633
+ "$ref": "#/definitions/nba.TablesResponse"
588634
+ }
588635
+ },
588636
+ "type": "object"
588637
+ }
588638
+ ]
588639
+ }
588640
+ },
588641
+ "400": {
588642
+ "description": "Bad Request",
588643
+ "schema": {
588644
+ "$ref": "#/definitions/app.Response"
588645
+ }
588646
+ },
588647
+ "404": {
588648
+ "description": "Not Found",
588649
+ "schema": {
588650
+ "$ref": "#/definitions/app.Response"
588651
+ }
588652
+ },
588653
+ "429": {
588654
+ "description": "Too Many Requests",
588655
+ "schema": {
588656
+ "$ref": "#/definitions/app.Response"
588657
+ }
588658
+ },
588659
+ "503": {
588660
+ "description": "Service Unavailable",
588661
+ "schema": {
588662
+ "$ref": "#/definitions/app.Response"
588663
+ }
588664
+ }
588665
+ },
588666
+ "security": [
588667
+ {
588668
+ "ApiKeyAuth": []
588669
+ }
588670
+ ],
588671
+ "summary": "NBA draft combine spot shooting",
588672
+ "tags": [
588673
+ "NBA"
588674
+ ]
588675
+ }
588676
+ },
588677
+ "/nba/draft-history": {
588678
+ "get": {
588679
+ "consumes": [
588680
+ "application/json"
588681
+ ],
588682
+ "description": "Returns draft picks, one row per pick, with PERSON_ID, PLAYER_NAME, SEASON, ROUND_NUMBER, ROUND_PICK, OVERALL_PICK, DRAFT_TYPE, the drafting team (TEAM_ID, TEAM_CITY, TEAM_NAME, TEAM_ABBREVIATION), the player's ORGANIZATION and ORGANIZATION_TYPE, and PLAYER_PROFILE_FLAG. Omit season to list every draft since 1947; each optional filter narrows the list.",
588683
+ "operationId": "nba-draft-history",
588684
+ "parameters": [
588685
+ {
588686
+ "description": "League id; only 00 (NBA) is verified",
588687
+ "enum": [
588688
+ "00"
588689
+ ],
588690
+ "in": "query",
588691
+ "name": "league_id",
588692
+ "type": "string",
588693
+ "x-example": "00"
588694
+ },
588695
+ {
588696
+ "description": "Four-digit draft year; omit for every draft",
588697
+ "in": "query",
588698
+ "name": "season",
588699
+ "type": "string",
588700
+ "x-example": "2025"
588701
+ },
588702
+ {
588703
+ "description": "Keeps the picks one team made; from nba-standings",
588704
+ "in": "query",
588705
+ "name": "team_id",
588706
+ "type": "integer",
588707
+ "x-example": 1610612747
588708
+ },
588709
+ {
588710
+ "description": "Draft round, 1 to 10",
588711
+ "in": "query",
588712
+ "maximum": 10,
588713
+ "minimum": 1,
588714
+ "name": "round_num",
588715
+ "type": "integer",
588716
+ "x-example": 1
588717
+ },
588718
+ {
588719
+ "description": "Pick number within the round, 1 to 300",
588720
+ "in": "query",
588721
+ "maximum": 300,
588722
+ "minimum": 1,
588723
+ "name": "round_pick",
588724
+ "type": "integer",
588725
+ "x-example": 1
588726
+ },
588727
+ {
588728
+ "description": "Overall pick number, 1 to 300",
588729
+ "in": "query",
588730
+ "maximum": 300,
588731
+ "minimum": 1,
588732
+ "name": "overall_pick",
588733
+ "type": "integer",
588734
+ "x-example": 1
588735
+ },
588736
+ {
588737
+ "description": "Keeps the first N overall picks of each draft, 1 to 1000",
588738
+ "in": "query",
588739
+ "maximum": 1000,
588740
+ "minimum": 1,
588741
+ "name": "top_x",
588742
+ "type": "integer",
588743
+ "x-example": 5
588744
+ },
588745
+ {
588746
+ "description": "Organization name exactly as the source spells it",
588747
+ "in": "query",
588748
+ "name": "college",
588749
+ "type": "string",
588750
+ "x-example": "Duke"
588751
+ }
588752
+ ],
588753
+ "produces": [
588754
+ "application/json"
588755
+ ],
588756
+ "responses": {
588757
+ "200": {
588758
+ "description": "OK",
588759
+ "schema": {
588760
+ "allOf": [
588761
+ {
588762
+ "$ref": "#/definitions/app.Response"
588763
+ },
588764
+ {
588765
+ "properties": {
588766
+ "data": {
588767
+ "$ref": "#/definitions/nba.TablesResponse"
588768
+ }
588769
+ },
588770
+ "type": "object"
588771
+ }
588772
+ ]
588773
+ }
588774
+ },
588775
+ "400": {
588776
+ "description": "Bad Request",
588777
+ "schema": {
588778
+ "$ref": "#/definitions/app.Response"
588779
+ }
588780
+ },
588781
+ "404": {
588782
+ "description": "Not Found",
588783
+ "schema": {
588784
+ "$ref": "#/definitions/app.Response"
588785
+ }
588786
+ },
588787
+ "429": {
588788
+ "description": "Too Many Requests",
588789
+ "schema": {
588790
+ "$ref": "#/definitions/app.Response"
588791
+ }
588792
+ },
588793
+ "503": {
588794
+ "description": "Service Unavailable",
588795
+ "schema": {
588796
+ "$ref": "#/definitions/app.Response"
588797
+ }
588798
+ }
588799
+ },
588800
+ "security": [
588801
+ {
588802
+ "ApiKeyAuth": []
588803
+ }
588804
+ ],
588805
+ "summary": "NBA draft history",
588806
+ "tags": [
588807
+ "NBA"
588808
+ ]
588809
+ }
588810
+ },
588811
+ "/nba/enums": {
588812
+ "get": {
588813
+ "consumes": [
588814
+ "application/json"
588815
+ ],
588816
+ "description": "Returns the complete pinned request-enum inventory the NBA routes validate locally: league ids, season types (all four upstream values, including Pre Season and All Star), measure types, per modes, leader stat categories, the leaderboard scope, the game-date and season formats, and the values deliberately blocked because they are not verified. The upstream exposes no value-listing endpoint and answers an invalid enum with a bare HTTP 500, so these values are pinned from measured live acceptance and covered by exact-set tests. No upstream call is made.",
588817
+ "operationId": "nba-enums",
588818
+ "produces": [
588819
+ "application/json"
588820
+ ],
588821
+ "responses": {
588822
+ "200": {
588823
+ "description": "OK",
588824
+ "schema": {
588825
+ "allOf": [
588826
+ {
588827
+ "$ref": "#/definitions/app.Response"
588828
+ },
588829
+ {
588830
+ "properties": {
588831
+ "data": {
588832
+ "$ref": "#/definitions/nba.EnumsResponse"
588833
+ }
588834
+ },
588835
+ "type": "object"
588836
+ }
588837
+ ]
588838
+ }
588839
+ },
588840
+ "503": {
588841
+ "description": "Service Unavailable",
588842
+ "schema": {
588843
+ "$ref": "#/definitions/app.Response"
588844
+ }
588845
+ }
588846
+ },
588847
+ "security": [
588848
+ {
588849
+ "ApiKeyAuth": []
588850
+ }
588851
+ ],
588852
+ "summary": "List the pinned NBA request enum values",
588853
+ "tags": [
588854
+ "NBA"
588855
+ ]
588856
+ }
588857
+ },
588858
+ "/nba/franchise-history": {
588859
+ "get": {
588860
+ "consumes": [
588861
+ "application/json"
588862
+ ],
588863
+ "description": "Returns every franchise's history as two tables: FranchiseHistory for active franchises and DefunctTeams for the ones that no longer play. Verified columns are TEAM_ID, TEAM_NAME, START_YEAR, END_YEAR, YEARS and GAMES. The table is league-wide and needs no team id; pass team_id only to narrow it.",
588864
+ "operationId": "nba-franchise-history",
588865
+ "parameters": [
588866
+ {
588867
+ "description": "League id; only 00 (NBA) is verified",
588868
+ "enum": [
588869
+ "00"
588870
+ ],
588871
+ "in": "query",
588872
+ "name": "league_id",
588873
+ "type": "string",
588874
+ "x-example": "00"
588875
+ },
588876
+ {
588877
+ "description": "Optional team id from nba-standings; narrows the history to that franchise",
588878
+ "in": "query",
588879
+ "name": "team_id",
588880
+ "type": "integer",
588881
+ "x-example": 1610612741
588882
+ }
588883
+ ],
588884
+ "produces": [
588885
+ "application/json"
588886
+ ],
588887
+ "responses": {
588888
+ "200": {
588889
+ "description": "OK",
588890
+ "schema": {
588891
+ "allOf": [
588892
+ {
588893
+ "$ref": "#/definitions/app.Response"
588894
+ },
588895
+ {
588896
+ "properties": {
588897
+ "data": {
588898
+ "$ref": "#/definitions/nba.TablesResponse"
588899
+ }
588900
+ },
588901
+ "type": "object"
588902
+ }
588903
+ ]
588904
+ }
588905
+ },
588906
+ "400": {
588907
+ "description": "Bad Request",
588908
+ "schema": {
588909
+ "$ref": "#/definitions/app.Response"
588910
+ }
588911
+ },
588912
+ "404": {
588913
+ "description": "Not Found",
588914
+ "schema": {
588915
+ "$ref": "#/definitions/app.Response"
588916
+ }
588917
+ },
588918
+ "429": {
588919
+ "description": "Too Many Requests",
588920
+ "schema": {
588921
+ "$ref": "#/definitions/app.Response"
588922
+ }
588923
+ },
588924
+ "503": {
588925
+ "description": "Service Unavailable",
588926
+ "schema": {
588927
+ "$ref": "#/definitions/app.Response"
588928
+ }
588929
+ }
588930
+ },
588931
+ "security": [
588932
+ {
588933
+ "ApiKeyAuth": []
588934
+ }
588935
+ ],
588936
+ "summary": "NBA franchise history, including defunct teams",
588937
+ "tags": [
588938
+ "NBA"
588939
+ ]
588940
+ }
588941
+ },
588942
+ "/nba/game-detail": {
588943
+ "get": {
588944
+ "consumes": [
588945
+ "application/json"
588946
+ ],
588947
+ "description": "Returns one game's summary detail from nba.com's game page, read from the page's embedded JSON state: status and clock, game duration, attendance and sellout flag, venue id, name, city, state, country and timezone, the officiating crew with names and jersey numbers, series text, and each team's per-period scoring with a derived game total. Use nba-box-score for per-player statistics; this route is the game-level summary the box score does not carry.",
588948
+ "operationId": "nba-game-detail",
588949
+ "parameters": [
588950
+ {
588951
+ "description": "Ten-digit game id from nba-scoreboard",
588952
+ "in": "query",
588953
+ "name": "game_id",
588954
+ "required": true,
588955
+ "type": "string",
588956
+ "x-example": "0022600196"
588957
+ }
588958
+ ],
588959
+ "produces": [
588960
+ "application/json"
588961
+ ],
588962
+ "responses": {
588963
+ "200": {
588964
+ "description": "OK",
588965
+ "schema": {
588966
+ "allOf": [
588967
+ {
588968
+ "$ref": "#/definitions/app.Response"
588969
+ },
588970
+ {
588971
+ "properties": {
588972
+ "data": {
588973
+ "$ref": "#/definitions/nba.GameDetailResponse"
588974
+ }
588975
+ },
588976
+ "type": "object"
588977
+ }
588978
+ ]
588979
+ }
588980
+ },
588981
+ "400": {
588982
+ "description": "Bad Request",
588983
+ "schema": {
588984
+ "$ref": "#/definitions/app.Response"
588985
+ }
588986
+ },
588987
+ "404": {
588988
+ "description": "Not Found",
588989
+ "schema": {
588990
+ "$ref": "#/definitions/app.Response"
588991
+ }
588992
+ },
588993
+ "429": {
588994
+ "description": "Too Many Requests",
588995
+ "schema": {
588996
+ "$ref": "#/definitions/app.Response"
588997
+ }
588998
+ },
588999
+ "503": {
589000
+ "description": "Service Unavailable",
589001
+ "schema": {
589002
+ "$ref": "#/definitions/app.Response"
589003
+ }
589004
+ }
589005
+ },
589006
+ "security": [
589007
+ {
589008
+ "ApiKeyAuth": []
589009
+ }
589010
+ ],
589011
+ "summary": "NBA game summary detail from nba.com",
589012
+ "tags": [
589013
+ "NBA"
589014
+ ]
589015
+ }
589016
+ },
589017
+ "/nba/game-finder": {
589018
+ "get": {
589019
+ "consumes": [
589020
+ "application/json"
589021
+ ],
589022
+ "description": "Searches NBA games and returns one row per team-game (player_or_team=T, the default) or per player-game (P) with SEASON_ID, TEAM_ID, TEAM_ABBREVIATION, TEAM_NAME, GAME_ID, GAME_DATE, MATCHUP, WL, MIN and the full box-score line (PTS, FGM, FGA, FG_PCT, FG3M, FG3A, FG3_PCT, FTM, FTA, FT_PCT, OREB, DREB, REB, AST, STL, BLK, TOV, PF, PLUS_MINUS); player rows add PLAYER_ID and PLAYER_NAME. Every filter is optional and each one changed the result in a differential replay. The gt_ (inclusive at-least), lt_ (strict below) and eq_ thresholds compare individual player box-score lines, also in team mode, where a team-game row is kept when one of its players meets the threshold.",
589023
+ "operationId": "nba-game-finder",
589024
+ "parameters": [
589025
+ {
589026
+ "description": "T for team-game rows, P for player-game rows; defaults to T",
589027
+ "enum": [
589028
+ "T",
589029
+ "P"
589030
+ ],
589031
+ "in": "query",
589032
+ "name": "player_or_team",
589033
+ "type": "string",
589034
+ "x-example": "T"
589035
+ },
589036
+ {
589037
+ "description": "League id; only 00 (NBA) is verified",
589038
+ "enum": [
589039
+ "00"
589040
+ ],
589041
+ "in": "query",
589042
+ "name": "league_id",
589043
+ "type": "string",
589044
+ "x-example": "00"
589045
+ },
589046
+ {
589047
+ "description": "Season in YYYY-YY form; defaults to the current season unless a date range is set",
589048
+ "in": "query",
589049
+ "name": "season",
589050
+ "type": "string",
589051
+ "x-example": "2025-26"
589052
+ },
589053
+ {
589054
+ "description": "Season type; omit for every type",
589055
+ "enum": [
589056
+ "Regular Season",
589057
+ "Playoffs",
589058
+ "Pre Season",
589059
+ "All Star",
589060
+ "PlayIn"
589061
+ ],
589062
+ "in": "query",
589063
+ "name": "season_type",
589064
+ "type": "string",
589065
+ "x-example": "Regular Season"
589066
+ },
589067
+ {
589068
+ "description": "First game date, MM/DD/YYYY",
589069
+ "in": "query",
589070
+ "name": "date_from",
589071
+ "type": "string",
589072
+ "x-example": "01/01/2026"
589073
+ },
589074
+ {
589075
+ "description": "Last game date, MM/DD/YYYY",
589076
+ "in": "query",
589077
+ "name": "date_to",
589078
+ "type": "string",
589079
+ "x-example": "01/31/2026"
589080
+ },
589081
+ {
589082
+ "description": "Team id; keeps that team's games",
589083
+ "in": "query",
589084
+ "name": "team_id",
589085
+ "type": "integer",
589086
+ "x-example": 1610612747
589087
+ },
589088
+ {
589089
+ "description": "Opponent team id",
589090
+ "in": "query",
589091
+ "name": "vs_team_id",
589092
+ "type": "integer",
589093
+ "x-example": 1610612738
589094
+ },
589095
+ {
589096
+ "description": "Player id; keeps games that player played",
589097
+ "in": "query",
589098
+ "name": "player_id",
589099
+ "type": "integer",
589100
+ "x-example": 2544
589101
+ },
589102
+ {
589103
+ "description": "W for wins, L for losses",
589104
+ "enum": [
589105
+ "W",
589106
+ "L"
589107
+ ],
589108
+ "in": "query",
589109
+ "name": "outcome",
589110
+ "type": "string",
589111
+ "x-example": "W"
589112
+ },
589113
+ {
589114
+ "description": "Team conference",
589115
+ "enum": [
589116
+ "East",
589117
+ "West"
589118
+ ],
589119
+ "in": "query",
589120
+ "name": "conference",
589121
+ "type": "string",
589122
+ "x-example": "West"
589123
+ },
589124
+ {
589125
+ "description": "Opponent conference",
589126
+ "enum": [
589127
+ "East",
589128
+ "West"
589129
+ ],
589130
+ "in": "query",
589131
+ "name": "vs_conference",
589132
+ "type": "string",
589133
+ "x-example": "East"
589134
+ },
589135
+ {
589136
+ "description": "Team division",
589137
+ "enum": [
589138
+ "Atlantic",
589139
+ "Central",
589140
+ "Southeast",
589141
+ "Northwest",
589142
+ "Pacific",
589143
+ "Southwest"
589144
+ ],
589145
+ "in": "query",
589146
+ "name": "division",
589147
+ "type": "string",
589148
+ "x-example": "Pacific"
589149
+ },
589150
+ {
589151
+ "description": "Opponent division",
589152
+ "enum": [
589153
+ "Atlantic",
589154
+ "Central",
589155
+ "Southeast",
589156
+ "Northwest",
589157
+ "Pacific",
589158
+ "Southwest"
589159
+ ],
589160
+ "in": "query",
589161
+ "name": "vs_division",
589162
+ "type": "string",
589163
+ "x-example": "Atlantic"
589164
+ },
589165
+ {
589166
+ "description": "Four-digit draft year of the player; use with player_or_team=P",
589167
+ "in": "query",
589168
+ "name": "draft_year",
589169
+ "type": "string",
589170
+ "x-example": "2018"
589171
+ },
589172
+ {
589173
+ "description": "Draft round of the player, 1 to 10; use with player_or_team=P",
589174
+ "in": "query",
589175
+ "maximum": 10,
589176
+ "minimum": 1,
589177
+ "name": "draft_round",
589178
+ "type": "integer",
589179
+ "x-example": 1
589180
+ },
589181
+ {
589182
+ "description": "Overall draft pick of the player, 1 to 300; use with player_or_team=P",
589183
+ "in": "query",
589184
+ "maximum": 300,
589185
+ "minimum": 1,
589186
+ "name": "draft_number",
589187
+ "type": "integer",
589188
+ "x-example": 1
589189
+ },
589190
+ {
589191
+ "description": "Player points at least this value (inclusive)",
589192
+ "in": "query",
589193
+ "name": "gt_pts",
589194
+ "type": "number"
589195
+ },
589196
+ {
589197
+ "description": "Player points below this value (strict)",
589198
+ "in": "query",
589199
+ "name": "lt_pts",
589200
+ "type": "number"
589201
+ },
589202
+ {
589203
+ "description": "Player points equal to this value",
589204
+ "in": "query",
589205
+ "name": "eq_pts",
589206
+ "type": "number"
589207
+ },
589208
+ {
589209
+ "description": "Player assists at least this value (inclusive)",
589210
+ "in": "query",
589211
+ "name": "gt_ast",
589212
+ "type": "number"
589213
+ },
589214
+ {
589215
+ "description": "Player assists below this value (strict)",
589216
+ "in": "query",
589217
+ "name": "lt_ast",
589218
+ "type": "number"
589219
+ },
589220
+ {
589221
+ "description": "Player assists equal to this value",
589222
+ "in": "query",
589223
+ "name": "eq_ast",
589224
+ "type": "number"
589225
+ },
589226
+ {
589227
+ "description": "Player rebounds at least this value (inclusive)",
589228
+ "in": "query",
589229
+ "name": "gt_reb",
589230
+ "type": "number"
589231
+ },
589232
+ {
589233
+ "description": "Player rebounds below this value (strict)",
589234
+ "in": "query",
589235
+ "name": "lt_reb",
589236
+ "type": "number"
589237
+ },
589238
+ {
589239
+ "description": "Player rebounds equal to this value",
589240
+ "in": "query",
589241
+ "name": "eq_reb",
589242
+ "type": "number"
589243
+ },
589244
+ {
589245
+ "description": "Player offensive rebounds at least this value (inclusive)",
589246
+ "in": "query",
589247
+ "name": "gt_oreb",
589248
+ "type": "number"
589249
+ },
589250
+ {
589251
+ "description": "Player offensive rebounds below this value (strict)",
589252
+ "in": "query",
589253
+ "name": "lt_oreb",
589254
+ "type": "number"
589255
+ },
589256
+ {
589257
+ "description": "Player offensive rebounds equal to this value",
589258
+ "in": "query",
589259
+ "name": "eq_oreb",
589260
+ "type": "number"
589261
+ },
589262
+ {
589263
+ "description": "Player defensive rebounds at least this value (inclusive)",
589264
+ "in": "query",
589265
+ "name": "gt_dreb",
589266
+ "type": "number"
589267
+ },
589268
+ {
589269
+ "description": "Player defensive rebounds below this value (strict)",
589270
+ "in": "query",
589271
+ "name": "lt_dreb",
589272
+ "type": "number"
589273
+ },
589274
+ {
589275
+ "description": "Player defensive rebounds equal to this value",
589276
+ "in": "query",
589277
+ "name": "eq_dreb",
589278
+ "type": "number"
589279
+ },
589280
+ {
589281
+ "description": "Player steals at least this value (inclusive)",
589282
+ "in": "query",
589283
+ "name": "gt_stl",
589284
+ "type": "number"
589285
+ },
589286
+ {
589287
+ "description": "Player steals below this value (strict)",
589288
+ "in": "query",
589289
+ "name": "lt_stl",
589290
+ "type": "number"
589291
+ },
589292
+ {
589293
+ "description": "Player steals equal to this value",
589294
+ "in": "query",
589295
+ "name": "eq_stl",
589296
+ "type": "number"
589297
+ },
589298
+ {
589299
+ "description": "Player blocks at least this value (inclusive)",
589300
+ "in": "query",
589301
+ "name": "gt_blk",
589302
+ "type": "number"
589303
+ },
589304
+ {
589305
+ "description": "Player blocks below this value (strict)",
589306
+ "in": "query",
589307
+ "name": "lt_blk",
589308
+ "type": "number"
589309
+ },
589310
+ {
589311
+ "description": "Player blocks equal to this value",
589312
+ "in": "query",
589313
+ "name": "eq_blk",
589314
+ "type": "number"
589315
+ },
589316
+ {
589317
+ "description": "Player turnovers at least this value (inclusive)",
589318
+ "in": "query",
589319
+ "name": "gt_tov",
589320
+ "type": "number"
589321
+ },
589322
+ {
589323
+ "description": "Player turnovers below this value (strict)",
589324
+ "in": "query",
589325
+ "name": "lt_tov",
589326
+ "type": "number"
589327
+ },
589328
+ {
589329
+ "description": "Player turnovers equal to this value",
589330
+ "in": "query",
589331
+ "name": "eq_tov",
589332
+ "type": "number"
589333
+ },
589334
+ {
589335
+ "description": "Player personal fouls at least this value (inclusive)",
589336
+ "in": "query",
589337
+ "name": "gt_pf",
589338
+ "type": "number"
589339
+ },
589340
+ {
589341
+ "description": "Player personal fouls below this value (strict)",
589342
+ "in": "query",
589343
+ "name": "lt_pf",
589344
+ "type": "number"
589345
+ },
589346
+ {
589347
+ "description": "Player personal fouls equal to this value",
589348
+ "in": "query",
589349
+ "name": "eq_pf",
589350
+ "type": "number"
589351
+ },
589352
+ {
589353
+ "description": "Player minutes at least this value (inclusive)",
589354
+ "in": "query",
589355
+ "name": "gt_minutes",
589356
+ "type": "number"
589357
+ },
589358
+ {
589359
+ "description": "Player minutes below this value (strict)",
589360
+ "in": "query",
589361
+ "name": "lt_minutes",
589362
+ "type": "number"
589363
+ },
589364
+ {
589365
+ "description": "Player minutes equal to this value",
589366
+ "in": "query",
589367
+ "name": "eq_minutes",
589368
+ "type": "number"
589369
+ },
589370
+ {
589371
+ "description": "Player field goals made at least this value (inclusive)",
589372
+ "in": "query",
589373
+ "name": "gt_fgm",
589374
+ "type": "number"
589375
+ },
589376
+ {
589377
+ "description": "Player field goals made below this value (strict)",
589378
+ "in": "query",
589379
+ "name": "lt_fgm",
589380
+ "type": "number"
589381
+ },
589382
+ {
589383
+ "description": "Player field goals made equal to this value",
589384
+ "in": "query",
589385
+ "name": "eq_fgm",
589386
+ "type": "number"
589387
+ },
589388
+ {
589389
+ "description": "Player field goals attempted at least this value (inclusive)",
589390
+ "in": "query",
589391
+ "name": "gt_fga",
589392
+ "type": "number"
589393
+ },
589394
+ {
589395
+ "description": "Player field goals attempted below this value (strict)",
589396
+ "in": "query",
589397
+ "name": "lt_fga",
589398
+ "type": "number"
589399
+ },
589400
+ {
589401
+ "description": "Player field goals attempted equal to this value",
589402
+ "in": "query",
589403
+ "name": "eq_fga",
589404
+ "type": "number"
589405
+ },
589406
+ {
589407
+ "description": "Player three-pointers made at least this value (inclusive)",
589408
+ "in": "query",
589409
+ "name": "gt_fg3m",
589410
+ "type": "number"
589411
+ },
589412
+ {
589413
+ "description": "Player three-pointers made below this value (strict)",
589414
+ "in": "query",
589415
+ "name": "lt_fg3m",
589416
+ "type": "number"
589417
+ },
589418
+ {
589419
+ "description": "Player three-pointers made equal to this value",
589420
+ "in": "query",
589421
+ "name": "eq_fg3m",
589422
+ "type": "number"
589423
+ },
589424
+ {
589425
+ "description": "Player three-pointers attempted at least this value (inclusive)",
589426
+ "in": "query",
589427
+ "name": "gt_fg3a",
589428
+ "type": "number"
589429
+ },
589430
+ {
589431
+ "description": "Player three-pointers attempted below this value (strict)",
589432
+ "in": "query",
589433
+ "name": "lt_fg3a",
589434
+ "type": "number"
589435
+ },
589436
+ {
589437
+ "description": "Player three-pointers attempted equal to this value",
589438
+ "in": "query",
589439
+ "name": "eq_fg3a",
589440
+ "type": "number"
589441
+ },
589442
+ {
589443
+ "description": "Player free throws made at least this value (inclusive)",
589444
+ "in": "query",
589445
+ "name": "gt_ftm",
589446
+ "type": "number"
589447
+ },
589448
+ {
589449
+ "description": "Player free throws made below this value (strict)",
589450
+ "in": "query",
589451
+ "name": "lt_ftm",
589452
+ "type": "number"
589453
+ },
589454
+ {
589455
+ "description": "Player free throws made equal to this value",
589456
+ "in": "query",
589457
+ "name": "eq_ftm",
589458
+ "type": "number"
589459
+ },
589460
+ {
589461
+ "description": "Player free throws attempted at least this value (inclusive)",
589462
+ "in": "query",
589463
+ "name": "gt_fta",
589464
+ "type": "number"
589465
+ },
589466
+ {
589467
+ "description": "Player free throws attempted below this value (strict)",
589468
+ "in": "query",
589469
+ "name": "lt_fta",
589470
+ "type": "number"
589471
+ },
589472
+ {
589473
+ "description": "Player free throws attempted equal to this value",
589474
+ "in": "query",
589475
+ "name": "eq_fta",
589476
+ "type": "number"
589477
+ },
589478
+ {
589479
+ "description": "Player double-double flag (0 or 1) at least this value (inclusive)",
589480
+ "in": "query",
589481
+ "name": "gt_dd",
589482
+ "type": "number"
589483
+ },
589484
+ {
589485
+ "description": "Player double-double flag (0 or 1) below this value (strict)",
589486
+ "in": "query",
589487
+ "name": "lt_dd",
589488
+ "type": "number"
589489
+ },
589490
+ {
589491
+ "description": "Player double-double flag (0 or 1) equal to this value",
589492
+ "in": "query",
589493
+ "name": "eq_dd",
589494
+ "type": "number"
589495
+ },
589496
+ {
589497
+ "description": "Player triple-double flag (0 or 1) at least this value (inclusive)",
589498
+ "in": "query",
589499
+ "name": "gt_td",
589500
+ "type": "number"
589501
+ },
589502
+ {
589503
+ "description": "Player triple-double flag (0 or 1) below this value (strict)",
589504
+ "in": "query",
589505
+ "name": "lt_td",
589506
+ "type": "number"
589507
+ },
589508
+ {
589509
+ "description": "Player triple-double flag (0 or 1) equal to this value",
589510
+ "in": "query",
589511
+ "name": "eq_td",
589512
+ "type": "number"
589513
+ },
589514
+ {
589515
+ "description": "Player field-goal percentage, a fraction at least this value (inclusive)",
589516
+ "in": "query",
589517
+ "name": "gt_fg_pct",
589518
+ "type": "number"
589519
+ },
589520
+ {
589521
+ "description": "Player field-goal percentage, a fraction below this value (strict)",
589522
+ "in": "query",
589523
+ "name": "lt_fg_pct",
589524
+ "type": "number"
589525
+ },
589526
+ {
589527
+ "description": "Player field-goal percentage, a fraction equal to this value",
589528
+ "in": "query",
589529
+ "name": "eq_fg_pct",
589530
+ "type": "number"
589531
+ },
589532
+ {
589533
+ "description": "Player three-point percentage, a fraction at least this value (inclusive)",
589534
+ "in": "query",
589535
+ "name": "gt_fg3_pct",
589536
+ "type": "number"
589537
+ },
589538
+ {
589539
+ "description": "Player three-point percentage, a fraction below this value (strict)",
589540
+ "in": "query",
589541
+ "name": "lt_fg3_pct",
589542
+ "type": "number"
589543
+ },
589544
+ {
589545
+ "description": "Player three-point percentage, a fraction equal to this value",
589546
+ "in": "query",
589547
+ "name": "eq_fg3_pct",
589548
+ "type": "number"
589549
+ },
589550
+ {
589551
+ "description": "Player free-throw percentage, a fraction at least this value (inclusive)",
589552
+ "in": "query",
589553
+ "name": "gt_ft_pct",
589554
+ "type": "number"
589555
+ },
589556
+ {
589557
+ "description": "Player free-throw percentage, a fraction below this value (strict)",
589558
+ "in": "query",
589559
+ "name": "lt_ft_pct",
589560
+ "type": "number"
589561
+ },
589562
+ {
589563
+ "description": "Player free-throw percentage, a fraction equal to this value",
589564
+ "in": "query",
589565
+ "name": "eq_ft_pct",
589566
+ "type": "number"
589567
+ }
589568
+ ],
589569
+ "produces": [
589570
+ "application/json"
589571
+ ],
589572
+ "responses": {
589573
+ "200": {
589574
+ "description": "OK",
589575
+ "schema": {
589576
+ "allOf": [
589577
+ {
589578
+ "$ref": "#/definitions/app.Response"
589579
+ },
589580
+ {
589581
+ "properties": {
589582
+ "data": {
589583
+ "$ref": "#/definitions/nba.TablesResponse"
589584
+ }
589585
+ },
589586
+ "type": "object"
589587
+ }
589588
+ ]
589589
+ }
589590
+ },
589591
+ "400": {
589592
+ "description": "Bad Request",
589593
+ "schema": {
589594
+ "$ref": "#/definitions/app.Response"
589595
+ }
589596
+ },
589597
+ "404": {
589598
+ "description": "Not Found",
589599
+ "schema": {
589600
+ "$ref": "#/definitions/app.Response"
589601
+ }
589602
+ },
589603
+ "429": {
589604
+ "description": "Too Many Requests",
589605
+ "schema": {
589606
+ "$ref": "#/definitions/app.Response"
589607
+ }
589608
+ },
589609
+ "503": {
589610
+ "description": "Service Unavailable",
589611
+ "schema": {
589612
+ "$ref": "#/definitions/app.Response"
589613
+ }
589614
+ }
589615
+ },
589616
+ "security": [
589617
+ {
589618
+ "ApiKeyAuth": []
589619
+ }
589620
+ ],
589621
+ "summary": "NBA league game finder",
588058
589622
  "tags": [
588059
589623
  "NBA"
588060
589624
  ]
588061
589625
  }
588062
589626
  },
588063
- "/nba/franchise-history": {
589627
+ "/nba/game-rotation": {
588064
589628
  "get": {
588065
589629
  "consumes": [
588066
589630
  "application/json"
588067
589631
  ],
588068
- "description": "Returns every franchise's history as two tables: FranchiseHistory for active franchises and DefunctTeams for the ones that no longer play. Verified columns are TEAM_ID, TEAM_NAME, START_YEAR, END_YEAR, YEARS and GAMES. The table is league-wide and needs no team id; pass team_id only to narrow it.",
588069
- "operationId": "nba-franchise-history",
589632
+ "description": "Returns each team's player stints for one game: one row per stint with the player's check-in and check-out times (IN_TIME_REAL and OUT_TIME_REAL, in tenths of a second from tip-off), the points he scored during the stint (PLAYER_PTS), the team's point differential over it (PT_DIFF) and his usage rate (USG_PCT). The response holds two tables, AwayTeam and HomeTeam, keyed by the source's own column names. A game id the source does not know answers 200 with empty tables.",
589633
+ "operationId": "nba-game-rotation",
588070
589634
  "parameters": [
589635
+ {
589636
+ "description": "Ten-digit game id from nba-scoreboard or nba-game-finder",
589637
+ "in": "query",
589638
+ "name": "game_id",
589639
+ "required": true,
589640
+ "type": "string",
589641
+ "x-example": "0022600196"
589642
+ },
588071
589643
  {
588072
589644
  "description": "League id; only 00 (NBA) is verified",
588073
589645
  "enum": [
@@ -588077,13 +589649,6 @@
588077
589649
  "name": "league_id",
588078
589650
  "type": "string",
588079
589651
  "x-example": "00"
588080
- },
588081
- {
588082
- "description": "Optional team id from nba-standings; narrows the history to that franchise",
588083
- "in": "query",
588084
- "name": "team_id",
588085
- "type": "integer",
588086
- "x-example": 1610612741
588087
589652
  }
588088
589653
  ],
588089
589654
  "produces": [
@@ -588138,82 +589703,7 @@
588138
589703
  "ApiKeyAuth": []
588139
589704
  }
588140
589705
  ],
588141
- "summary": "NBA franchise history, including defunct teams",
588142
- "tags": [
588143
- "NBA"
588144
- ]
588145
- }
588146
- },
588147
- "/nba/game-detail": {
588148
- "get": {
588149
- "consumes": [
588150
- "application/json"
588151
- ],
588152
- "description": "Returns one game's summary detail from nba.com's game page, read from the page's embedded JSON state: status and clock, game duration, attendance and sellout flag, venue id, name, city, state, country and timezone, the officiating crew with names and jersey numbers, series text, and each team's per-period scoring with a derived game total. Use nba-box-score for per-player statistics; this route is the game-level summary the box score does not carry.",
588153
- "operationId": "nba-game-detail",
588154
- "parameters": [
588155
- {
588156
- "description": "Ten-digit game id from nba-scoreboard",
588157
- "in": "query",
588158
- "name": "game_id",
588159
- "required": true,
588160
- "type": "string",
588161
- "x-example": "0022600196"
588162
- }
588163
- ],
588164
- "produces": [
588165
- "application/json"
588166
- ],
588167
- "responses": {
588168
- "200": {
588169
- "description": "OK",
588170
- "schema": {
588171
- "allOf": [
588172
- {
588173
- "$ref": "#/definitions/app.Response"
588174
- },
588175
- {
588176
- "properties": {
588177
- "data": {
588178
- "$ref": "#/definitions/nba.GameDetailResponse"
588179
- }
588180
- },
588181
- "type": "object"
588182
- }
588183
- ]
588184
- }
588185
- },
588186
- "400": {
588187
- "description": "Bad Request",
588188
- "schema": {
588189
- "$ref": "#/definitions/app.Response"
588190
- }
588191
- },
588192
- "404": {
588193
- "description": "Not Found",
588194
- "schema": {
588195
- "$ref": "#/definitions/app.Response"
588196
- }
588197
- },
588198
- "429": {
588199
- "description": "Too Many Requests",
588200
- "schema": {
588201
- "$ref": "#/definitions/app.Response"
588202
- }
588203
- },
588204
- "503": {
588205
- "description": "Service Unavailable",
588206
- "schema": {
588207
- "$ref": "#/definitions/app.Response"
588208
- }
588209
- }
588210
- },
588211
- "security": [
588212
- {
588213
- "ApiKeyAuth": []
588214
- }
588215
- ],
588216
- "summary": "NBA game summary detail from nba.com",
589706
+ "summary": "NBA game substitution rotation",
588217
589707
  "tags": [
588218
589708
  "NBA"
588219
589709
  ]
@@ -588942,6 +590432,169 @@
588942
590432
  ]
588943
590433
  }
588944
590434
  },
590435
+ "/nba/league-leaders": {
590436
+ "get": {
590437
+ "consumes": [
590438
+ "application/json"
590439
+ ],
590440
+ "description": "Returns the league-leaders table for one ranked statistic: one row per player with PLAYER_ID, RANK, PLAYER, TEAM_ID, TEAM, GP, MIN, the shooting, rebounding and playmaking columns, EFF, AST_TOV and STL_TOV. Unlike nba-team-stats-leaders this route covers the full verified value space: 22 ranked categories, the Totals, PerGame and Per48 aggregations, the S, Rookies and RS player pools, the PlayIn season type, career leaders through season=All Time, and the active-player filter that applies to career leaders.",
590441
+ "operationId": "nba-league-leaders",
590442
+ "parameters": [
590443
+ {
590444
+ "description": "Ranked statistic; defaults to PTS",
590445
+ "enum": [
590446
+ "PTS",
590447
+ "FGM",
590448
+ "FGA",
590449
+ "FG_PCT",
590450
+ "FG3M",
590451
+ "FG3A",
590452
+ "FG3_PCT",
590453
+ "FTM",
590454
+ "FTA",
590455
+ "FT_PCT",
590456
+ "OREB",
590457
+ "DREB",
590458
+ "REB",
590459
+ "AST",
590460
+ "STL",
590461
+ "BLK",
590462
+ "TOV",
590463
+ "PF",
590464
+ "EFF",
590465
+ "AST_TOV",
590466
+ "STL_TOV",
590467
+ "MIN"
590468
+ ],
590469
+ "in": "query",
590470
+ "name": "stat_category",
590471
+ "type": "string",
590472
+ "x-example": "PTS"
590473
+ },
590474
+ {
590475
+ "description": "League id; only 00 (NBA) is verified",
590476
+ "enum": [
590477
+ "00"
590478
+ ],
590479
+ "in": "query",
590480
+ "name": "league_id",
590481
+ "type": "string",
590482
+ "x-example": "00"
590483
+ },
590484
+ {
590485
+ "description": "Season in YYYY-YY form, or All Time for career leaders; defaults to the current season",
590486
+ "in": "query",
590487
+ "name": "season",
590488
+ "type": "string",
590489
+ "x-example": "2025-26"
590490
+ },
590491
+ {
590492
+ "description": "Season type",
590493
+ "enum": [
590494
+ "Regular Season",
590495
+ "Playoffs",
590496
+ "Pre Season",
590497
+ "PlayIn"
590498
+ ],
590499
+ "in": "query",
590500
+ "name": "season_type",
590501
+ "type": "string",
590502
+ "x-example": "Regular Season"
590503
+ },
590504
+ {
590505
+ "description": "Aggregation; defaults to Totals",
590506
+ "enum": [
590507
+ "Totals",
590508
+ "PerGame",
590509
+ "Per48"
590510
+ ],
590511
+ "in": "query",
590512
+ "name": "per_mode",
590513
+ "type": "string",
590514
+ "x-example": "Totals"
590515
+ },
590516
+ {
590517
+ "description": "Player pool: S (all players), Rookies or RS (regular-season qualifiers); defaults to S",
590518
+ "enum": [
590519
+ "S",
590520
+ "Rookies",
590521
+ "RS"
590522
+ ],
590523
+ "in": "query",
590524
+ "name": "scope",
590525
+ "type": "string",
590526
+ "x-example": "S"
590527
+ },
590528
+ {
590529
+ "description": "Yes keeps only active players; only changes the result when season is All Time",
590530
+ "enum": [
590531
+ "Yes",
590532
+ "No"
590533
+ ],
590534
+ "in": "query",
590535
+ "name": "active_flag",
590536
+ "type": "string",
590537
+ "x-example": "Yes"
590538
+ }
590539
+ ],
590540
+ "produces": [
590541
+ "application/json"
590542
+ ],
590543
+ "responses": {
590544
+ "200": {
590545
+ "description": "OK",
590546
+ "schema": {
590547
+ "allOf": [
590548
+ {
590549
+ "$ref": "#/definitions/app.Response"
590550
+ },
590551
+ {
590552
+ "properties": {
590553
+ "data": {
590554
+ "$ref": "#/definitions/nba.TablesResponse"
590555
+ }
590556
+ },
590557
+ "type": "object"
590558
+ }
590559
+ ]
590560
+ }
590561
+ },
590562
+ "400": {
590563
+ "description": "Bad Request",
590564
+ "schema": {
590565
+ "$ref": "#/definitions/app.Response"
590566
+ }
590567
+ },
590568
+ "404": {
590569
+ "description": "Not Found",
590570
+ "schema": {
590571
+ "$ref": "#/definitions/app.Response"
590572
+ }
590573
+ },
590574
+ "429": {
590575
+ "description": "Too Many Requests",
590576
+ "schema": {
590577
+ "$ref": "#/definitions/app.Response"
590578
+ }
590579
+ },
590580
+ "503": {
590581
+ "description": "Service Unavailable",
590582
+ "schema": {
590583
+ "$ref": "#/definitions/app.Response"
590584
+ }
590585
+ }
590586
+ },
590587
+ "security": [
590588
+ {
590589
+ "ApiKeyAuth": []
590590
+ }
590591
+ ],
590592
+ "summary": "NBA league leaders over every category, aggregation, pool and season type",
590593
+ "tags": [
590594
+ "NBA"
590595
+ ]
590596
+ }
590597
+ },
588945
590598
  "/nba/lineup-shot-chart": {
588946
590599
  "get": {
588947
590600
  "consumes": [