The Movie Database Support

Hi all, I'm currently building out an application that iterates over and sequentially pulls 1000 movies and tv shows per day from the following end points (api_key is my own personal key and movie_page_number/show_page_number are read in/updated after each run:)

However, it seems the number of pages for both movies and tv shows is capped at 500. Is this true, and if so, are there any other movie/show databases that don't face this issue. If it isn't the case and we can extract more data, how can we do so? The goal of this project is to continually pull in new titles with the associated genre and ratings for recommendation model purposes.

3 replies (on page 1 of 1)

Jump to last post

If you're trying to bring that much data in house your best option is to restrict your searches. I would think dates are you best friend here, so something like:

https://api.themoviedb.org/3/discover/movie?api_key=###&page=N&primary_release_date.gte=2010-01-01&primary_release_date.lte=2010-12-31
https://api.themoviedb.org/3/discover/movie?api_key=###&page=N&primary_release_date.gte=2011-01-01&primary_release_date.lte=2011-12-31
https://api.themoviedb.org/3/discover/movie?api_key=###&page=N&primary_release_date.gte=2012-01-01&primary_release_date.lte=2012-12-31
https://api.themoviedb.org/3/discover/movie?api_key=###&page=N&primary_release_date.gte=2013-01-01&primary_release_date.lte=2013-12-31

As an example/

Thanks for the quick response - do you happen to know what's the complete lookback window movies/tv shows? Also will rate limits apply when extracting data for eg a year period at once?

Each response will contain the total results. If you are curious about the DB as a whole, you can look at the daily ID exports.

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