The Movie Database Support

Can anyone help me figure out why Jaws object is showing up in the /discover/movie response showing a release_date of 2022?

See following JSON:

{
  "adult": false,
  "backdrop_path": "/xgU3KkqiME9pGe5gGCNpUYkoSWg.jpg",
  "genre_ids": [
    27,
    53,
    12
  ],
  "id": 578,
  "original_language": "en",
  "original_title": "Jaws",
  "overview": "When an insatiable great white shark terrorizes the townspeople of Amity Island, the police chief, an oceanographer and a grizzled shark hunter seek to destroy the blood-thirsty beast.",
  "popularity": 59.195,
  "poster_path": "/lxM6kqilAdpdhqUl2biYp5frUxE.jpg",
  "release_date": "2022-09-02",
  "title": "Jaws",
  "video": false,
  "vote_average": 7.7,
  "vote_count": 9326
}

And here is my /discover query string:

/discover/movie?api_key=[MY_API_KEY]&page=1&sort_by=primary_release_date.desc&with_genres=27&certification=PG|&primary_release_date.gte=1964&primary_release_date.lte=1979-12-31&air_date.gte=1964&air_date.lte=1979-12-31&vote_average.gte=5&vote_average.lte=10&vote_count.gte=120&region=US&watch_region=US&certification_country=US&language=en-US&include_adult=false&with_watch_providers=

5 replies (on page 1 of 1)

Jump to last post

Hi @lgrube3, a few things:

Discover is on an old mostly unmaintained part of our infrastructure that doesn't have a lot of the same "smarts" as what is powering the website. As such, this isn't something we're going to be fixing. The plan is for us to migrate discover to the new system that the website is using by the end of the year.

Having said that, you can actually tweak your request to prioritize which release date gets shown with the with_release_type filter.

...&with_release_type=3|2

As an example for theatrical and limited theatrical.

You're making a movie query so you should remove the air_date.lte and air_date.gte filters. Also, primary_release_date.gte expects YYYY-MM-DD format, so you should fix that up too. A good working query looks like so:

https://api.themoviedb.org/3/discover/movie?api_key=###&page=1&sort_by=primary_release_date.desc&with_genres=27&certification=PG&primary_release_date.gte=1964-01-01&primary_release_date.lte=1979-12-31&vote_average.gte=5&vote_average.lte=10&vote_count.gte=120®ion=US&watch_region=US&certification_country=US&language=en-US&include_adult=false&with_release_type=3|2

Cheers.

I really appreciate your response! I will check/fix all of these. Thanks again.

Hey @travisbell is there documentation on &with_release_type? I'd like to better understand how that query works, what are the options, and whether or not it filters results or just updates the release_date of objects.

Thanks!

Only the first paragraph here (under Advanced Filtering): https://developer.themoviedb.org/reference/discover-movie

I just found this for anyone else who is looking to learn more: https://developer.themoviedb.org/docs/region-support

Release Types
Type Release
1 Premiere
2 Theatrical (limited)
3 Theatrical
4 Digital
5 Physical
6 TV

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