Dear TMDB API developers/supporters:
I am facing an issue where I am trying to create an api request so that I can get the results on the front page such as Popular and streaming, popular and on tv, popular and in theaters, popular and for rent, what's free and movies, what's free and tv, and last but not least how to search through the system.
If anyone could help me out I would greatly appreciate it.
Regards
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 π§π· pt-BR
on June 1, 2020 at 9:27 AM
It is not possible to obtain several of these categories using the API.
In the future, perhaps, depending on the conversations, it will be possible via API to receive results with Streaming.
What's Popular - On TV
https://developers.themoviedb.org/3/tv/get-popular-tv-shows
What's Popular - In Theaters
https://developers.themoviedb.org/3/movies/get-popular-movies
Click on the Try it out tab, enter your Key and your Language, and do the search.
Reply by Tall-Lobster
on June 1, 2020 at 5:52 PM
Dear @ticao2 :
I really appreciate that you responded back to me regarding this and helped me get the respective links for what can be done with the API. I would like to know then if this was possible to get those requests with using the api requests in combination with something else?
Because I know TMDB uses JustWatch to figure out for example which content is being streamed, i was wondering if you had an ideas to do this.
Regards.
Reply by ticao2 π§π· pt-BR
on June 2, 2020 at 12:51 PM
Travis Bell has already clarified this issue for some users.
TMDb is not yet authorized to use JustWatch data in the API.
If I remember correctly, he said that there are talks but so far nothing has been resolved.
So, we have to wait. :-)
Reply by shahood
on February 24, 2023 at 6:17 AM
Hi, is there still no way to obtain the categories marked with a NO above?
Reply by ticao2 π§π· pt-BR
on February 24, 2023 at 10:42 AM
Exactly.Nothing changed.It is not yet possible to get data from JustWatch using the TMDb API.See below for the correct answer.
Reply by Travis Bell
on February 24, 2023 at 1:48 PM
Sure they are, here's some basics to get you started:
/3/discover/movie?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
/3/discover/tv?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
/3/discover/movie?api_key=###region=US&with_release_type=3&release_date.gte=###&release_date.lte=###
/3/discover/tv?api_key=###&timezone=America/Edmonton&air_date.gte=###&air_date.lte=###
/3/discover/movie?api_key=###&with_watch_monetization_types=rent&watch_region=US
/3/discover/movie?api_key=###&with_watch_monetization_types=ads|free&watch_region=US
/3/discover/movie?api_key=###&with_watch_monetization_types=ads|free&watch_region=US
(I've edited my post to use the correct filters, that was a typo, my bad)
Reply by shahood
on February 24, 2023 at 9:04 PM
Woah! This discover endpoint is quite powerful. Thanks for sharing this info.
By the way, which of the filters in the first 5 is used to make sure only popular movie or TV titles are fetched? For example:
/3/discover/movie?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
There is not even a sorting applied to make sure only popular titles come out.
Reply by Travis Bell
on February 24, 2023 at 9:28 PM
Hey @shahood,
All discover calls default to sorting by popularity so unless you want to sort them some other way, you donβt need to specify a sort option.
Reply by shahood
on February 25, 2023 at 12:20 AM
I don't see any mention of
with_ott_monetization_types
in the docs. Dowith_ott_monetization_types
andwith_watch_monetization_types
serve the same purpose?Reply by Travis Bell
on February 25, 2023 at 1:15 AM
Ah yes, thatβs a typo on my part.
with_watch_monetization_types
is the correct filter.Reply by shahood
on February 25, 2023 at 1:42 AM
Umm, u mean
with_watch_monetization_types
is the correct filter....right? Because,with_ott_monetization_types
is not mentioned in the docs.Reply by Travis Bell
on February 25, 2023 at 10:41 AM
I really do. Typo x 2. Serves me right for trying to do this on my phone.