Some Useful IDs
Explore how to find and use various TMDB IDs including movie_id, tv_id, and person_id via API search endpoints and daily JSON exports. Understand how to fetch external IDs for movies and TV shows to enhance your application's data integration.
We'll cover the following...
For TMDB’s basic movie and TV endpoints, we require movie_id and tv_id. Here’s how we can extract their valid values:
Movie IDs
The value for movie_id can be any integer that is currently a valid movie ID in TMDB. Here are some examples of valid movie IDs on TMDB:
Movie Name | Movie ID |
The Godfather | 238 |
Spider-Man: No Way Home | 634649 |
Child's Play | 10585 |
Dhamaal | 20413 |
Big Hero 6 | 177572 |
Here are two primary methods to get the valid movie_id:
-
One way is to use the search endpoint. This endpoint takes in a query string and sends us the JSON response which has the value of
movie_id. -
Another way is to get a list of all the valid movie IDs on TMDB by using its daily file exports page. The values are updated daily at 7 am UTC and can be downloaded by 8 am UTC! ...