Search⌘ K
AI Features

Some Useful IDs

Explore how to obtain and use essential TMDB IDs including movie_id, tv_id, and person_id. Learn to retrieve these IDs through search endpoints and daily export files to effectively use the TMDB API in your projects.

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:

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

  2. Another way is to get a list of all the valid movie IDs on TMDB by using its daily file exports page. The ...