The Movie Database Support

Hello,

I'm encountering an issue with the discover/movie endpoint when trying to filter movies based on vote_average and vote_count. Here's the API call I'm using:

https://api.themoviedb.org/3/discover/movie?api_key=myapikey&include_adult=false&language=en-US&region=US&include_image_language=en,null&vote_count.gte=11&page=3&without_keywords=267122,5436,195918,195999,197314

The problem is that I expect the results to include movies with a vote_count greater than or equal to 11, but I see many results with lower vote_count values. Am I missing something in my query, or is there an issue with how the filters are applied? The keyword ID filters are not working either; I'm using over 200 of them.

Thanks in advance!

2 replies (on page 1 of 1)

Jump to last post

@thinkwebb said:
without_keywords and vote_count.gte not filtering
Hello,
I'm encountering an issue with the discover/movie endpoint when trying to filter movies based on vote_average and vote_count. Here's the API call I'm using:

https://api.themoviedb.org/3/discover/movie?api_key=myapikey&include_adult=false&language=en-US&region=US&include_image_language=en,null&vote_count.gte=11&page=3&without_keywords=267122,5436,195918,195999,197314  

I added the filter &sort_by=vote_count.asc and the first results have 11 in vote count.

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&include_adult=false&language=en-US&region=US&include_image_language=en,null&vote_count.gte=11&page=3&without_keywords=267122,5436,195918,195999,197314&sort_by=vote_count.asc  

The problem is that I expect the results to include movies with a vote_count greater than or equal to 11,
but I see many results with lower vote_count values.
Am I missing something in my query, or is there an issue with how the filters are applied?

Try it and tell me if you still get movies with less than 11 vote count.

The keyword ID filters are not working either; I'm using over 200 of them.
Thanks in advance!

I didn't check the keywords.

This parameter, &include_image_language=en,null, doesn't work in Discover.
Only when it asks for Movie or Video Details with the Append To Response feature.

Thank you, the issue was on my end. Your filtering tip helped, though!

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