The Open Movie Database API by Brian Fritz

Parameter Value Description
s string (optional) title of a movie to search for
i string (optional) a valid IMDb movie id
t string (optional) title of a movie to return
y year (optional) year of the movie
r JSON, XML response data type (JSON default)
plot short, full short or extended plot (short default)
callback name (optional) JSONP callback name
tomatoes true (optional) adds rotten tomatoes data

*Please note while both "i" and "t" are optional at least one argument is required.

Sample Request (URL: http://www.omdbapi.com/?t=True Grit&y=1969):


The following is an example search for "The Social Network" by its IMDb ID.

example code using AJAX:

<script type="text/javascript">

// IMDb ID to Search
var imdbId = "tt1285016";

// Send Request
var http = new ActiveXObject("Microsoft.XMLHTTP");
http.open("GET", "http://www.omdbapi.com/?i=" + imdbId, false);
http.send(null);

// Response to JSON
var omdbData = http.responseText;
var omdbJSON = eval("(" + omdbData + ")");

// Returns Movie Title
alert(omdbJSON.Title);

</script>

Implemented, In Progress, unavailable

Title, Director, Writer, Actors, Plot, Poster, Runtime, Rating, Votes, Genre, Released, Year, Rated, ID (IMDb ID), Cast, Crew, Critics, Trivia, Quotes

Freebase CC-BY
Source: Freebase, licensed under CC-BY
Other content from Wikipedia, licensed under CC BY-SA

This site is not endorsed by or affiliated with IMDb.com