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

# Episode Groups

> This endpoint retrieves the episode groups that have been added to a TV show.



## OpenAPI

````yaml get /3/tv/{{series_id}}/episode_groups
openapi: 3.0.3
info:
  title: The Movie Database API
  description: >-
    Welcome to the third version of The Movie Database (TMDB) API. Our API
    provides you with vast access to a range of movies, TV shows, actor
    information, and images.


    With the TMDB API, you can easily integrate any of these functionalities in
    your application.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
  - url: Collection
security:
  - bearerAuth: []
tags:
  - name: Validate Key
  - name: Authentication
  - name: Guest Sessions
  - name: Configuration
  - name: Account
  - name: Search
  - name: Discover
  - name: Find
  - name: Keyword
  - name: Lists
  - name: V3 vs V4
    description: >-
      There is version 4 (v4) for our list API. It contains several advanced
      improvements that differentiate it from the version 3 (v3) list. Although
      v3 lists will continue to work, you can only access these features if you
      switch to v4 lists.


      Some of the new improvements you can access on v4 lists include:


      - You can Import "unlimited" items in a single request
          
      - You can use mixed-type (movie and TV) lists
          
      - You can use private lists
          
      - You can add and use comments per item
          
      - There are more sort options
          
      - They are faster
          

      Check the v4 [documentation
      ](https://developer.themoviedb.org/v4/docs/getting-started) for more
      information.  
  - name: Collections
  - name: Companies
  - name: Networks
  - name: Trending
  - name: Movies
  - name: Movie Lists
  - name: TV Series
  - name: TV Series Lists
  - name: TV Seasons
  - name: TV Providers
  - name: TV Episode Groups
  - name: Watch Providers
  - name: People
  - name: People List
  - name: Genre
  - name: Changes
  - name: Credits
  - name: Certifications
paths:
  /3/tv/{{series_id}}/episode_groups:
    parameters:
      - name: series_id
        in: path
        description: >-
          This represents the series ID. Det it
          [here](https://starlight.mintlify.app/api-reference/seriesid)
        required: true
        schema:
          type: string
    get:
      tags:
        - TV Series
      summary: Episode Groups
      description: >-
        This endpoint retrieves the episode groups that have been added to a TV
        show.
      operationId: episodeGroups
      responses:
        '200':
          description: Episode Groups
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=12773
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Mon, 30 Dec 2024 23:37:19 GMT
            ETag:
              schema:
                type: string
                example: W/"ef29d031be33a9600c17d15e278d58cf"
            Server:
              schema:
                type: string
                example: openresty
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 a497eba714f030335fd7adebea6fe8b6.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: Ru2fPjGwzo6kMwn3vVXfm2e5S4WGHtxWeCx3uDRlGQa2dIm73nYPIw==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: IAD89-C3
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            x-memc:
              schema:
                type: string
                example: HIT
            x-memc-age:
              schema:
                type: string
                example: '13023'
            x-memc-expires:
              schema:
                type: string
                example: '12773'
            x-memc-key:
              schema:
                type: string
                example: 5d1d987ee541aee828ec34c86e629438
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: number
                    example: 1399
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        description:
                          type: string
                          example: ''
                        episode_count:
                          type: number
                          example: 102
                        group_count:
                          type: number
                          example: 9
                        id:
                          type: string
                          example: 5e9077d2e640d600151f32bd
                        name:
                          type: string
                          example: Aired Order
                        network:
                          type: object
                          properties:
                            id:
                              type: number
                              example: 49
                            logo_path:
                              type: string
                              example: /tuomPhY2UtuPTqqFnKMVHvSb724.png
                            name:
                              type: string
                              example: HBO
                            origin_country:
                              type: string
                              example: US
                        type:
                          type: number
                          example: 1
                    example:
                      - description: ''
                        episode_count: 102
                        group_count: 9
                        id: 5e9077d2e640d600151f32bd
                        name: Aired Order
                        network:
                          id: 49
                          logo_path: /tuomPhY2UtuPTqqFnKMVHvSb724.png
                          name: HBO
                          origin_country: US
                        type: 1
              examples:
                Episode Groups:
                  value:
                    id: 1399
                    results:
                      - description: ''
                        episode_count: 102
                        group_count: 9
                        id: 5e9077d2e640d600151f32bd
                        name: Aired Order
                        network:
                          id: 49
                          logo_path: /tuomPhY2UtuPTqqFnKMVHvSb724.png
                          name: HBO
                          origin_country: US
                        type: 1
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````