The Movie Database Support Forum

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 Antworten (Seite 1 von 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!

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden