The Movie Database Support

Is there any way to retrieve a list of movies by genre alone and if not, is creating your own database using parsed api data allowed or is it against the terms of use?

2 replies (on page 1 of 1)

Jump to last post

You can use discover method of our API. E.g. to get a list of English action movies sorted by popularity:

https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=false&page=1&with_genres=28&with_original_language=en

Notes:

  1. Discover methods return only first 10 000 matches. If you need more movies, you must split your discover query into smaller batches, e.g. by years.
  2. You can get the list of all valid genre ids by using genre API method.
  3. "&with_genres=" parameter supports more genre ids being comma (,) or pipe (|) separated. Comma's are treated like an AND and query while pipe's are an OR.

Amazing! This is exactly what I was looking for. Thanks for your help!

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