> ## 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.

# External Ids

> This endpoint retrieves a list of external Ids that have been added to a TV episode.



 The supported external sources include IMDB, TheTVDB and Wikidata.
    



## OpenAPI

````yaml api-reference/openapi.yaml get /3/tv/{{series_id}}/season/{{season_number}}/episode/{{episode_number}}/external_ids
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}}/season/{{season_number}}/episode/{{episode_number}}/external_ids:
    parameters:
      - name: series_id
        in: path
        description: >-
          This represents the series ID. Get it
          [here](https://starlight.mintlify.app/api-reference/seriesid)
        required: true
        schema:
          type: string
      - name: season_number
        in: path
        description: This represents the season number of the TV show.
        required: true
        schema:
          type: string
      - name: episode_number
        in: path
        description: This represents the episode number of the TV show.
        required: true
        schema:
          type: string
    get:
      tags:
        - TV Providers
      summary: External Ids
      description: >-
        This endpoint retrieves a list of external Ids that have been added to a
        TV episode.



         The supported external sources include IMDB, TheTVDB and Wikidata.
            
      operationId: externalIds4
      responses:
        '200':
          description: External Ids
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=7948
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Mon, 30 Dec 2024 22:25:55 GMT
            ETag:
              schema:
                type: string
                example: W/"4913d7710262d140ac1e307167d4b194"
            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 a075746ea1824aa1c02a5e26a9e968e4.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: 2P9IGnQ1-d_vlUwAVjhCAC_PflCuFRik-e7QFuND8lRqcQaZ9WuqgA==
            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: '17491'
            x-memc-expires:
              schema:
                type: string
                example: '7948'
            x-memc-key:
              schema:
                type: string
                example: 88bc39a48d45999077db59c0659ab07f
          content:
            application/json:
              schema:
                type: object
                properties:
                  freebase_id:
                    nullable: true
                    example: null
                  freebase_mid:
                    nullable: true
                    example: null
                  id:
                    type: number
                    example: 5475279
                  imdb_id:
                    type: string
                    example: tt15939754
                  tvdb_id:
                    type: number
                    example: 10617348
                  tvrage_id:
                    nullable: true
                    example: null
                  wikidata_id:
                    type: string
                    example: Q131563891
              examples:
                External Ids:
                  value:
                    freebase_id: null
                    freebase_mid: null
                    id: 5475279
                    imdb_id: tt15939754
                    tvdb_id: 10617348
                    tvrage_id: null
                    wikidata_id: Q131563891
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````