---
title: "CommonTeamYears"
method: GET
path: "/commonteamyears"
tags: ["nba", "wnba"]
---

# CommonTeamYears

`GET /commonteamyears`

[to do]

## Query parameters

- `LeagueID` string, required — [to do]

## Response `200`

[to do]

- object
  - `parameters` object
    - `LeagueID` '$request.query.LeagueID'
  - `resource` 'commonteamyears'
  - `resultSets` unknown[]
    - unknown

## Other responses

- `404` — [to do]

## Changes

- **2026-07-13** `bfc757de2da0` — 1 warning
  - removed the optional property `resultSets/prefixItems[#/components/schemas/TeamYears]/x-tags` from the response with the `200` status
- **2024-02-01** `b3e351ad6236` — 2 info
  - api tag `wnba` added
  - added the optional property `resultSets/prefixItems[#/components/schemas/TeamYears]/x-tags` to the response with the `200` status
- **2024-02-01** `b939e27e1714` — 1 breaking, 1 info
  - the `parameters/LeagueID` response's property type changed from `string` to no type for status `200`
  - the `LeagueID` response property const value `$request.query.LeagueID` was added for the status `200`
- **2024-02-01** `edb1e5406e9a` — 1 info
  - removed `#/components/schemas/LeagueId, #/components/schemas/TeamId, #/components/schemas/MinYear, #/components/schemas/MaxYear, #/components/schemas/Abbreviation` from the `resultSets/prefixItems[#/components/schemas/TeamYears]/rowSet` response property 'prefixItems' list for the response status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/sgsdm/apis/official-nba-stats-api/changes/commonteamyears/get.md)

---

[API](https://skmtc.dev/sgsdm/apis/official-nba-stats-api.md) · [All operations](https://skmtc.dev/sgsdm/apis/official-nba-stats-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sgsdm/official-nba-stats-api/revisions/bfc757de2da0/schema)
