The Movie Database Support Forum

When using the API to call upcoming movies it is falling back as much as 11 years even with a date range applied - this also happens on the TMDB site itself (try it and add a date range); this is counter-intuitive as a movie from 2009 is not upcoming. Can this be investigated and corrected so that only movies that have not been released yet can appear in upcoming movies?

With thanks

4 Antworten (Seite 1 von 1)

Jump to last post

Hi @Davyc1,

There's some subtlety here that you need to watch out for, and also let's separate the website query from the API query. The upcoming query searches for releases types 2 & 3, in that order, and without a specified region, will search worldwide. Let's compare these two queries:

https://api.themoviedb.org/3/movie/upcoming?api_key=###

Returns 132 items right now.

https://api.themoviedb.org/3/movie/upcoming?api_key=###&region=US

Returns 17 items right now. Behind the scenes this is just assembling a discover query, so depending on your use case you are free to tweak this and build your own (say to include digital releases).

Now, the website will show you all the filters so you can see exactly what's going on. Click the "Filters" dropdown and you'll see what's happening. Depending on your country, it may be doing different things, but as an example here's mine right now from Canada. This is the "default" view, I have not clicked or changed any settings.

Hi Travis

Thanks for the quick reply. I've set my filters pretty much the same as you but I'm still getting old movies showing despite setting a date filter.

This is what I get

It really doesn't matter what filters I set there are very old movies being returned.

@Davyc1 said:
... I've set my filters pretty much the same as you but I'm still getting old movies showing despite setting a date filter.
This is what I get
It really doesn't matter what filters I set there are very old movies being returned.

The film The Ugly Truth (2009) has a release date in Ireland at 2020-08-05.

https://www.themoviedb.org/movie/20943-the-ugly-truth/releases

It is probably this date that is causing this problem.
I don't know if it's a correct date or not.
If you can post the Upcoming API Request you made here, we may be able to find out what the problem is.
When you say you made the same API Request that Travis Bell did, did you define the same region? &region=US?
In wich country are you? Was it Ireland?

I think I got the filters figured out - it took a bit of experimenting but I got the list down to 11 all not released yet, so it's just a matter of experimenting with the filters to get the result required.

Thanks all for your help and input - fantastic support and a great site that is just top notch - thanks again :)

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