External IDs

Get the external IDs for a movie, supported external IDs are IMDB, Facebook, Instagram, Twitter, and Wikidata.

tmdb.movies.external_ids(params: MovieExternalIDsParams): Promise<MovieExternalIDs>;

Parameters

NameTypeRequiredDescription
movie_idnumberThe ID of the movie.

Example

const result = await tmdb.movie.external_ids({ movie_id: 550 });

Types

Response Type

export type MovieExternalIDs = {
    id: number;
    imdb_id: string | null;
    facebook_id: string | null;
    twitter_id: string | null;
    instagram_id: string | null;
};
export type MovieExternalIDsParams = {
    movie_id: number;
};

Example Response

{
    "id": 550,
    "imdb_id": "tt0137523",
    "wikidata_id": "Q190050",
    "facebook_id": "FightClub",
    "instagram_id": null,
    "twitter_id": null
}