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

# Get external IDs

> Get the external ID's that belong to a person.



## OpenAPI

````yaml api-reference/openapi.yaml get /3/person/31/external_ids
openapi: 3.0.3
info:
  title: Endpoints
  description: This section contains all the endpoints used in the documentation.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: This section contains all endpoints used for authentication
  - name: Accounts
    description: This section contains account-specific endpoints.
  - name: Favorites
    description: >-
      This section contains all endpoints that allow a TMDB account to add
      movies, TV Shows, episodes to favorites, and also to get a list of
      favorites for the account.
  - name: Movies
    description: >-
      This section contains an endpoint to add a movie to favorites, and another
      to get a list of favorite movies for a TMDB account.
  - name: TV shows
    description: >-
      This section contains an endpoint to get the favorite TV shows for an
      account.
  - name: Watchlist
    description: >-
      This section contains all endpoints that allow a TMDB account to add
      movies, TV Shows to watchlist, and also to get a list of watchlist for the
      account.
  - name: Movies1
    description: >-
      This section contains an endpoint that allows a TMDB account to add a
      movie to watchlist, and another to get the movies in a watchlist.
  - name: TV shows1
    description: >-
      This section contains an endpoint used to get TV shows in an account's
      watchlist.
  - name: Ratings
    description: >-
      This section contains endpoints used to get all movies, TV Shows, and
      episodes rated by a TMDB account.
  - name: Movies12
    description: >-
      This section contains an endpoint used to get a list of movies rated by a
      TMDB account.
  - name: TV shows12
    description: >-
      This section contains an endpoint used to get a list of TV shows rated by
      a TMDB account.
  - name: Episodes
    description: >-
      This section contains an endpoint used to get a list of episodes rated by
      a TMDB account.
  - name: Lists
    description: Endpoints for a TMDB account lists.
  - name: Guest sessions
    description: This section contains all endpoints accessible by a guest session.
  - name: Movies
    description: For movies.
  - name: TV episodes
    description: >-
      This section contains all endpoints used to retrieve data for all TV
      episodes.
  - name: TV seasons
    description: >-
      This section contains all endpoints used to retrieve data for all TV
      seasons.
  - name: TV series
    description: >-
      This section contains all endpoints used to retrieve data for all TV
      series.
  - name: TV series lists
    description: This section contains all endpoints used to list TV series.
  - name: TV episode groups
    description: This section contains an endpoint used to retrieve data for TV episodes.
  - name: Watch providers
    description: Get available regions.
  - name: People
    description: About people lists.
  - name: Companies
    description: >-
      This section contains all endpoints used to retrieve data for supported
      companies.
  - name: Discover
    description: This section contains all endpoints used to discover movies and TV shows.
  - name: Recent changes
    description: >-
      This section contains all endpoints used to get recent changes in the TMDB
      database.
  - name: Credit
    description: This section contains an endpoint used to retrieve movie credits.
  - name: Certifications
    description: >-
      This section contains all endpoints used to get certification for movies
      and TV shows.
  - name: Collections
    description: This section contains all endpoints used to retrieve data for collections
  - name: Configuration
    description: >-
      This section contains all endpoints used to retrieve data on TMDB's
      configurations.
  - name: Find
    description: >-
      This section contains an endpoint used to search the TMDB database by
      External ID.
  - name: Genres
    description: This section contains endpoints related to genres.
  - name: Keywords
    description: >-
      This section contains an endpoint used to get keywords in the database by
      an ID.
  - name: Movie lists
    description: >-
      This section contains all endpoints used to retrieve movies by multiple
      search filters.
  - name: Networks
    description: For network endpoints.
  - name: Reviews
    description: For reviews endpoints.
  - name: Search
    description: For search endpoints.
  - name: Trending
    description: For trending videos.
paths:
  /3/person/31/external_ids:
    get:
      tags:
        - People
      summary: Get external IDs
      description: Get the external ID's that belong to a person.
      operationId: getExternalIds4
      responses:
        '200':
          description: New Request
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=13713
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Thu, 02 Jan 2025 13:44:19 GMT
            ETag:
              schema:
                type: string
                example: W/"87eaf1721b461737fcb5acc0a52fc425"
            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 343bfbd831f62ab698056c2ca0efaabc.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: xkHrtSAneQCOybCe4pZjqfHed_glskdOVczZW2I6_1t85UsRiaWskw==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: CDG50-C1
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            x-memc:
              schema:
                type: string
                example: HIT
            x-memc-age:
              schema:
                type: string
                example: '11687'
            x-memc-expires:
              schema:
                type: string
                example: '13713'
            x-memc-key:
              schema:
                type: string
                example: 4455b22710fdfffde8376c227a0d23ca
          content:
            application/json:
              schema:
                type: object
                properties:
                  facebook_id:
                    type: string
                    example: TomHanks
                  freebase_id:
                    type: string
                    example: /en/tom_hanks
                  freebase_mid:
                    type: string
                    example: /m/0bxtg
                  id:
                    type: number
                    example: 31
                  imdb_id:
                    type: string
                    example: nm0000158
                  instagram_id:
                    type: string
                    example: tomhanks
                  tiktok_id:
                    type: string
                    example: tomhanks
                  tvrage_id:
                    type: number
                    example: 14293
                  twitter_id:
                    type: string
                    example: tomhanks
                  wikidata_id:
                    type: string
                    example: Q2263
                  youtube_id:
                    nullable: true
                    example: null
              examples:
                New Request:
                  value:
                    facebook_id: TomHanks
                    freebase_id: /en/tom_hanks
                    freebase_mid: /m/0bxtg
                    id: 31
                    imdb_id: nm0000158
                    instagram_id: tomhanks
                    tiktok_id: tomhanks
                    tvrage_id: 14293
                    twitter_id: tomhanks
                    wikidata_id: Q2263
                    youtube_id: null
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````