I am trying to create a function that scrapes netflix website, that working good.
But after getting netflix movie id's, how can I find the related tmdb id.
I am trying to create a function that scrapes netflix website, that working good.
But after getting netflix movie id's, how can I find the related tmdb id.
Is there an endpoint that I can use?
Hello! Unfortunately, there isn’t a direct endpoint in the TMDB API to convert Netflix IDs to TMDB IDs.
Typically, the approach is:
Gather the title information from Netflix (title, release year, etc.).
Use TMDB’s search endpoint—for example, GET /search/movie or GET /search/tv — to search by the title name and refine the query with the release year or other details.
Compare the results with your data (title, cast, release date) to find the correct match.
Store the Netflix ↔ TMDB ID mapping locally, so you don’t need to repeat the search in the future.
This way, you can link a Netflix title to TMDB even though there isn’t a ready-made mapping. If you have many titles, it’s worth creating a script to automate the search and matching process.
Victor Franco 的回复
于 2025 年 03 月 03 日 11:13下午
Hello! Unfortunately, there isn’t a direct endpoint in the TMDB API to convert Netflix IDs to TMDB IDs.
Typically, the approach is:
GET /search/movie
orGET /search/tv
— to search by the title name and refine the query with the release year or other details.This way, you can link a Netflix title to TMDB even though there isn’t a ready-made mapping. If you have many titles, it’s worth creating a script to automate the search and matching process.
Hope this helps!