You can use IMDB API located at
[www.omdbapi.com][1]
You can search for movie names like this -
[http://www.omdbapi.com/?t=hangover%202][2]
{
"Title":"The Hangover Part II",
"Year":"2011",
"Rated":"R",
"Released":"26 May 2011",
"Genre":"Comedy",
"Director":"Todd Phillips",
"Writer":"Craig Mazin, Scot Armstrong",
"Actors":"Bradley Cooper, Zach Galifianakis, Ed Helms, Justin Bartha",
"Plot":"Right after the bachelor party in Las Vegas, Phil, Stu, Alan, and Doug jet to Thailand for Stu's wedding. Stu's plan for a subdued pre-wedding brunch, however, goes seriously awry.",
"Poster":"http://ia.media-imdb.com/images/M/MV5BMTM2MTM4MzY2OV5BMl5BanBnXkFtZTcwNjQ3NzI4NA@@._V1_SX320.jpg","
Runtime":"1 hr 42 mins",
"Rating":"7.1",
"Votes":"13547",
"ID":"tt1411697",
"Response":"True"
}
You can get the "ID" (tt1411697) from this JSON response. [1]: http://www.omdbapi.com/ [2]: http://www.omdbapi.com/?t=hangover%202
###Updated:
The imdbapi.com has been updated to omdbapi.com, since the owner of the service has migrated the domain due to copyright issues.