Can endpoints be filtered by Genre?
For example, the Now Playing (https://api.themoviedb.org/3/movie/now_playing
) or the Search Movie (https://api.themoviedb.org/3/search/movie
) endpoints return only movies by specific genre.
In this way: https://api.themoviedb.org/3/movie/now_playing?genre=animation
returns only animation movies that are Now Playing.
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 October 8, 2024 at 12:53 PM
Using Search Movies is not possible.
In the case of Now Playing it is possible.
https://developer.themoviedb.org/reference/movie-now-playing-list
As the text on the page states, it is based on Discover.
https://developer.themoviedb.org/reference/discover-movie
Just specify the release_date values.
For example:
And you can specify one or more genre IDs, separated by commas.