How to Get TMDB ID for Movies and TV Shows

After getting at least one TMDB API key, we can now proceed in testing the SceneFlix plugin. What we will need is the TMDB ID either for movie or TV show.

To get the TMDB Movie or TV Show ID in 2025, you can follow these key methods:

1. Search on TMDB Website

  • Go to the TMDB website and use the search bar to find the movie or TV show by its title.
  • The URL of the movie or TV show page contains the ID as a number.

For example, the show The Shawshank Redemption (1994) has the URL:
https://www.themoviedb.org/movie/278-the-shawshank-redemption?language=en-US

Here, 278 is the movie ID.

How to Get TMDB ID

Similarly, a TV show URL like https://www.themoviedb.org/tv/1399-game-of-thrones?language=en-US contains the TV show ID 1399.

2. Test It With Retrieving a Movie/TV Show Information

SceneFlix Core is equipped with Movie and Series Grabber tools. You can easily access both grabber tools under the SFCore menu:

SceneFlix fetch TMDB Movie Data by ID

Just insert the movie or TV show ID inside their respective input field then click the Fetch Data button. The movie or TV show data will then be displayed.


3. Understand ID Usage and Limitations

  • TMDB IDs are unique within their category (movie, TV show, person), but the same number can exist in different categories, so you must specify the type when querying the API.
  • You cannot use a single ID to query both movie and TV show endpoints without specifying the type.
  • Episodes do not have usable TMDB IDs like movies or series do; only movies and series have official usable IDs.

4. Additional Tips

  • If you have an ID from another database (like IMDB), you can often find the corresponding TMDB ID via cross-reference on TMDB or third-party tools.
  • Some media managers allow searching by TMDB ID by prefixing it with TMDB: in their search fields.

Summary Table

Method Description Example or Note
TMDB Website Search Search title, get ID from URL https://www.themoviedb.org/tv/1399 (ID=1399)
TMDB API Search Use /search/movie or /search/tv endpoint Returns JSON with movie_id or tv_id
ID Usage IDs unique per category; specify type in API Cannot query movie or TV by ID alone
Episodes No usable TMDB IDs for episodes Only movies and series have IDs

By using these approaches, you can reliably obtain TMDB movie and TV show IDs and use it with SceneFlix to fetch their information.

Was this page helpful?