The Movie Database Support

Hello, So I Was playing with the API and I found that when I search for a movie the query is done with the original titles of movies, So when you want to search for a movie that the original title is in another language, for example: https://www.themoviedb.org/movie/575604?language=en-US, The movie doesn't show up in the results, the only way to have it in the results is to search with it's original language... Is there any way to search for movies with their "title" in place of "original_title"... Thank you.

8 replies (on page 1 of 1)

Jump to last post

@ama_blbs said:
Movie search with original_title only ?
Hello, So I Was playing with the API and
I found that when I search for a movie the query is done with the original titles of movies,

The search can be done using the title in any language as a query.
It can be the Original Title or the Local Title, used in your country.
For example this research of a Kurosawa film.
https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=pt-BR&query=影武者
https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=pt-BR&query=Kagemusha,+a+Sombra+do+Samurai

So when you want to search for a movie that the original title is in another language, for example:
https://www.themoviedb.org/movie/575604?language=en-US,
The movie doesn't show up in the results,
the only way to have it in the results is to search with it's original language...
Is there any way to search for movies with their "title" in place of "original_title"...
Thank you.

Above you can see the search for a Kurosawa film (Japanese) done with the title used in my country (pt-BR).
And the search worked correctly, the result is the same.

I believe that perhaps the problem must be occurring for some other reason.
And so that we can find out what the problem is ...

In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are using.
Not the programming code you used to build the API Request.
But the API Request that is sent to the TMDb server.
Remember to replace your Key with THE_KEY , or something like that.

Hello again, I am sorry it took me forever to respond, I was a little bit busy and I forgot about this error till now. So I tried the two requests in your response and they worked perfectly, but then I tried the same request with just changing the name of the movie. The movie I tried is 콜. So the movie is "콜" in Korean and "The call" in English and "Call" in French ( the language I am using is French ), The following request gives me the movie as the first result. The request is with the Korean name and a French result

but I can't find the movie in any of the following requests:

The request is for French result and with the French name of the movie

The request is for French result with the English Name of the movie

The request is for English result with the English Name of the movie

I am not that familiar with the API so I am sure I might be wrong in something obvious But I would Appreciate if you can help me with anything here. Thank You.

Just to facilitate understanding and investigation.
In those cases of evaluating problems with API Request
it is better to visualize how the Request is actually built, and not "hide" behind a Link.

@ama_blbs said:
The movie I tried is 콜 - https://www.themoviedb.org/movie/575604
So the movie is "콜" in Korean and "The call" in English and "Call" in French ( the language I am using is French ),
The following request gives me the movie as the first result.
The request is with the Korean name and a French result - https://api.themoviedb.org/3/search/movie?api_key=API_KEY&language=fr-FR&query=%EC%BD%9C
but I can't find the movie in any of the following requests:
The request is for French result and with the French name of the movie - https://api.themoviedb.org/3/search/movie?api_key=API_KEY&language=fr-FR&query=call
The request is for French result with the English Name of the movie - https://api.themoviedb.org/3/search/movie?api_key=API_KEY&language=fr-FR&query=the+call
The request is for English result with the English Name of the movie - https://api.themoviedb.org/3/search/movie?api_key=API_KEY&language=en-US&query=the+call
I am not that familiar with the API so I am sure I might be wrong in something obvious
But I would Appreciate if you can help me with anything here.
Thank You.

Searching for films that have a very common word as their title is always problematic.
There are many films that have that word in the title.
I believe that Travis Bell has already put a change on the To-Do list so that
the answers first deliver the films with the exact match of the searched title,
https://trello.com/c/FhpxaRAx/132-support-searching-for-exact-matches
and then the other possibilities, that is, films whose title has the searched term.
But I think that this has not yet been implemented.
See the results:

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=fr-FR&query=콜  
total_pages 2
total_results   25

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=fr-FR&query=call
total_pages 85
total_results   1689

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=fr-FR&query=the+call
total_pages 14
total_results   267

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=en-US&query=the+call
total_pages 14
total_results   267

Note that using only Call greatly increases the amount.


EDIT
Be glad. There are worse cases. :-)
M (1931) - https://www.themoviedb.org/movie/832-m?language=en-US
Z (1969) - https://www.themoviedb.org/movie/2721-z?language=en-US

@ticao2 and @superboy97 Thank you for your Kind responses and your help. I finally found the movie with this Query in the 3rd Page... https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&language=fr-FR&query=the+call I believe I can just Add a button to my App or something like that where if you can't find the movie in first query you just search for it in other pages ( this might be frustrating in cases like the Query with "Call" but I can't see a better Idea, Or maybe I'll make it possible too just find the movie by it's id from TMDB official site ) Any ways Thanks for you Help.

One last thing I would like to ask, isn't there any way to make the request more precise ? Like adding the year or the movie or something like that. I think it would really help a lot specially with cases like mine.

Thank you. Again.

@ama_blbs said:

One last thing
I would like to ask, isn't there any way to make the request more precise ? Like adding the year or the movie or something like that.
I think it would really help a lot specially with cases like mine.

You can add the primary_release_year parameter.
https://developers.themoviedb.org/3/search/search-movies

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&query=the+call&primary_release_year=2020   
total_pages 1
total_results   13

@ticao2 said:

@ama_blbs said:

One last thing
I would like to ask, isn't there any way to make the request more precise ? Like adding the year or the movie or something like that.
I think it would really help a lot specially with cases like mine.

You can add the primary_release_year parameter.
https://developers.themoviedb.org/3/search/search-movies

https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&query=the+call&primary_release_year=2020   
total_pages   1
total_results 13

That's a life saver !! Thank you so much, this would make everything easier. Thank you.

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