Movie and TV Show IDs
To find a movie or TV show ID, use the Search API:Example Response:
id
field (e.g., 550
) is the Movie ID you need.
Person (Actor, Director, etc.) IDs
To get an actor’s or director’s ID, use the Person Search API:Example Response:
id
field (e.g., 287
) is the Person ID.
Collection IDs
Some movies belong to collections, and you can retrieve collection IDs via the Movie Details API:Example Response:
id
inside belongs_to_collection
(e.g., 2344
) is the Collection ID.
Genre IDs
To fetch available genres and their IDs, use the Genres API:Example Response:
id
(e.g., 28
) is the Genre ID.
TV Season and Episode IDs
To get season and episode details, use the TV Show Details API:Example Response:
id
(e.g., 23456
) is the Episode ID.
Alternative Method: TMDb Website
You can also manually find IDs by searching for a movie, TV show, or person on TMDb and checking the URL:- Movie:
https://www.themoviedb.org/movie/550
→ ID =550
- TV Show:
https://www.themoviedb.org/tv/1101
→ ID =1101
- Person:
https://www.themoviedb.org/person/287
→ ID =287