The Movie Database Support

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

12 replies (on page 1 of 1)

Jump to last post

It is not possible to obtain several of these categories using the API.

  1. What's Popular - Streaming = NO
  2. What's Popular - On TV = Similar.
  3. What's Popular - For Rent = NO
  4. What's Popular - In Theaters = Similar.
  5. Free To Watch - Movies = NO
  6. Free To Watch - TV = NO

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.

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.

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. :-)

@ticao2 said:

It is not possible to obtain several of these categories using the API.

  1. What's Popular - Streaming = NO
  2. What's Popular - On TV = Similar.
  3. What's Popular - For Rent = NO
  4. What's Popular - In Theaters = Similar.
  5. Free To Watch - Movies = NO
  6. Free To Watch - TV = NO

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.

Hi, is there still no way to obtain the categories marked with a NO above?

@shahood said:

Hi, is there still no way to obtain the categories marked with a NO above?

Exactly.
Nothing changed.
It is not yet possible to get data from JustWatch using the TMDb API.

See below for the correct answer.

Sure they are, here's some basics to get you started:

  • Popular streaming (movies): /3/discover/movie?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
  • Popular streaming (TV): /3/discover/tv?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
  • Popular in theatres (movies): /3/discover/movie?api_key=###region=US&with_release_type=3&release_date.gte=###&release_date.lte=###
  • Popular on TV (TV): /3/discover/tv?api_key=###&timezone=America/Edmonton&air_date.gte=###&air_date.lte=###
  • Popular for rent (movies): /3/discover/movie?api_key=###&with_watch_monetization_types=rent&watch_region=US
  • Free To Watch (movies): /3/discover/movie?api_key=###&with_watch_monetization_types=ads|free&watch_region=US
  • Free To Watch (TV): /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)

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:

  • Popular streaming (movies): /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.

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.

I don't see any mention of with_ott_monetization_types in the docs. Do with_ott_monetization_types and with_watch_monetization_types serve the same purpose?

Ah yes, that’s a typo on my part. with_watch_monetization_types is the correct filter.

@travisbell said:

Ah yes, that’s a typo on my part. with_ott_monetization_types is the correct filter.

Umm, u mean with_watch_monetization_types is the correct filter....right? Because, with_ott_monetization_types is not mentioned in the docs.

I really do. Typo x 2. Serves me right for trying to do this on my phone. wink

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login