Поддержка The Movie Database

I'm using the "Upcoming" endpoint to get a list of upcoming movies. That's returning some movies whose release dates are in the past. For example, it's including "M3GAN" in the list, which was released 2022-2023, and that's the data that's reflected in both the "Upcoming" endpoint and the "Details" endpoint. I have to look at the "Releases" endpoint to see that there's a US release in 2025, which is why it's included.

However, there's no detail for it. All I get is:

{
  "certification": "PG-13",
  "descriptors": [],
  "iso_639_1": "",
  "note": "",
  "release_date": "2025-04-30T00:00:00.000Z",
  "type": 2
},

While looking at the IMDB Release Info for the movie, it specifically calls it out as "(re-release, limited)". Looking at the Release Dates section of the Movie Bible, it doesn't mention re-releases at all, so I assume this isn't a simple concept to add in. It's not a massive issue as they can be filtered client-side, but it is a bit frustrating.

I do wonder, though, why it's looking at the most recent release date, as opposed to the oldest available release date? Generally, if a movie has been released at all in the region for the given release type, I'd say it's no longer "Upcoming".

1 ответ (на странице 1 из 1)

Jump to last post

See the NOTE on the page for this request.
https://developer.themoviedb.org/reference/movie-upcoming-list

Note
This call is really just a discover call behind the scenes.
If you would like to tweak any of the default filters head over and read about discover.

I believe this is the solution for your case.
Replace &release_date with &primary_release_date
Maybe this will solve your problem.
But we will only know by experimenting.
See the example of the Request used and my suggested change to meet your desire.

https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_release_type=2|3&release_date.gte={min_date}&release_date.lte={max_date}  
https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_release_type=2|3&primary_release_date.gte={min_date}&primary_release_date.lte={max_date}

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти