The Movie Database Support

I'm creating a movie recommender app for a college project and using the discover API to find or discover movies based on different types of user input. When I make a request to the API there are 10,000 results, 500 pages but only 20 results per page. Is there a way I can have all 10000 results in one Json file?

4 replies (on page 1 of 1)

Jump to last post

Hi @michaelrjr,

No, we do not support any API methods that can return the full dataset. Your only real option would be to bring the data in house. To do that, you can use the daily ID exports and iterate over the individual IDs.

Cheers.

okay and so how can we get the additional data after the first 20 results...

Use the page param.

https://api.themoviedb.org/3/discover/movie?api_key=###&page=1
https://api.themoviedb.org/3/discover/movie?api_key=###&page=2
https://api.themoviedb.org/3/discover/movie?api_key=###&page=3

Etc.

ohh okk thanks! also can you point me to some resources applying the same. That would be amazing!

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