I am using the watch-providers endpoint (https://developers.themoviedb.org/3/movies/get-movie-watch-providers) to get access to which services are available to watch a movie on.
I notice that the response returns "buy" (which services you can buy it from), "rent" (to rent from), and "link", which redirects me to a TMDB website. But there is no response that returns where it is streaming.
What I find weird is that on the TMDb website, I can actually view the streaming services the movie is on. For example: https://www.themoviedb.org/movie/505642-black-panther-wakanda-forever/watch?locale=US This shows what service Black Panther is streaming on.
How can I get that through the API?
Film of tv-serie niet gevonden? Log dan in om deze te creëren.
Want to rate or add this item to a list?
Not a member?
Reactie van ticao2 🇧🇷 pt-BR
op 26 maart 2023 om 10:39 AM
If I understand correctly, you can't.
All data is provided by JustWatch.
In the agreement with them we can only inform, via our API, who is providing the service.
But we cannot provide the direct link to the movie page on the streaming service.
It is necessary to use the JustWatch link that is on the website page.
This is how JustWatch earns revenue.
Reactie van Travis Bell
op 28 maart 2023 om 6:01 PM
It depends what you're asking specifically about @TMDBwahwahwah. If it's just a list of the streaming providers, those are provided in the same response you already mentioned, under the
flatrate
key.If you want to get the full deep link, @ticao2 is right. We do not provide that data on the API, and you'll have to link to our
/watch
pages.Cheers.
Reactie van TMDBwahwahwah
op 28 maart 2023 om 9:58 PM
Oh no, I don't need the link, I just want to return the list of streaming services it is on.
Reactie van TMDBwahwahwah
op 28 maart 2023 om 9:59 PM
Based on what you are saying, flatrate seems to be what I am looking for.
Using the black panther example in the opening past, I just want to get info as to what streaming service it's on (disney plus)... I do not actually need to go to the page itself.