---
updatedAt: 2025-11-18T15:52:14.000Z
agentTools:
  siteIndex: https://developer.sportradar.com/llms.txt
  projectIndex: https://developer.sportradar.com/basketball/v7/llms.txt
---

# Seasons

**NBA Seasons** Provides a list of all available seasons, including preseasons and postseasons.

<Callout icon="⏱️" theme="default">
  ### Update Frequency

  300s Time To Live / Cache
</Callout>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "nba",
    "version": "7"
  },
  "servers": [
    {
      "url": "https://api.sportradar.com/nba/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/{access_level}/v7/{language_code}/league/seasons.{format}": {
      "get": {
        "summary": "Seasons",
        "description": "**NBA Seasons** Provides a list of all available seasons, including preseasons and postseasons.",
        "operationId": "nba-seasons",
        "parameters": [
          {
            "name": "access_level",
            "in": "path",
            "description": "The access level of your API key",
            "schema": {
              "type": "string",
              "enum": [
                "trial",
                "production"
              ],
              "default": "trial"
            },
            "required": true
          },
          {
            "name": "language_code",
            "in": "path",
            "description": "2-letter code for supported languages<br><br>`br` (Brazilian Portuguese), `de` (German), `el` (Greek), `en` (English), `es` (Spanish), `fr` (French), `id` (Indonesian), `it` (Italian), `ja` (Japanese), `ko` (Korean), `ru` (Russian), `tl` (Tagalog), `tr` (Turkish), `zh` (simplified Chinese)",
            "schema": {
              "type": "string",
              "enum": [
                "br",
                "de",
                "el",
                "en",
                "es",
                "fr",
                "id",
                "it",
                "ja",
                "ko",
                "ru",
                "tl",
                "tr",
                "zh"
              ],
              "default": "en"
            },
            "required": true
          },
          {
            "name": "format",
            "in": "path",
            "description": "Format returned",
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "xml"
              ],
              "default": "json"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"league\": {\n        \"id\": \"4353138d-4c22-4396-95d8-5f587d2df25c\",\n        \"name\": \"NBA\",\n        \"alias\": \"NBA\"\n    },\n    \"seasons\": [\n        {\n            \"id\": \"6ba5a3b2-e4e9-4b07-9026-6be2819b3006\",\n            \"year\": 2022,\n            \"start_date\": \"2022-09-30\",\n            \"end_date\": \"2022-10-14\",\n            \"status\": \"closed\",\n            \"type\": {\n                \"code\": \"PRE\",\n                \"name\": \"Pre-season\"\n            }\n        },\n        {\n            \"id\": \"60592f49-0b47-4662-94d2-b3ad577d7dd4\",\n            \"year\": 2022,\n            \"start_date\": \"2023-04-15\",\n            \"status\": \"scheduled\",\n            \"type\": {\n                \"code\": \"PST\",\n                \"name\": \"Post-season\"\n            }\n        },\n        {\n            \"id\": \"99a82ada-56fe-416a-ab6f-086a3d27f30b\",\n            \"year\": 2022,\n            \"start_date\": \"2023-04-11\",\n            \"end_date\": \"2023-04-14\",\n            \"status\": \"scheduled\",\n            \"type\": {\n                \"code\": \"PIT\",\n                \"name\": \"Play-in Tournament\"\n            }\n        },\n        {\n            \"id\": \"5027b6ac-731c-4622-8d69-d863ae7c626b\",\n            \"year\": 2022,\n            \"start_date\": \"2022-10-18\",\n            \"end_date\": \"2023-04-09\",\n            \"status\": \"inprogress\",\n            \"type\": {\n                \"code\": \"REG\",\n                \"name\": \"Regular Season\"\n            }\n        }\n    ]\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "league": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "4353138d-4c22-4396-95d8-5f587d2df25c"
                        },
                        "name": {
                          "type": "string",
                          "example": "NBA"
                        },
                        "alias": {
                          "type": "string",
                          "example": "NBA"
                        }
                      }
                    },
                    "seasons": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "6ba5a3b2-e4e9-4b07-9026-6be2819b3006"
                          },
                          "year": {
                            "type": "integer",
                            "example": 2022,
                            "default": 0
                          },
                          "start_date": {
                            "type": "string",
                            "example": "2022-09-30"
                          },
                          "end_date": {
                            "type": "string",
                            "example": "2022-10-14"
                          },
                          "status": {
                            "type": "string",
                            "example": "closed"
                          },
                          "type": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "example": "PRE"
                              },
                              "name": {
                                "type": "string",
                                "example": "Pre-season"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```