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

# Episode Groups

> This endpoint get the episode groups of a TV show.



## OpenAPI

````yaml get /3/tv/{series_id}/episode_groups
openapi: 3.0.3
info:
  title: The Movie Database
  description: Reference
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: ACCOUNT
  - name: AUTHENTICATION
  - name: CERTIFICATION
  - name: CHANGES
  - name: COLLECTION
  - name: COMPANIES
  - name: CONFIGURATION
  - name: CREDITS
  - name: DISCOVER
  - name: FIND
  - name: GENRES
  - name: GUEST SESSION
  - name: KEYWORDS
  - name: LISTS
  - name: MOVIE LISTS
  - name: MOVIES
  - name: NETWORK
  - name: PEOPLE
  - name: PEOPLE LISTS
  - name: REVIEWS
  - name: SEARCH
  - name: TRENDING
  - name: TV SERIES LIST
  - name: TV SERIES
  - name: TV SEASONS
  - name: TV EPISODES
  - name: TV EPISODES GROUPS
  - name: WATCH PROVIDERS
paths:
  /3/tv/{series_id}/episode_groups:
    parameters:
      - $ref: '#/components/parameters/SeriesID'
    get:
      tags:
        - TV SERIES
      summary: Episode Groups
      description: This endpoint get the episode groups of 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=9435
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Wed, 01 Jan 2025 19:19:53 GMT
            ETag:
              schema:
                type: string
                example: W/"a8a3d3da715ad32c7d5a1749113aae04"
            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 c9d6fa331b6e31ab90cd2309d0f765d0.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: LNcCjOKwZJfy02FJFUxsXVE5yXFXr4paHJKpiyiGsr8r3uIYZnhMtw==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: LOS50-P2
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            x-memc:
              schema:
                type: string
                example: HIT
            x-memc-age:
              schema:
                type: string
                example: '14695'
            x-memc-expires:
              schema:
                type: string
                example: '9435'
            x-memc-key:
              schema:
                type: string
                example: f803e06483c2cc4cf7585914ef8b3701
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: number
                    example: 1433
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        description:
                          type: string
                          example: >-
                            All episodes in the TVMaze order. See the full list
                            here:
                            https://www.tvmaze.com/shows/215/american-dad/episodes
                        episode_count:
                          type: number
                          example: 366
                        group_count:
                          type: number
                          example: 20
                        id:
                          type: string
                          example: 6046e9d3c8a5ac006ffcf1fa
                        name:
                          type: string
                          example: TVMaze Order
                        network:
                          type: object
                          nullable: true
                          example: null
                        type:
                          type: number
                          example: 1
                    example:
                      - description: >-
                          All episodes in the TVMaze order. See the full list
                          here:
                          https://www.tvmaze.com/shows/215/american-dad/episodes
                        episode_count: 366
                        group_count: 20
                        id: 6046e9d3c8a5ac006ffcf1fa
                        name: TVMaze Order
                        network: null
                        type: 1
                      - description: >-
                          A list of the TVDB order can be found here:
                          https://thetvdb.com/series/american-dad/allseasons/official
                        episode_count: 344
                        group_count: 19
                        id: 6268161a7cffda006544e4cf
                        name: TVDB Order
                        network: null
                        type: 1
                      - description: >-
                          All episodes in wikipedia order. The full list can be
                          found here:
                          https://en.wikipedia.org/wiki/List_of_American_Dad!_episodes
                        episode_count: 344
                        group_count: 19
                        id: 6267bcbe4ccc50009cb1ba89
                        name: Wikipedia Order
                        network: null
                        type: 1
                      - description: >-
                          The full list of episodes for the Wikia order can be
                          viewed here:
                          https://americandad.fandom.com/wiki/Episode_Guide_List
                        episode_count: 344
                        group_count: 17
                        id: 6267bf9b4ccc50009cb1bf72
                        name: Wikia Order
                        network: null
                        type: 1
                      - description: ''
                        episode_count: 366
                        group_count: 1
                        id: 63633c21a6a4c10082dab28b
                        name: absolute order
                        network: null
                        type: 2
                      - description: ''
                        episode_count: 256
                        group_count: 14
                        id: 5ad23bc2c3a3683ef50133b0
                        name: DVD Order
                        network: null
                        type: 3
                      - description: ''
                        episode_count: 234
                        group_count: 13
                        id: 651863caea84c7012d672f2c
                        name: United Kingdom DVD Order
                        network: null
                        type: 3
                      - description: ''
                        episode_count: 368
                        group_count: 19
                        id: 5ad240319251417367012053
                        name: TBS Digital Order
                        network:
                          id: 68
                          logo_path: /65r0kR6MfOBYF0gEQsJGM6v5fEG.png
                          name: TBS
                          origin_country: US
                        type: 4
                      - description: Episode order on Disney+.
                        episode_count: 373
                        group_count: 20
                        id: 628409a2dcf875334e500e8c
                        name: Disney Plus
                        network:
                          id: 2739
                          logo_path: /1edZOYAfoyZyZ3rklNSiUpXX30Q.png
                          name: Disney+
                          origin_country: ''
                        type: 4
                      - description: ''
                        episode_count: 366
                        group_count: 18
                        id: 5ad22ef3c3a3683eef010c3d
                        name: Production Order
                        network: null
                        type: 6
              examples:
                Episode Groups:
                  value:
                    id: 1433
                    results:
                      - description: >-
                          All episodes in the TVMaze order. See the full list
                          here:
                          https://www.tvmaze.com/shows/215/american-dad/episodes
                        episode_count: 366
                        group_count: 20
                        id: 6046e9d3c8a5ac006ffcf1fa
                        name: TVMaze Order
                        network: null
                        type: 1
                      - description: >-
                          A list of the TVDB order can be found here:
                          https://thetvdb.com/series/american-dad/allseasons/official
                        episode_count: 344
                        group_count: 19
                        id: 6268161a7cffda006544e4cf
                        name: TVDB Order
                        network: null
                        type: 1
                      - description: >-
                          All episodes in wikipedia order. The full list can be
                          found here:
                          https://en.wikipedia.org/wiki/List_of_American_Dad!_episodes
                        episode_count: 344
                        group_count: 19
                        id: 6267bcbe4ccc50009cb1ba89
                        name: Wikipedia Order
                        network: null
                        type: 1
                      - description: >-
                          The full list of episodes for the Wikia order can be
                          viewed here:
                          https://americandad.fandom.com/wiki/Episode_Guide_List
                        episode_count: 344
                        group_count: 17
                        id: 6267bf9b4ccc50009cb1bf72
                        name: Wikia Order
                        network: null
                        type: 1
                      - description: ''
                        episode_count: 366
                        group_count: 1
                        id: 63633c21a6a4c10082dab28b
                        name: absolute order
                        network: null
                        type: 2
                      - description: ''
                        episode_count: 256
                        group_count: 14
                        id: 5ad23bc2c3a3683ef50133b0
                        name: DVD Order
                        network: null
                        type: 3
                      - description: ''
                        episode_count: 234
                        group_count: 13
                        id: 651863caea84c7012d672f2c
                        name: United Kingdom DVD Order
                        network: null
                        type: 3
                      - description: ''
                        episode_count: 368
                        group_count: 19
                        id: 5ad240319251417367012053
                        name: TBS Digital Order
                        network:
                          id: 68
                          logo_path: /65r0kR6MfOBYF0gEQsJGM6v5fEG.png
                          name: TBS
                          origin_country: US
                        type: 4
                      - description: Episode order on Disney+.
                        episode_count: 373
                        group_count: 20
                        id: 628409a2dcf875334e500e8c
                        name: Disney Plus
                        network:
                          id: 2739
                          logo_path: /1edZOYAfoyZyZ3rklNSiUpXX30Q.png
                          name: Disney+
                          origin_country: ''
                        type: 4
                      - description: ''
                        episode_count: 366
                        group_count: 18
                        id: 5ad22ef3c3a3683eef010c3d
                        name: Production Order
                        network: null
                        type: 6
components:
  parameters:
    SeriesID:
      name: series_id
      description: a uniques identifier for a tv serie
      in: path
      required: true
      schema:
        type: integer
      examples:
        example1:
          value: 122
        example2:
          value: 123
        example3:
          value: 110381
        example4:
          value: 1433
        example5:
          value: 93405
        example6:
          value: 1399
        example7:
          value: 84007
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````