The Movie Database Support

 Ongoing Maintenance

Dear TMDb Community,

In the next few months, you might notice some changes on our site. My primary goal is, and always has been, to build the best media database on the internet and in order for me to stay true to that goal, we will be making these changes to enable TMDb to be more robust and reliable than before.

As you might recall from my 2019 recap, I have some pretty amazing plans for 2020 so stay tuned for some really fantastic launches this year!

If you have any questions please contact us at support@themoviedb.org.

Sincerely,

Travis

Hello,

I had a read of all "search" related topics in the forum (https://www.themoviedb.org/talk/search?advanced_search=&query=search&with_category=&with_status%5B%5D=closed&with_status%5B%5D=open) but couldn't find any thread that answers my question.

I'm using version 3 of the /search/movie endpoint (https://developers.themoviedb.org/3/search/search-movies) and I would like to know if there's a sort capability? For example, when I search James Bond I would like to filter and show the newest movies at the top. How can I do this? Is it possible? Is there a workaround?

Right now the ordering is kinda random, or is it? Can it be controlled in some way?

I tried to add a sort_by parameter, similar to how it's done in /discover/movie (https://developers.themoviedb.org/3/discover/movie-discover), but it didn't work. Is there a way to use the /discover/movie endpoint to search for movies? I tried adding with a title parameter, but it didn't work. Example:

https://api.themoviedb.org/3/discover/movie?api_key=|API-KEY-HERE|&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=false&page=1&title=Parasite

Best, pgergov

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