The Movie Database Support

Can you let me know the api end point for search movies, series, tv etc based on watch provider like I want to search movies available on Netflix and so on If possible please reply me on anil.webwiders@gmail.com as well thanks and regards Anil Vishwakarma

4 replies (on page 1 of 1)

Jump to last post

@Doloreste said:
Is their any api to search movie based on watch provider
I have also try this
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&region=US&with_watch_providers=Netflix

You should always use the ID and not the provider name. In the case ID 8 and not Netflix.

and
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&region=US&with_watch_providers=8

I believe you need to add the &watch_region=US parameter. or any other country.
See the difference:

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&region=US&with_watch_providers=8
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&region=US&with_watch_providers=8&watch_region=US

Discover api not support page number more that 500 https://prnt.sc/tM3Wc1zRAI_w

@Doloreste said:
Discover api not support page number more that 500
https://prnt.sc/tM3Wc1zRAI_w

The limit is 500 pages with 20 items per page.
What I can suggest is to make the Discover API Request decreasing the searched universe.
For this I use the primary_release_date.gte and primary_release_date.lte parameters.
So you can limit it to 5 years for example.

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&region=US&sort_by=primary_release_date.desc&page=1&release_date.gte=2018-01-01&release_date.lte=2022-12-31&with_watch_providers=8&watch_providers US   

Decrease the time frame until you receive less than 500 pages in the response.

But I tested the example request I posted and in the response I only had 121 pages.

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&region=US&sort_by=primary_release_date.desc&page=1&with_watch_providers=8&watch_region=US  
total_pages 121  
total_results   2419  

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