Discover movies by filter
discover_moviesFind movies using filters like genre, release year, minimum rating, original language, region, and sort order instead of a title; returns up to a set limit.
Instructions
Find movies by filters instead of a name: genre, release year, minimum rating, original language, region and sort order. Use it for requests like "best rated sci-fi from 2010" or "popular French comedies". Returns at most limit movies (default 10). Common genre ids: 28 Action, 12 Adventure, 16 Animation, 35 Comedy, 80 Crime, 99 Documentary, 18 Drama, 10751 Family, 14 Fantasy, 36 History, 27 Horror, 10402 Music, 9648 Mystery, 10749 Romance, 878 Science Fiction, 53 Thriller, 10752 War, 37 Western. When you sort by vote_average, also set vote_count_gte (for example 200) so that titles with a handful of votes do not lead the list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Result page number, starting at 1. Each page holds up to 20 results. | |
| limit | No | Maximum number of results to return, 1 to 20. Default 10. Keep it small to save context. | |
| region | No | ISO 3166-1 country code, for example US or DE. Used for release dates and certifications. | |
| sort_by | No | Sort order, for example popularity.desc (default) or vote_average.desc. | |
| language | No | Language tag for titles and overviews, for example en-US, ru-RU or pt-BR. Served languages: en, ru, uk, be, zh, pt, bg, he, cs, ro, fr, pl, it, es. Any other tag falls back to English. Omit to use the server default. | |
| with_genres | No | Genre ids. A movie must match all of them. Example: [878, 12] for science fiction and adventure. | |
| vote_count_gte | No | Minimum number of votes, for example 500. Filters out titles with too few votes to trust. | |
| vote_average_gte | No | Minimum vote average on a 0 to 10 scale, for example 7.5. | |
| primary_release_year | No | Only movies whose primary release year is this year, for example 2010. | |
| with_original_language | No | Original language as an ISO 639-1 code, for example fr, ja or ru. |