The Movie Database Support

hi, i am from India and i want to list only Indian movies, please post some working sample , i have tried this https://api.themoviedb.org/3/discover/movie?api_key=xxx&region=IN&language=hi&sort_by=popularity.desc&release_date.gte=2017-08-01&with_release_type=3|2 but its not working

4 replies (on page 1 of 1)

Jump to last post

Hi there,

We don't really have a way to query the "original country" of a film. The query you have above will search for all the movies that have a release data added in India, but obviously that not anything specific to it being an Indian movie.

I have an open ticket to look at adding a filter on the production country here. I feel like that's not always going to be 100% correct either. Although closer.

Another option could be to look at the with_original_language filter.

https://api.themoviedb.org/3/discover/movie?api_key=###&region=IN&language=hi-IN&release_date.gte=2017-08-01&with_release_type=3|2&with_original_language=hi

That returns much more valid results.

Thank you so much :)

@Navdeepkaur said:
Thank you so much :)

You are giving thanks for information given in 2018.
Recently added with_origin_country feature.

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&with_origin_country=IN  

You can also use the old solution.
Filtering by the Original Language is possible.
For example, in the case of India, the &with_original_language parameter can be added.
Example

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=popularity.desc&page=1&primary_release_year=2020&with_original_language=hi|kn|ml|ta|te

But beware of duplicity:
A Language with Multiple Countries

en  English 6 (AU+CA+GB+IE+NZ+US)
fr  French 2 (CA+FR)
de  German 3 (AT+CH+DE)
ms  Malay 2 (MY+SG)
zh  Mandarin 3 (CN+HK+TW)
pt  Portuguese 2 (BR+PT)
es  Spanish 2 (ES+MX)

A Country with Multiple Languages

CA  Canada 2 (en+fr)
CN  China 2 (cn+zh)
IN  India 5 (hi+kn+ml+ta+te)
NO  Norway 2 (nb+no)
ES  Spain 4 (ca+es+eu+gl)

There's actually two other filters that might be of interest, with_origin_country and with_title_translation. Feel free to give those a try as well.

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