The Movie Database Support

Dear Sir/Madam

Can I filter or search movie by genre? I want to search movie by genre while client easy to find more than search other.

1 reply (on page 1 of 1)

Jump to last post

Yes, it is possible.
First you need to know what the Gender IDs are.
They will be used as a filter or parameter in the search.
https://developers.themoviedb.org/3/genres/get-movie-list
https://api.themoviedb.org/3/genre/movie/list?api_key=[MY_KEY]&language=en-US

Second, use the Filter or Genre parameter in your Request.
https://developers.themoviedb.org/3/discover/movie-discover
For example, using Action (28) and Adventure (12) and Crime (80).
https://api.themoviedb.org/3/discover/movie?api_key=[MY_KEY]&language=en-US&page=1&primary_release_year=2019&with_genres=28,12,80

Also note that a number of filters support being comma (,) or pipe (|) separated.
Comma's are treated like an AND and query while pipe's are an OR.

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