I've read every post on here about release dates and am still unclear on how to get the US theatrical release date for movies.
(I don't want any other dates.)
When I search for a movie using region=US and with_release_type=3, I get the wrong release date.
For example, the Ravenous release date on its TMDB page is March 16, 1999.
But when I use the parameters above (ex: https://api.themoviedb.org/3/movie/10212?api_key=123123123123123123®ion=US&with_release_type=3) I get a "release_date": "1999-01-01".
What am I missing here?
Thanks!
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 🇧🇷 pt-BR
on June 11, 2024 at 3:48 PM
I believe you are mixing Discover Request filters
https://developer.themoviedb.org/reference/discover-movie
with Movie Details Request filters that you already know the ID of.
https://developer.themoviedb.org/reference/movie-details
The release_date for this film, ID 10212, in Canada is 1/1/1999.
https://www.themoviedb.org/movie/10212-ravenous/releases
It's the oldest.
So it's the worldwide release date, the primary_release_date.
If you want to know the release date in the USA
then use the parameter &append_to_response=release_dates
and you will receive all the release dates in the world.
https://api.themoviedb.org/3/movie/10212?append_to_response=release_dates&language=en-US
Filtering only en-US should be done on your end.
Reply by Toobzee
on June 21, 2024 at 3:24 AM
Thanks @ticao2. (Sorry, I thought I replied to this earlier!) Trying this now!