The Movie Database Support

Hi all, i am not able to undestand why the "search movie" function is not checking the years. I have a search like this: query: "Halloween" year: "2018" 'https://api.themoviedb.org/3/search/movie?query=Halloween&include_adult=false&year=2018'

I am getting this result: "id": 948, "original_language": "en", "original_title": "Halloween", "overview": "Fifteen years after murdering his sister on Halloween Night 1963, Michael Myers escapes from a mental hospital and returns to the small town of Haddonfield, Illinois to kill again.", "popularity": 82.416, "poster_path": "/wijlZ3HaYMvlDTPqJoTCWKFkCPU.jpg", "release_date": "1978-10-24", "title": "Halloween", "video": false, "vote_average": 7.563, "vote_count": 5036 }, { "adult": false, "backdrop_path": "/tZ358Wk4BnOc4FjdGsiexAUvCMH.jpg", "genre_ids": [ 27, 53 ], "id": 424139, "original_language": "en", "original_title": "Halloween", "overview": "Laurie Strode comes to her final confrontation with Michael Myers, the masked figure who has haunted her since she narrowly escaped his killing spree on Halloween night four decades ago.", "popularity": 77.035, "poster_path": "/f7JAX5EGk4GgsEnus6OxyzwpFp7.jpg", "release_date": "2018-10-18", "title": "Halloween", "video": false, "vote_average": 6.548, "vote_count": 4367 },

Why i am getting the first result? The year is "1978" but i am searching for "2018". Can someone help me?

2 replies (on page 1 of 1)

Jump to last post

Why i am getting the first result? The year is "1978" but i am searching for "2018".

Because this movie was re-released theatrically in 2018. "year=" check all the release dates listed for each movie.

Can someone help me?

You need to use "primary_release_year" instead of "year=".

@superboy97 said:

Why i am getting the first result? The year is "1978" but i am searching for "2018".

Because this movie was re-released theatrically in 2018. "year=" check all the release dates listed for each movie.

Can someone help me?

You need to use "primary_release_year" instead of "year=".

Thanks a lot, i will give a try with "primary_release_year".

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