> ## Documentation Index
> Fetch the complete documentation index at: https://padelapi.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Seasons

> Endpoint to retrieve all seasons and filter by year.
Season availability depends on tournament coverage. See the [coverage documentation](https://padelapi.org/docs#tournaments-coverage) for the seasons and tournaments currently supported.



## OpenAPI

````yaml https://padelapi.org/docs/api.json get /seasons
openapi: 3.1.0
info:
  title: Padel API – API Reference
  version: '1.0'
  description: padelapi.org
servers:
  - url: https://padelapi.org/api
security:
  - http: []
paths:
  /seasons:
    get:
      tags:
        - Season
      summary: List Seasons
      description: >-
        Endpoint to retrieve all seasons and filter by year.

        Season availability depends on tournament coverage. See the [coverage
        documentation](https://padelapi.org/docs#tournaments-coverage) for the
        seasons and tournaments currently supported.
      operationId: listSeasons
      parameters:
        - name: year
          in: query
          description: Year of the season to filter by.
          schema:
            type:
              - integer
              - 'null'
            minimum: 2006
            maximum: 2026
      responses:
        '200':
          description: Paginated set of `SeasonResource`
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SeasonResource'
                  links:
                    type: object
                    properties:
                      first:
                        type:
                          - string
                          - 'null'
                      last:
                        type:
                          - string
                          - 'null'
                      prev:
                        type:
                          - string
                          - 'null'
                      next:
                        type:
                          - string
                          - 'null'
                    required:
                      - first
                      - last
                      - prev
                      - next
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                      from:
                        type:
                          - integer
                          - 'null'
                      last_page:
                        type: integer
                      links:
                        type: array
                        description: Generated paginator links.
                        items:
                          type: object
                          properties:
                            url:
                              type:
                                - string
                                - 'null'
                            label:
                              type: string
                            active:
                              type: boolean
                          required:
                            - url
                            - label
                            - active
                      path:
                        type:
                          - string
                          - 'null'
                        description: Base path for paginator generated URLs.
                      per_page:
                        type: integer
                        description: Number of items shown per page.
                      to:
                        type:
                          - integer
                          - 'null'
                        description: Number of the last item in the slice.
                      total:
                        type: integer
                        description: Total number of items being paginated.
                    required:
                      - current_page
                      - from
                      - last_page
                      - links
                      - path
                      - per_page
                      - to
                      - total
                required:
                  - data
                  - links
                  - meta
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    SeasonResource:
      type: object
      properties:
        id:
          type: integer
        self:
          type: string
        name:
          type: string
        url:
          type: string
        tournaments_count:
          type: integer
        status:
          type: string
        start_date:
          type: string
        end_date:
          type: string
        year:
          type: string
        connections:
          type: object
          properties:
            tournaments:
              type: string
          required:
            - tournaments
      required:
        - id
        - self
        - name
        - url
        - tournaments_count
        - status
        - start_date
        - end_date
        - year
        - connections
      title: SeasonResource
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    http:
      type: http
      scheme: bearer

````