Does IMDB provide an API? [closed]
up vote
578
down vote
favorite
I recently found a movie organizer application which fetches its data from the IMDB database.
Does IMDB provide an API for this, or any third party APIs available?
asp.net-web-api imdb
closed as off-topic by Floern, Petter Friberg, Machavity, Nic Hartley, 4castle Feb 26 '17 at 2:09
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Floern, Petter Friberg, Machavity, Nic Hartley, 4castle
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
578
down vote
favorite
I recently found a movie organizer application which fetches its data from the IMDB database.
Does IMDB provide an API for this, or any third party APIs available?
asp.net-web-api imdb
closed as off-topic by Floern, Petter Friberg, Machavity, Nic Hartley, 4castle Feb 26 '17 at 2:09
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Floern, Petter Friberg, Machavity, Nic Hartley, 4castle
If this question can be reworded to fit the rules in the help center, please edit the question.
9
Is there any API for reviews on IMDB ?
– metdos
Apr 6 '11 at 7:20
1
To just link IMDB use following format.<a href="http://www.imdb.com/title/{{{ $imdb_id }}}">{{{ $imdb_id }}}</a>
BTW: imdb_id follows this pattern: tt0000000
– Igor Parra
Mar 29 '14 at 17:11
1
whats the name of this movie organizer application? I am looking for something like that
– Airlike
Jul 8 '14 at 18:38
@Airlike Possibly Plex. I know for sure that one organizes movies and can retrieve data from IMDB.
– mason
Nov 7 '14 at 19:07
1
There is also THE IMDB API at theimdbapi.org "Free RESTful JSON api for get movie metadata from IMDB.com, the api is totally free and unlimited calls per user, the API will return Unic information such as actors , trailers , poster urls, imdb rating of the movie."
– Gfy
Jul 21 '17 at 13:39
add a comment |
up vote
578
down vote
favorite
up vote
578
down vote
favorite
I recently found a movie organizer application which fetches its data from the IMDB database.
Does IMDB provide an API for this, or any third party APIs available?
asp.net-web-api imdb
I recently found a movie organizer application which fetches its data from the IMDB database.
Does IMDB provide an API for this, or any third party APIs available?
asp.net-web-api imdb
asp.net-web-api imdb
edited May 24 '16 at 13:37
user5822117
144
144
asked Dec 27 '09 at 17:40
tusay
2,99331310
2,99331310
closed as off-topic by Floern, Petter Friberg, Machavity, Nic Hartley, 4castle Feb 26 '17 at 2:09
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Floern, Petter Friberg, Machavity, Nic Hartley, 4castle
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by Floern, Petter Friberg, Machavity, Nic Hartley, 4castle Feb 26 '17 at 2:09
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Floern, Petter Friberg, Machavity, Nic Hartley, 4castle
If this question can be reworded to fit the rules in the help center, please edit the question.
9
Is there any API for reviews on IMDB ?
– metdos
Apr 6 '11 at 7:20
1
To just link IMDB use following format.<a href="http://www.imdb.com/title/{{{ $imdb_id }}}">{{{ $imdb_id }}}</a>
BTW: imdb_id follows this pattern: tt0000000
– Igor Parra
Mar 29 '14 at 17:11
1
whats the name of this movie organizer application? I am looking for something like that
– Airlike
Jul 8 '14 at 18:38
@Airlike Possibly Plex. I know for sure that one organizes movies and can retrieve data from IMDB.
– mason
Nov 7 '14 at 19:07
1
There is also THE IMDB API at theimdbapi.org "Free RESTful JSON api for get movie metadata from IMDB.com, the api is totally free and unlimited calls per user, the API will return Unic information such as actors , trailers , poster urls, imdb rating of the movie."
– Gfy
Jul 21 '17 at 13:39
add a comment |
9
Is there any API for reviews on IMDB ?
– metdos
Apr 6 '11 at 7:20
1
To just link IMDB use following format.<a href="http://www.imdb.com/title/{{{ $imdb_id }}}">{{{ $imdb_id }}}</a>
BTW: imdb_id follows this pattern: tt0000000
– Igor Parra
Mar 29 '14 at 17:11
1
whats the name of this movie organizer application? I am looking for something like that
– Airlike
Jul 8 '14 at 18:38
@Airlike Possibly Plex. I know for sure that one organizes movies and can retrieve data from IMDB.
– mason
Nov 7 '14 at 19:07
1
There is also THE IMDB API at theimdbapi.org "Free RESTful JSON api for get movie metadata from IMDB.com, the api is totally free and unlimited calls per user, the API will return Unic information such as actors , trailers , poster urls, imdb rating of the movie."
– Gfy
Jul 21 '17 at 13:39
9
9
Is there any API for reviews on IMDB ?
– metdos
Apr 6 '11 at 7:20
Is there any API for reviews on IMDB ?
– metdos
Apr 6 '11 at 7:20
1
1
To just link IMDB use following format.
<a href="http://www.imdb.com/title/{{{ $imdb_id }}}">{{{ $imdb_id }}}</a>
BTW: imdb_id follows this pattern: tt0000000
– Igor Parra
Mar 29 '14 at 17:11
To just link IMDB use following format.
<a href="http://www.imdb.com/title/{{{ $imdb_id }}}">{{{ $imdb_id }}}</a>
BTW: imdb_id follows this pattern: tt0000000
– Igor Parra
Mar 29 '14 at 17:11
1
1
whats the name of this movie organizer application? I am looking for something like that
– Airlike
Jul 8 '14 at 18:38
whats the name of this movie organizer application? I am looking for something like that
– Airlike
Jul 8 '14 at 18:38
@Airlike Possibly Plex. I know for sure that one organizes movies and can retrieve data from IMDB.
– mason
Nov 7 '14 at 19:07
@Airlike Possibly Plex. I know for sure that one organizes movies and can retrieve data from IMDB.
– mason
Nov 7 '14 at 19:07
1
1
There is also THE IMDB API at theimdbapi.org "Free RESTful JSON api for get movie metadata from IMDB.com, the api is totally free and unlimited calls per user, the API will return Unic information such as actors , trailers , poster urls, imdb rating of the movie."
– Gfy
Jul 21 '17 at 13:39
There is also THE IMDB API at theimdbapi.org "Free RESTful JSON api for get movie metadata from IMDB.com, the api is totally free and unlimited calls per user, the API will return Unic information such as actors , trailers , poster urls, imdb rating of the movie."
– Gfy
Jul 21 '17 at 13:39
add a comment |
19 Answers
19
active
oldest
votes
up vote
410
down vote
The IMDb currently has two public APIs that are, although undocumented, very quick and reliable (used on their own site through AJAX).
A statically cached search suggestions API:
- http://sg.media-imdb.com/suggests/a/aa.json
- http://sg.media-imdb.com/suggests/h/hello.json
- Format: JSONP
Downside:
It's in JSONP format, however the callback parameter can not be set by passing a callback-query parameter. In order to use it cross-domain you'll have to use the function name they choose (which is in the "imdb${searchphrase}" format, see example below). Or use a local proxy (e.g. a small php file) that downloads (and caches!) it from IMDb and strips the JSON-P callback, or replaces it with a custom callback.
If there are no results, it doesn't gracefully fallback, but displays an XML error instead
// Basic
window.imdb$foo = function (list) {
/* ... */
};
jQuery.getScript('http://sg.media-imdb.com/suggests/f/foo.json');
// Using jQuery.ajax (let jQuery handle the callback)
jQuery.ajax({
url: 'http://sg.media-imdb.com/suggests/f/foo.json',
dataType: 'jsonp',
cache: true,
jsonp: false,
jsonpCallback: 'imdb$foo'
}).done(function (result) {
/* ... */
});
// With local proxy to a PHP script replacing imdb$foo with a sanitized
// version of $_GET['callback'] (https://stackoverflow.com/a/8811412/319266)
jQuery.getJSON('./imdb.php?q=foo&callback=?', function (list) {
/* ... */
});
More advanced search
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
- Title search (xml): http://www.imdb.com/xml/find?xml=1&nr=1&tt=on&q=lost
- Format: JSON, XML and more
- Downside:
- No JSONP. In order to use from JavaScript cross-domain, a local proxy is required.
- No documentation, more formats may be available
- Upside
- Live search!
- Name support for actors as well!
- Proper fallback to empty object
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
As said, both of these APIs are undocumented. They could change at any time.
See also https://stackoverflow.com/a/8811412/319266, for an example of a JSON API in PHP.
2
RE: The JSONP API not gracefully falling back, (at least) it does return an HTTP error code, but I agree that it's funny that the response body is XML.
– Omni5cience
Dec 22 '11 at 5:00
9
I recently noticed that it also includes an 'i' property for images. The url mentioned therein however is a very large image (likely the original). To get a thumbnail, IMDb uses the following:if (ua.i) { c.img = { src: ua.i[0].replace("._V1_.jpg", "._V1._SX40_CR0,0,40,54_.jpg"), width: 40, height: 54 } }
.
– Krinkle
Sep 29 '12 at 0:01
2
could you not just specify jsonp with.Ajax if you getting json with jquery and i think getjson has been deprecated even when this was written it was deprecated i do believe
– Chris McGrath
Dec 8 '12 at 6:56
2
@ChrisMcGrath: I hadn't thought about using jQuery.ajax jsonpCallback, I've added it to the answer, Thanks! As for $.getJSON: No, that has most certainly not been deprecated. It is just a small wrapper around $.ajax.
– Krinkle
Dec 9 '12 at 18:42
2
Does anyone know how to get included images in the advanced search? Seems they only come with the suggestions...
– Cyril Mestrom
Feb 17 '13 at 19:58
|
show 3 more comments
up vote
193
down vote
new api @ http://www.omdbapi.com
edit: due to legal issues had to move the service to a new domain :)
2
It's really good.
– Bipul
Mar 20 '11 at 6:24
13
In case anyone is wondering, this is not the official API. See Pekka or Krinkle answers for that.
– Jano
Dec 28 '11 at 8:53
7
its really slow..;(
– Daniel Magnusson
Feb 17 '12 at 23:09
10
@IanDavis, I'm currently working on getting a new faster/bigger dedicated server for the API, Which isn't cheap! I've almost got enough donations to acquire this within the next few days. The API is getting over 2 million requests a day!
– bfritz
May 4 '12 at 23:59
4
@OptimusCrime I had an issue the other day with IP's from the 85.XXX.XXX.XXX range and had to temporarily block ALL of them until I could get things under control. Sadly this is one of the trade-offs I have to deal with by not requiring API keys, people tend to just abuse the hell out of it.
– bfritz
Jul 1 '14 at 16:14
|
show 14 more comments
up vote
82
down vote
IMDB themselves seem to distribute data, but only in text files:
http://www.imdb.com/interfaces
there are several APIs around this that you can Google. Screen scraping is explicitly forbidden.
A official API seems to be in the works, but has been that for years already.
4
has anyone used this? imdbapi.com
– Senthil Kumar
Dec 26 '10 at 8:07
4
How is it possible for screen scraping to be forbidden?
– Rudolf Olah
Jan 1 '11 at 21:11
10
@omouse From the terms:Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below.
that doesn't make these terms automatically enforceable in every jurisdiction, but they are in many.
– Pekka 웃
Jan 1 '11 at 21:19
3
Yes but this dialog was directed at "Robots". Apparently my robot doesn't understand English so oh well.
– Zombies
May 12 '13 at 10:58
2
As of December 2017, these files are no longer being updated by IMDb. There is a new API that supplies data in a new format. While easier to parse, this new format is a very small subset of the previous format.
– David Chappelle
Dec 22 '17 at 4:22
|
show 3 more comments
up vote
46
down vote
Another legal alternative to get movie info is the Rotten-Tomatoes API (by Fandango).
Is the rotten tomatoes API free to use in a commercial application? Say, for example, to have users get the details of a movie from its title?
– KerrM
Jul 26 '12 at 21:27
1
It doesn't look like they're making any distinction between commercial or non-commercial app. You can always have a look at their TOS here: developer.rottentomatoes.com/apps/tos Although you will be limited to 10,000 calls per day and 10 per seconds
– Johann
Jul 27 '12 at 9:23
1
If you are providing a non-commercial program and need more than 10,000 calls per day, you can talk to them about licencing. The terms are fairly simple and easy to comply with, in that you have to display their logo and/or a particular phrase of wording for the rating.
– Omertron
Aug 21 '12 at 8:56
thanks! this is awesome. using it for my app csomakk.github.io/IWatchSeriez source available on github
– csomakk
Dec 24 '13 at 14:53
4
WTF? "The API is intended for use in the U.S. only. Deploying content outside of this territory must be approved by the Rotten Tomatoes team. The API may NOT be shared with any third parties."
– Dan Dascalescu
Feb 18 '15 at 1:23
|
show 2 more comments
up vote
42
down vote
What about TMDb API ?
You can search by imdb_id with Movie.imdbLookup
XBMC Media Center seems to use it
https://www.themoviedb.org/documentation/api
5
Requires a registration and a 3 business day approval process though
– Kostas
Apr 3 '11 at 11:30
tmdb api can use the dvd's unique id to lookup the imdb_id, if that helps. Assuming they have it listed, of course. dvdid.info might help, too.
– rogerdpack
Jun 24 '11 at 21:41
4
vrinek - wrong, it sent me API key immediately.
– oriharel
Jan 14 '14 at 20:24
use this theimdbapi.org
– Chali
Jun 5 '17 at 11:17
add a comment |
up vote
29
down vote
Yes, but not for free.
.....annual fees ranging from $15,000 to higher depending on the audience for the data and which data are being licensed.
URL :-
http://www.imdb.com/licensing/
1
appears it's free for "personal" use only otherwise you have to contact them...wow we really need an open equivalent of imdb, though I suppose tmdb is close...
– rogerdpack
Jun 24 '11 at 21:54
hi, this is not really an answer to the question, more a comment to above.
– Ian Vaughan
Jul 21 '13 at 20:31
6
@IanVaughan, I believe my answer directly addresses this question: Q: "Does IMDB provide an API for this...?". A: "Yes...[link to data licensing info]." It's not my fault, IMDB doesn't publicly document an API reference.
– Byran
Jul 22 '13 at 21:00
8
Sorry, I think you are right, I stand corrected. Apologies.
– Ian Vaughan
Jul 23 '13 at 13:02
add a comment |
up vote
22
down vote
There is a JSON API for use by mobile applications at http://app.imdb.com
However, the warning is fairly severe:
For use only by clients authorized in writing by IMDb.
Authors and users of unauthorized clients accept full legal exposure/liability for their actions.
I presume this is for those developers that pay for the licence to access the data via their API.
EDIT: Just for kicks, I wrote a client library to attempt to read the data from the API, you can find it here: api-imdb
Obviously, you should pay attention to the warning, and really, use something like TheMovieDB as a better and more open database.
Then you can use this Java API wrapper (that I wrote): api-themoviedb
1
I will write your library for NodeJS. Thank you for sharing!
– arm.localhost
Dec 25 '14 at 17:36
How could someone get API key for using it?
– Mohamed
Aug 17 '17 at 16:30
A Python library using this API: pypi.org/project/imdbpie code.richard.do/richardARPANET/imdb-pie @Mohammed See imdb.com/licensing
– Gfy
Jun 27 at 19:16
add a comment |
up vote
9
down vote
https://deanclatworthy.com/tools.html is an IMDB API but has been down due to abuse.
1
unfortunately, it will be closed down soon. Do you know how does it work?
– PA.
Jan 26 '10 at 15:11
1
It only offers a very limited search too, by movie title only
– justinhj
Jan 17 '11 at 0:15
Checkout malhar2010.blogspot.com/2011/02/… for using IMDb api.
– user634057
Feb 25 '11 at 11:54
12
As the author of this API, I should point out that the above comments are now redundant as it's not being closed down, and that you can now search by IMDB ID.
– Dean
Mar 17 '12 at 22:15
2
30 requests per hour
– Ibrahim Ozturkcan
Jan 9 '13 at 15:29
|
show 2 more comments
up vote
6
down vote
Found this one
IMDbPY is a Python package useful to retrieve and manage the data of
the IMDb movie database about movies, people, characters and
companies.
http://imdbpy.sourceforge.net/
add a comment |
up vote
6
down vote
IMDB doesn't seem to have a direct API as of August 2016 yet but I saw many people writing scrapers and stuff above. Here is a more standard way to access movie data using box office buzz API. All responses in JSON format and 5000 queries per day on a free plan
List of things provided by the API
- Movie Credits
- Movie ID
- Movie Images
- Get movie by IMDB id
- Get latest movies list
- Get new releases
- Get movie release dates
- Get the list of translations available for a specific movie
- Get videos, trailers, and teasers for a movie
- Search for a movie by title
- Also supports TV shows, games and videos
theimdbapi.org is totally free
– Chali
Jun 5 '17 at 11:17
add a comment |
up vote
3
down vote
that deanclatworthy still seems to work
and there's another one: http://imdbapi.poromenos.org/
1
and (I almost wrote, "even better!", the developer-caveman-instinct is strong ;-) the latter's source is at github.com/skorokithakis/imdbapi
– Morten Bergfall
Oct 25 '10 at 2:16
add a comment |
up vote
3
down vote
Here is a simple solution that fetches shows by name based on the query from Krinkle:
You can get around the same-origin policy by having your server fetch the URL instead of trying to fetch it directly with AJAX and you don't have to use JSONP to do it.
Javascript (jQuery):
function getShowOptionsFromName (name) {
$.ajax({
url: "ajax.php",
method: "GET",
data: {q: name},
dataType: "json"
}).done(function(data){
console.log(data);
});
}
PHP (in file ajax.php):
$q = urlencode($_GET["q"]);
echo file_get_contents("http://www.imdb.com/xml/find?json=1&nr=1&tt=on&q=$q");
add a comment |
up vote
2
down vote
NetFilx is more of personalized media service but you can use it for public information regarding movies. It supports Javascript and OData.
Also look JMDb: The information is basically the same as you can get when using the IMDb website.
1
Netflix shut down their public API almost a year ago. Since they took down the entire developer sub-domain, including the post saying they were shutting it down, here's a link to a news piece on it: gigaom.com/2014/11/14/…
– James Skemp
Aug 23 '15 at 23:31
add a comment |
up vote
1
down vote
Recently at SXSWi 2012, in their "Mashery Lounge", there was a booth for an IMDB-like API called from rovi. It's not a free API, but according to the sales guy I talked to they offer either a rev share or a flat fee for usage, depending on your budget. I haven't used it yet but it seems pretty cool.
add a comment |
up vote
1
down vote
ok i found this one IMDB scraper
for C#:
http://web3o.blogspot.de/2010/11/aspnetc-imdb-scraping-api.html
PHP here:
http://web3o.blogspot.de/2010/10/php-imdb-scraper-for-new-imdb-template.html
alternatively a imdbapi.org implementation for c#:
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Xml.Linq;
using HtmlAgilityPack; // http://htmlagilitypack.codeplex.com/
public class IMDBHelper
{
public static imdbitem GetInfoByTitle(string Title)
{
string url = "http://imdbapi.org/?type=xml&limit=1&title=" + Title;
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url);
req.Method = "GET";
req.UserAgent = "Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))";
string source;
using (StreamReader reader = new StreamReader(req.GetResponse().GetResponseStream()))
{
source = reader.ReadToEnd();
}
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(source);
XDocument xdoc = XDocument.Parse(doc.DocumentNode.InnerHtml, LoadOptions.None);
imdbitem i = new imdbitem();
i.rating = xdoc.Descendants("rating").Select(x => x.Value).FirstOrDefault();
i.rating_count = xdoc.Descendants("rating_count").Select(x => x.Value).FirstOrDefault();
i.year = xdoc.Descendants("year").Select(x => x.Value).FirstOrDefault();
i.rated = xdoc.Descendants("rated").Select(x => x.Value).FirstOrDefault();
i.title = xdoc.Descendants("title").Select(x => x.Value).FirstOrDefault();
i.imdb_url = xdoc.Descendants("imdb_url").Select(x => x.Value).FirstOrDefault();
i.plot_simple = xdoc.Descendants("plot_simple").Select(x => x.Value).FirstOrDefault();
i.type = xdoc.Descendants("type").Select(x => x.Value).FirstOrDefault();
i.poster = xdoc.Descendants("poster").Select(x => x.Value).FirstOrDefault();
i.imdb_id = xdoc.Descendants("imdb_id").Select(x => x.Value).FirstOrDefault();
i.also_known_as = xdoc.Descendants("also_known_as").Select(x => x.Value).FirstOrDefault();
i.language = xdoc.Descendants("language").Select(x => x.Value).FirstOrDefault();
i.country = xdoc.Descendants("country").Select(x => x.Value).FirstOrDefault();
i.release_date = xdoc.Descendants("release_date").Select(x => x.Value).FirstOrDefault();
i.filming_locations = xdoc.Descendants("filming_locations").Select(x => x.Value).FirstOrDefault();
i.runtime = xdoc.Descendants("runtime").Select(x => x.Value).FirstOrDefault();
i.directors = xdoc.Descendants("directors").Descendants("item").Select(x => x.Value).ToList();
i.writers = xdoc.Descendants("writers").Descendants("item").Select(x => x.Value).ToList();
i.actors = xdoc.Descendants("actors").Descendants("item").Select(x => x.Value).ToList();
i.genres = xdoc.Descendants("genres").Descendants("item").Select(x => x.Value).ToList();
return i;
}
public class imdbitem
{
public string rating { get; set; }
public string rating_count { get; set; }
public string year { get; set; }
public string rated { get; set; }
public string title { get; set; }
public string imdb_url { get; set; }
public string plot_simple { get; set; }
public string type { get; set; }
public string poster { get; set; }
public string imdb_id { get; set; }
public string also_known_as { get; set; }
public string language { get; set; }
public string country { get; set; }
public string release_date { get; set; }
public string filming_locations { get; set; }
public string runtime { get; set; }
public List<string> directors { get; set; }
public List<string> writers { get; set; }
public List<string> actors { get; set; }
public List<string> genres { get; set; }
}
}
add a comment |
up vote
1
down vote
If you need TV information you can try TVmaze.com.
It's free, fast and reliable. Here is the developer page:
http://api.tvmaze.com/
add a comment |
up vote
0
down vote
Here is a Python module providing API's to get data from IMDB website
http://techdiary-viki.blogspot.com/2011/03/imdb-api.html
That module uses screen-scraping, which is against the TOS
– Farinha
Apr 18 '11 at 12:40
6
Using IMDB at all in an app is against their TOS, apparently...
– rogerdpack
Jun 24 '11 at 21:51
ya, you have to contact them and request to use their content in your commercial application. It says in their TOS you have to have written consent from IMDB.
– Mike
May 4 '12 at 4:21
add a comment |
up vote
0
down vote
Im pretty confident that the application you found actually gets their information form Themoviedb.org's API(they get most of there stuff from IMDB). They have a free open API that is used alot of the movie organizer/XMBC applications.
add a comment |
up vote
0
down vote
If you want movie details api you can consider
OMDB API which is Open movies Database
Returns IBDB Rating, IMDB Votes and you can include Rotten Tomato rating too.
Or else You can use
My Api Films which allows you to search with IMDB ID and returns detailed information but it has request limits.
add a comment |
protected by Community♦ May 17 '11 at 5:55
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
19 Answers
19
active
oldest
votes
19 Answers
19
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
410
down vote
The IMDb currently has two public APIs that are, although undocumented, very quick and reliable (used on their own site through AJAX).
A statically cached search suggestions API:
- http://sg.media-imdb.com/suggests/a/aa.json
- http://sg.media-imdb.com/suggests/h/hello.json
- Format: JSONP
Downside:
It's in JSONP format, however the callback parameter can not be set by passing a callback-query parameter. In order to use it cross-domain you'll have to use the function name they choose (which is in the "imdb${searchphrase}" format, see example below). Or use a local proxy (e.g. a small php file) that downloads (and caches!) it from IMDb and strips the JSON-P callback, or replaces it with a custom callback.
If there are no results, it doesn't gracefully fallback, but displays an XML error instead
// Basic
window.imdb$foo = function (list) {
/* ... */
};
jQuery.getScript('http://sg.media-imdb.com/suggests/f/foo.json');
// Using jQuery.ajax (let jQuery handle the callback)
jQuery.ajax({
url: 'http://sg.media-imdb.com/suggests/f/foo.json',
dataType: 'jsonp',
cache: true,
jsonp: false,
jsonpCallback: 'imdb$foo'
}).done(function (result) {
/* ... */
});
// With local proxy to a PHP script replacing imdb$foo with a sanitized
// version of $_GET['callback'] (https://stackoverflow.com/a/8811412/319266)
jQuery.getJSON('./imdb.php?q=foo&callback=?', function (list) {
/* ... */
});
More advanced search
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
- Title search (xml): http://www.imdb.com/xml/find?xml=1&nr=1&tt=on&q=lost
- Format: JSON, XML and more
- Downside:
- No JSONP. In order to use from JavaScript cross-domain, a local proxy is required.
- No documentation, more formats may be available
- Upside
- Live search!
- Name support for actors as well!
- Proper fallback to empty object
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
As said, both of these APIs are undocumented. They could change at any time.
See also https://stackoverflow.com/a/8811412/319266, for an example of a JSON API in PHP.
2
RE: The JSONP API not gracefully falling back, (at least) it does return an HTTP error code, but I agree that it's funny that the response body is XML.
– Omni5cience
Dec 22 '11 at 5:00
9
I recently noticed that it also includes an 'i' property for images. The url mentioned therein however is a very large image (likely the original). To get a thumbnail, IMDb uses the following:if (ua.i) { c.img = { src: ua.i[0].replace("._V1_.jpg", "._V1._SX40_CR0,0,40,54_.jpg"), width: 40, height: 54 } }
.
– Krinkle
Sep 29 '12 at 0:01
2
could you not just specify jsonp with.Ajax if you getting json with jquery and i think getjson has been deprecated even when this was written it was deprecated i do believe
– Chris McGrath
Dec 8 '12 at 6:56
2
@ChrisMcGrath: I hadn't thought about using jQuery.ajax jsonpCallback, I've added it to the answer, Thanks! As for $.getJSON: No, that has most certainly not been deprecated. It is just a small wrapper around $.ajax.
– Krinkle
Dec 9 '12 at 18:42
2
Does anyone know how to get included images in the advanced search? Seems they only come with the suggestions...
– Cyril Mestrom
Feb 17 '13 at 19:58
|
show 3 more comments
up vote
410
down vote
The IMDb currently has two public APIs that are, although undocumented, very quick and reliable (used on their own site through AJAX).
A statically cached search suggestions API:
- http://sg.media-imdb.com/suggests/a/aa.json
- http://sg.media-imdb.com/suggests/h/hello.json
- Format: JSONP
Downside:
It's in JSONP format, however the callback parameter can not be set by passing a callback-query parameter. In order to use it cross-domain you'll have to use the function name they choose (which is in the "imdb${searchphrase}" format, see example below). Or use a local proxy (e.g. a small php file) that downloads (and caches!) it from IMDb and strips the JSON-P callback, or replaces it with a custom callback.
If there are no results, it doesn't gracefully fallback, but displays an XML error instead
// Basic
window.imdb$foo = function (list) {
/* ... */
};
jQuery.getScript('http://sg.media-imdb.com/suggests/f/foo.json');
// Using jQuery.ajax (let jQuery handle the callback)
jQuery.ajax({
url: 'http://sg.media-imdb.com/suggests/f/foo.json',
dataType: 'jsonp',
cache: true,
jsonp: false,
jsonpCallback: 'imdb$foo'
}).done(function (result) {
/* ... */
});
// With local proxy to a PHP script replacing imdb$foo with a sanitized
// version of $_GET['callback'] (https://stackoverflow.com/a/8811412/319266)
jQuery.getJSON('./imdb.php?q=foo&callback=?', function (list) {
/* ... */
});
More advanced search
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
- Title search (xml): http://www.imdb.com/xml/find?xml=1&nr=1&tt=on&q=lost
- Format: JSON, XML and more
- Downside:
- No JSONP. In order to use from JavaScript cross-domain, a local proxy is required.
- No documentation, more formats may be available
- Upside
- Live search!
- Name support for actors as well!
- Proper fallback to empty object
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
As said, both of these APIs are undocumented. They could change at any time.
See also https://stackoverflow.com/a/8811412/319266, for an example of a JSON API in PHP.
2
RE: The JSONP API not gracefully falling back, (at least) it does return an HTTP error code, but I agree that it's funny that the response body is XML.
– Omni5cience
Dec 22 '11 at 5:00
9
I recently noticed that it also includes an 'i' property for images. The url mentioned therein however is a very large image (likely the original). To get a thumbnail, IMDb uses the following:if (ua.i) { c.img = { src: ua.i[0].replace("._V1_.jpg", "._V1._SX40_CR0,0,40,54_.jpg"), width: 40, height: 54 } }
.
– Krinkle
Sep 29 '12 at 0:01
2
could you not just specify jsonp with.Ajax if you getting json with jquery and i think getjson has been deprecated even when this was written it was deprecated i do believe
– Chris McGrath
Dec 8 '12 at 6:56
2
@ChrisMcGrath: I hadn't thought about using jQuery.ajax jsonpCallback, I've added it to the answer, Thanks! As for $.getJSON: No, that has most certainly not been deprecated. It is just a small wrapper around $.ajax.
– Krinkle
Dec 9 '12 at 18:42
2
Does anyone know how to get included images in the advanced search? Seems they only come with the suggestions...
– Cyril Mestrom
Feb 17 '13 at 19:58
|
show 3 more comments
up vote
410
down vote
up vote
410
down vote
The IMDb currently has two public APIs that are, although undocumented, very quick and reliable (used on their own site through AJAX).
A statically cached search suggestions API:
- http://sg.media-imdb.com/suggests/a/aa.json
- http://sg.media-imdb.com/suggests/h/hello.json
- Format: JSONP
Downside:
It's in JSONP format, however the callback parameter can not be set by passing a callback-query parameter. In order to use it cross-domain you'll have to use the function name they choose (which is in the "imdb${searchphrase}" format, see example below). Or use a local proxy (e.g. a small php file) that downloads (and caches!) it from IMDb and strips the JSON-P callback, or replaces it with a custom callback.
If there are no results, it doesn't gracefully fallback, but displays an XML error instead
// Basic
window.imdb$foo = function (list) {
/* ... */
};
jQuery.getScript('http://sg.media-imdb.com/suggests/f/foo.json');
// Using jQuery.ajax (let jQuery handle the callback)
jQuery.ajax({
url: 'http://sg.media-imdb.com/suggests/f/foo.json',
dataType: 'jsonp',
cache: true,
jsonp: false,
jsonpCallback: 'imdb$foo'
}).done(function (result) {
/* ... */
});
// With local proxy to a PHP script replacing imdb$foo with a sanitized
// version of $_GET['callback'] (https://stackoverflow.com/a/8811412/319266)
jQuery.getJSON('./imdb.php?q=foo&callback=?', function (list) {
/* ... */
});
More advanced search
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
- Title search (xml): http://www.imdb.com/xml/find?xml=1&nr=1&tt=on&q=lost
- Format: JSON, XML and more
- Downside:
- No JSONP. In order to use from JavaScript cross-domain, a local proxy is required.
- No documentation, more formats may be available
- Upside
- Live search!
- Name support for actors as well!
- Proper fallback to empty object
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
As said, both of these APIs are undocumented. They could change at any time.
See also https://stackoverflow.com/a/8811412/319266, for an example of a JSON API in PHP.
The IMDb currently has two public APIs that are, although undocumented, very quick and reliable (used on their own site through AJAX).
A statically cached search suggestions API:
- http://sg.media-imdb.com/suggests/a/aa.json
- http://sg.media-imdb.com/suggests/h/hello.json
- Format: JSONP
Downside:
It's in JSONP format, however the callback parameter can not be set by passing a callback-query parameter. In order to use it cross-domain you'll have to use the function name they choose (which is in the "imdb${searchphrase}" format, see example below). Or use a local proxy (e.g. a small php file) that downloads (and caches!) it from IMDb and strips the JSON-P callback, or replaces it with a custom callback.
If there are no results, it doesn't gracefully fallback, but displays an XML error instead
// Basic
window.imdb$foo = function (list) {
/* ... */
};
jQuery.getScript('http://sg.media-imdb.com/suggests/f/foo.json');
// Using jQuery.ajax (let jQuery handle the callback)
jQuery.ajax({
url: 'http://sg.media-imdb.com/suggests/f/foo.json',
dataType: 'jsonp',
cache: true,
jsonp: false,
jsonpCallback: 'imdb$foo'
}).done(function (result) {
/* ... */
});
// With local proxy to a PHP script replacing imdb$foo with a sanitized
// version of $_GET['callback'] (https://stackoverflow.com/a/8811412/319266)
jQuery.getJSON('./imdb.php?q=foo&callback=?', function (list) {
/* ... */
});
More advanced search
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
- Title search (xml): http://www.imdb.com/xml/find?xml=1&nr=1&tt=on&q=lost
- Format: JSON, XML and more
- Downside:
- No JSONP. In order to use from JavaScript cross-domain, a local proxy is required.
- No documentation, more formats may be available
- Upside
- Live search!
- Name support for actors as well!
- Proper fallback to empty object
- Name search (json): http://www.imdb.com/xml/find?json=1&nr=1&nm=on&q=jeniffer+garner
As said, both of these APIs are undocumented. They could change at any time.
See also https://stackoverflow.com/a/8811412/319266, for an example of a JSON API in PHP.
edited May 23 '17 at 12:18
Community♦
11
11
answered Oct 12 '11 at 17:56
Krinkle
7,98342341
7,98342341
2
RE: The JSONP API not gracefully falling back, (at least) it does return an HTTP error code, but I agree that it's funny that the response body is XML.
– Omni5cience
Dec 22 '11 at 5:00
9
I recently noticed that it also includes an 'i' property for images. The url mentioned therein however is a very large image (likely the original). To get a thumbnail, IMDb uses the following:if (ua.i) { c.img = { src: ua.i[0].replace("._V1_.jpg", "._V1._SX40_CR0,0,40,54_.jpg"), width: 40, height: 54 } }
.
– Krinkle
Sep 29 '12 at 0:01
2
could you not just specify jsonp with.Ajax if you getting json with jquery and i think getjson has been deprecated even when this was written it was deprecated i do believe
– Chris McGrath
Dec 8 '12 at 6:56
2
@ChrisMcGrath: I hadn't thought about using jQuery.ajax jsonpCallback, I've added it to the answer, Thanks! As for $.getJSON: No, that has most certainly not been deprecated. It is just a small wrapper around $.ajax.
– Krinkle
Dec 9 '12 at 18:42
2
Does anyone know how to get included images in the advanced search? Seems they only come with the suggestions...
– Cyril Mestrom
Feb 17 '13 at 19:58
|
show 3 more comments
2
RE: The JSONP API not gracefully falling back, (at least) it does return an HTTP error code, but I agree that it's funny that the response body is XML.
– Omni5cience
Dec 22 '11 at 5:00
9
I recently noticed that it also includes an 'i' property for images. The url mentioned therein however is a very large image (likely the original). To get a thumbnail, IMDb uses the following:if (ua.i) { c.img = { src: ua.i[0].replace("._V1_.jpg", "._V1._SX40_CR0,0,40,54_.jpg"), width: 40, height: 54 } }
.
– Krinkle
Sep 29 '12 at 0:01
2
could you not just specify jsonp with.Ajax if you getting json with jquery and i think getjson has been deprecated even when this was written it was deprecated i do believe
– Chris McGrath
Dec 8 '12 at 6:56
2
@ChrisMcGrath: I hadn't thought about using jQuery.ajax jsonpCallback, I've added it to the answer, Thanks! As for $.getJSON: No, that has most certainly not been deprecated. It is just a small wrapper around $.ajax.
– Krinkle
Dec 9 '12 at 18:42
2
Does anyone know how to get included images in the advanced search? Seems they only come with the suggestions...
– Cyril Mestrom
Feb 17 '13 at 19:58
2
2
RE: The JSONP API not gracefully falling back, (at least) it does return an HTTP error code, but I agree that it's funny that the response body is XML.
– Omni5cience
Dec 22 '11 at 5:00
RE: The JSONP API not gracefully falling back, (at least) it does return an HTTP error code, but I agree that it's funny that the response body is XML.
– Omni5cience
Dec 22 '11 at 5:00
9
9
I recently noticed that it also includes an 'i' property for images. The url mentioned therein however is a very large image (likely the original). To get a thumbnail, IMDb uses the following:
if (ua.i) { c.img = { src: ua.i[0].replace("._V1_.jpg", "._V1._SX40_CR0,0,40,54_.jpg"), width: 40, height: 54 } }
.– Krinkle
Sep 29 '12 at 0:01
I recently noticed that it also includes an 'i' property for images. The url mentioned therein however is a very large image (likely the original). To get a thumbnail, IMDb uses the following:
if (ua.i) { c.img = { src: ua.i[0].replace("._V1_.jpg", "._V1._SX40_CR0,0,40,54_.jpg"), width: 40, height: 54 } }
.– Krinkle
Sep 29 '12 at 0:01
2
2
could you not just specify jsonp with.Ajax if you getting json with jquery and i think getjson has been deprecated even when this was written it was deprecated i do believe
– Chris McGrath
Dec 8 '12 at 6:56
could you not just specify jsonp with.Ajax if you getting json with jquery and i think getjson has been deprecated even when this was written it was deprecated i do believe
– Chris McGrath
Dec 8 '12 at 6:56
2
2
@ChrisMcGrath: I hadn't thought about using jQuery.ajax jsonpCallback, I've added it to the answer, Thanks! As for $.getJSON: No, that has most certainly not been deprecated. It is just a small wrapper around $.ajax.
– Krinkle
Dec 9 '12 at 18:42
@ChrisMcGrath: I hadn't thought about using jQuery.ajax jsonpCallback, I've added it to the answer, Thanks! As for $.getJSON: No, that has most certainly not been deprecated. It is just a small wrapper around $.ajax.
– Krinkle
Dec 9 '12 at 18:42
2
2
Does anyone know how to get included images in the advanced search? Seems they only come with the suggestions...
– Cyril Mestrom
Feb 17 '13 at 19:58
Does anyone know how to get included images in the advanced search? Seems they only come with the suggestions...
– Cyril Mestrom
Feb 17 '13 at 19:58
|
show 3 more comments
up vote
193
down vote
new api @ http://www.omdbapi.com
edit: due to legal issues had to move the service to a new domain :)
2
It's really good.
– Bipul
Mar 20 '11 at 6:24
13
In case anyone is wondering, this is not the official API. See Pekka or Krinkle answers for that.
– Jano
Dec 28 '11 at 8:53
7
its really slow..;(
– Daniel Magnusson
Feb 17 '12 at 23:09
10
@IanDavis, I'm currently working on getting a new faster/bigger dedicated server for the API, Which isn't cheap! I've almost got enough donations to acquire this within the next few days. The API is getting over 2 million requests a day!
– bfritz
May 4 '12 at 23:59
4
@OptimusCrime I had an issue the other day with IP's from the 85.XXX.XXX.XXX range and had to temporarily block ALL of them until I could get things under control. Sadly this is one of the trade-offs I have to deal with by not requiring API keys, people tend to just abuse the hell out of it.
– bfritz
Jul 1 '14 at 16:14
|
show 14 more comments
up vote
193
down vote
new api @ http://www.omdbapi.com
edit: due to legal issues had to move the service to a new domain :)
2
It's really good.
– Bipul
Mar 20 '11 at 6:24
13
In case anyone is wondering, this is not the official API. See Pekka or Krinkle answers for that.
– Jano
Dec 28 '11 at 8:53
7
its really slow..;(
– Daniel Magnusson
Feb 17 '12 at 23:09
10
@IanDavis, I'm currently working on getting a new faster/bigger dedicated server for the API, Which isn't cheap! I've almost got enough donations to acquire this within the next few days. The API is getting over 2 million requests a day!
– bfritz
May 4 '12 at 23:59
4
@OptimusCrime I had an issue the other day with IP's from the 85.XXX.XXX.XXX range and had to temporarily block ALL of them until I could get things under control. Sadly this is one of the trade-offs I have to deal with by not requiring API keys, people tend to just abuse the hell out of it.
– bfritz
Jul 1 '14 at 16:14
|
show 14 more comments
up vote
193
down vote
up vote
193
down vote
new api @ http://www.omdbapi.com
edit: due to legal issues had to move the service to a new domain :)
new api @ http://www.omdbapi.com
edit: due to legal issues had to move the service to a new domain :)
edited Sep 9 '12 at 2:42
answered Nov 24 '10 at 17:18
bfritz
1,68411527
1,68411527
2
It's really good.
– Bipul
Mar 20 '11 at 6:24
13
In case anyone is wondering, this is not the official API. See Pekka or Krinkle answers for that.
– Jano
Dec 28 '11 at 8:53
7
its really slow..;(
– Daniel Magnusson
Feb 17 '12 at 23:09
10
@IanDavis, I'm currently working on getting a new faster/bigger dedicated server for the API, Which isn't cheap! I've almost got enough donations to acquire this within the next few days. The API is getting over 2 million requests a day!
– bfritz
May 4 '12 at 23:59
4
@OptimusCrime I had an issue the other day with IP's from the 85.XXX.XXX.XXX range and had to temporarily block ALL of them until I could get things under control. Sadly this is one of the trade-offs I have to deal with by not requiring API keys, people tend to just abuse the hell out of it.
– bfritz
Jul 1 '14 at 16:14
|
show 14 more comments
2
It's really good.
– Bipul
Mar 20 '11 at 6:24
13
In case anyone is wondering, this is not the official API. See Pekka or Krinkle answers for that.
– Jano
Dec 28 '11 at 8:53
7
its really slow..;(
– Daniel Magnusson
Feb 17 '12 at 23:09
10
@IanDavis, I'm currently working on getting a new faster/bigger dedicated server for the API, Which isn't cheap! I've almost got enough donations to acquire this within the next few days. The API is getting over 2 million requests a day!
– bfritz
May 4 '12 at 23:59
4
@OptimusCrime I had an issue the other day with IP's from the 85.XXX.XXX.XXX range and had to temporarily block ALL of them until I could get things under control. Sadly this is one of the trade-offs I have to deal with by not requiring API keys, people tend to just abuse the hell out of it.
– bfritz
Jul 1 '14 at 16:14
2
2
It's really good.
– Bipul
Mar 20 '11 at 6:24
It's really good.
– Bipul
Mar 20 '11 at 6:24
13
13
In case anyone is wondering, this is not the official API. See Pekka or Krinkle answers for that.
– Jano
Dec 28 '11 at 8:53
In case anyone is wondering, this is not the official API. See Pekka or Krinkle answers for that.
– Jano
Dec 28 '11 at 8:53
7
7
its really slow..;(
– Daniel Magnusson
Feb 17 '12 at 23:09
its really slow..;(
– Daniel Magnusson
Feb 17 '12 at 23:09
10
10
@IanDavis, I'm currently working on getting a new faster/bigger dedicated server for the API, Which isn't cheap! I've almost got enough donations to acquire this within the next few days. The API is getting over 2 million requests a day!
– bfritz
May 4 '12 at 23:59
@IanDavis, I'm currently working on getting a new faster/bigger dedicated server for the API, Which isn't cheap! I've almost got enough donations to acquire this within the next few days. The API is getting over 2 million requests a day!
– bfritz
May 4 '12 at 23:59
4
4
@OptimusCrime I had an issue the other day with IP's from the 85.XXX.XXX.XXX range and had to temporarily block ALL of them until I could get things under control. Sadly this is one of the trade-offs I have to deal with by not requiring API keys, people tend to just abuse the hell out of it.
– bfritz
Jul 1 '14 at 16:14
@OptimusCrime I had an issue the other day with IP's from the 85.XXX.XXX.XXX range and had to temporarily block ALL of them until I could get things under control. Sadly this is one of the trade-offs I have to deal with by not requiring API keys, people tend to just abuse the hell out of it.
– bfritz
Jul 1 '14 at 16:14
|
show 14 more comments
up vote
82
down vote
IMDB themselves seem to distribute data, but only in text files:
http://www.imdb.com/interfaces
there are several APIs around this that you can Google. Screen scraping is explicitly forbidden.
A official API seems to be in the works, but has been that for years already.
4
has anyone used this? imdbapi.com
– Senthil Kumar
Dec 26 '10 at 8:07
4
How is it possible for screen scraping to be forbidden?
– Rudolf Olah
Jan 1 '11 at 21:11
10
@omouse From the terms:Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below.
that doesn't make these terms automatically enforceable in every jurisdiction, but they are in many.
– Pekka 웃
Jan 1 '11 at 21:19
3
Yes but this dialog was directed at "Robots". Apparently my robot doesn't understand English so oh well.
– Zombies
May 12 '13 at 10:58
2
As of December 2017, these files are no longer being updated by IMDb. There is a new API that supplies data in a new format. While easier to parse, this new format is a very small subset of the previous format.
– David Chappelle
Dec 22 '17 at 4:22
|
show 3 more comments
up vote
82
down vote
IMDB themselves seem to distribute data, but only in text files:
http://www.imdb.com/interfaces
there are several APIs around this that you can Google. Screen scraping is explicitly forbidden.
A official API seems to be in the works, but has been that for years already.
4
has anyone used this? imdbapi.com
– Senthil Kumar
Dec 26 '10 at 8:07
4
How is it possible for screen scraping to be forbidden?
– Rudolf Olah
Jan 1 '11 at 21:11
10
@omouse From the terms:Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below.
that doesn't make these terms automatically enforceable in every jurisdiction, but they are in many.
– Pekka 웃
Jan 1 '11 at 21:19
3
Yes but this dialog was directed at "Robots". Apparently my robot doesn't understand English so oh well.
– Zombies
May 12 '13 at 10:58
2
As of December 2017, these files are no longer being updated by IMDb. There is a new API that supplies data in a new format. While easier to parse, this new format is a very small subset of the previous format.
– David Chappelle
Dec 22 '17 at 4:22
|
show 3 more comments
up vote
82
down vote
up vote
82
down vote
IMDB themselves seem to distribute data, but only in text files:
http://www.imdb.com/interfaces
there are several APIs around this that you can Google. Screen scraping is explicitly forbidden.
A official API seems to be in the works, but has been that for years already.
IMDB themselves seem to distribute data, but only in text files:
http://www.imdb.com/interfaces
there are several APIs around this that you can Google. Screen scraping is explicitly forbidden.
A official API seems to be in the works, but has been that for years already.
answered Dec 27 '09 at 17:47
Pekka 웃
353k1148361009
353k1148361009
4
has anyone used this? imdbapi.com
– Senthil Kumar
Dec 26 '10 at 8:07
4
How is it possible for screen scraping to be forbidden?
– Rudolf Olah
Jan 1 '11 at 21:11
10
@omouse From the terms:Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below.
that doesn't make these terms automatically enforceable in every jurisdiction, but they are in many.
– Pekka 웃
Jan 1 '11 at 21:19
3
Yes but this dialog was directed at "Robots". Apparently my robot doesn't understand English so oh well.
– Zombies
May 12 '13 at 10:58
2
As of December 2017, these files are no longer being updated by IMDb. There is a new API that supplies data in a new format. While easier to parse, this new format is a very small subset of the previous format.
– David Chappelle
Dec 22 '17 at 4:22
|
show 3 more comments
4
has anyone used this? imdbapi.com
– Senthil Kumar
Dec 26 '10 at 8:07
4
How is it possible for screen scraping to be forbidden?
– Rudolf Olah
Jan 1 '11 at 21:11
10
@omouse From the terms:Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below.
that doesn't make these terms automatically enforceable in every jurisdiction, but they are in many.
– Pekka 웃
Jan 1 '11 at 21:19
3
Yes but this dialog was directed at "Robots". Apparently my robot doesn't understand English so oh well.
– Zombies
May 12 '13 at 10:58
2
As of December 2017, these files are no longer being updated by IMDb. There is a new API that supplies data in a new format. While easier to parse, this new format is a very small subset of the previous format.
– David Chappelle
Dec 22 '17 at 4:22
4
4
has anyone used this? imdbapi.com
– Senthil Kumar
Dec 26 '10 at 8:07
has anyone used this? imdbapi.com
– Senthil Kumar
Dec 26 '10 at 8:07
4
4
How is it possible for screen scraping to be forbidden?
– Rudolf Olah
Jan 1 '11 at 21:11
How is it possible for screen scraping to be forbidden?
– Rudolf Olah
Jan 1 '11 at 21:11
10
10
@omouse From the terms:
Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below.
that doesn't make these terms automatically enforceable in every jurisdiction, but they are in many.– Pekka 웃
Jan 1 '11 at 21:19
@omouse From the terms:
Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below.
that doesn't make these terms automatically enforceable in every jurisdiction, but they are in many.– Pekka 웃
Jan 1 '11 at 21:19
3
3
Yes but this dialog was directed at "Robots". Apparently my robot doesn't understand English so oh well.
– Zombies
May 12 '13 at 10:58
Yes but this dialog was directed at "Robots". Apparently my robot doesn't understand English so oh well.
– Zombies
May 12 '13 at 10:58
2
2
As of December 2017, these files are no longer being updated by IMDb. There is a new API that supplies data in a new format. While easier to parse, this new format is a very small subset of the previous format.
– David Chappelle
Dec 22 '17 at 4:22
As of December 2017, these files are no longer being updated by IMDb. There is a new API that supplies data in a new format. While easier to parse, this new format is a very small subset of the previous format.
– David Chappelle
Dec 22 '17 at 4:22
|
show 3 more comments
up vote
46
down vote
Another legal alternative to get movie info is the Rotten-Tomatoes API (by Fandango).
Is the rotten tomatoes API free to use in a commercial application? Say, for example, to have users get the details of a movie from its title?
– KerrM
Jul 26 '12 at 21:27
1
It doesn't look like they're making any distinction between commercial or non-commercial app. You can always have a look at their TOS here: developer.rottentomatoes.com/apps/tos Although you will be limited to 10,000 calls per day and 10 per seconds
– Johann
Jul 27 '12 at 9:23
1
If you are providing a non-commercial program and need more than 10,000 calls per day, you can talk to them about licencing. The terms are fairly simple and easy to comply with, in that you have to display their logo and/or a particular phrase of wording for the rating.
– Omertron
Aug 21 '12 at 8:56
thanks! this is awesome. using it for my app csomakk.github.io/IWatchSeriez source available on github
– csomakk
Dec 24 '13 at 14:53
4
WTF? "The API is intended for use in the U.S. only. Deploying content outside of this territory must be approved by the Rotten Tomatoes team. The API may NOT be shared with any third parties."
– Dan Dascalescu
Feb 18 '15 at 1:23
|
show 2 more comments
up vote
46
down vote
Another legal alternative to get movie info is the Rotten-Tomatoes API (by Fandango).
Is the rotten tomatoes API free to use in a commercial application? Say, for example, to have users get the details of a movie from its title?
– KerrM
Jul 26 '12 at 21:27
1
It doesn't look like they're making any distinction between commercial or non-commercial app. You can always have a look at their TOS here: developer.rottentomatoes.com/apps/tos Although you will be limited to 10,000 calls per day and 10 per seconds
– Johann
Jul 27 '12 at 9:23
1
If you are providing a non-commercial program and need more than 10,000 calls per day, you can talk to them about licencing. The terms are fairly simple and easy to comply with, in that you have to display their logo and/or a particular phrase of wording for the rating.
– Omertron
Aug 21 '12 at 8:56
thanks! this is awesome. using it for my app csomakk.github.io/IWatchSeriez source available on github
– csomakk
Dec 24 '13 at 14:53
4
WTF? "The API is intended for use in the U.S. only. Deploying content outside of this territory must be approved by the Rotten Tomatoes team. The API may NOT be shared with any third parties."
– Dan Dascalescu
Feb 18 '15 at 1:23
|
show 2 more comments
up vote
46
down vote
up vote
46
down vote
Another legal alternative to get movie info is the Rotten-Tomatoes API (by Fandango).
Another legal alternative to get movie info is the Rotten-Tomatoes API (by Fandango).
edited May 22 '17 at 18:26
answered Jul 26 '11 at 11:47
Johann
6,99285076
6,99285076
Is the rotten tomatoes API free to use in a commercial application? Say, for example, to have users get the details of a movie from its title?
– KerrM
Jul 26 '12 at 21:27
1
It doesn't look like they're making any distinction between commercial or non-commercial app. You can always have a look at their TOS here: developer.rottentomatoes.com/apps/tos Although you will be limited to 10,000 calls per day and 10 per seconds
– Johann
Jul 27 '12 at 9:23
1
If you are providing a non-commercial program and need more than 10,000 calls per day, you can talk to them about licencing. The terms are fairly simple and easy to comply with, in that you have to display their logo and/or a particular phrase of wording for the rating.
– Omertron
Aug 21 '12 at 8:56
thanks! this is awesome. using it for my app csomakk.github.io/IWatchSeriez source available on github
– csomakk
Dec 24 '13 at 14:53
4
WTF? "The API is intended for use in the U.S. only. Deploying content outside of this territory must be approved by the Rotten Tomatoes team. The API may NOT be shared with any third parties."
– Dan Dascalescu
Feb 18 '15 at 1:23
|
show 2 more comments
Is the rotten tomatoes API free to use in a commercial application? Say, for example, to have users get the details of a movie from its title?
– KerrM
Jul 26 '12 at 21:27
1
It doesn't look like they're making any distinction between commercial or non-commercial app. You can always have a look at their TOS here: developer.rottentomatoes.com/apps/tos Although you will be limited to 10,000 calls per day and 10 per seconds
– Johann
Jul 27 '12 at 9:23
1
If you are providing a non-commercial program and need more than 10,000 calls per day, you can talk to them about licencing. The terms are fairly simple and easy to comply with, in that you have to display their logo and/or a particular phrase of wording for the rating.
– Omertron
Aug 21 '12 at 8:56
thanks! this is awesome. using it for my app csomakk.github.io/IWatchSeriez source available on github
– csomakk
Dec 24 '13 at 14:53
4
WTF? "The API is intended for use in the U.S. only. Deploying content outside of this territory must be approved by the Rotten Tomatoes team. The API may NOT be shared with any third parties."
– Dan Dascalescu
Feb 18 '15 at 1:23
Is the rotten tomatoes API free to use in a commercial application? Say, for example, to have users get the details of a movie from its title?
– KerrM
Jul 26 '12 at 21:27
Is the rotten tomatoes API free to use in a commercial application? Say, for example, to have users get the details of a movie from its title?
– KerrM
Jul 26 '12 at 21:27
1
1
It doesn't look like they're making any distinction between commercial or non-commercial app. You can always have a look at their TOS here: developer.rottentomatoes.com/apps/tos Although you will be limited to 10,000 calls per day and 10 per seconds
– Johann
Jul 27 '12 at 9:23
It doesn't look like they're making any distinction between commercial or non-commercial app. You can always have a look at their TOS here: developer.rottentomatoes.com/apps/tos Although you will be limited to 10,000 calls per day and 10 per seconds
– Johann
Jul 27 '12 at 9:23
1
1
If you are providing a non-commercial program and need more than 10,000 calls per day, you can talk to them about licencing. The terms are fairly simple and easy to comply with, in that you have to display their logo and/or a particular phrase of wording for the rating.
– Omertron
Aug 21 '12 at 8:56
If you are providing a non-commercial program and need more than 10,000 calls per day, you can talk to them about licencing. The terms are fairly simple and easy to comply with, in that you have to display their logo and/or a particular phrase of wording for the rating.
– Omertron
Aug 21 '12 at 8:56
thanks! this is awesome. using it for my app csomakk.github.io/IWatchSeriez source available on github
– csomakk
Dec 24 '13 at 14:53
thanks! this is awesome. using it for my app csomakk.github.io/IWatchSeriez source available on github
– csomakk
Dec 24 '13 at 14:53
4
4
WTF? "The API is intended for use in the U.S. only. Deploying content outside of this territory must be approved by the Rotten Tomatoes team. The API may NOT be shared with any third parties."
– Dan Dascalescu
Feb 18 '15 at 1:23
WTF? "The API is intended for use in the U.S. only. Deploying content outside of this territory must be approved by the Rotten Tomatoes team. The API may NOT be shared with any third parties."
– Dan Dascalescu
Feb 18 '15 at 1:23
|
show 2 more comments
up vote
42
down vote
What about TMDb API ?
You can search by imdb_id with Movie.imdbLookup
XBMC Media Center seems to use it
https://www.themoviedb.org/documentation/api
5
Requires a registration and a 3 business day approval process though
– Kostas
Apr 3 '11 at 11:30
tmdb api can use the dvd's unique id to lookup the imdb_id, if that helps. Assuming they have it listed, of course. dvdid.info might help, too.
– rogerdpack
Jun 24 '11 at 21:41
4
vrinek - wrong, it sent me API key immediately.
– oriharel
Jan 14 '14 at 20:24
use this theimdbapi.org
– Chali
Jun 5 '17 at 11:17
add a comment |
up vote
42
down vote
What about TMDb API ?
You can search by imdb_id with Movie.imdbLookup
XBMC Media Center seems to use it
https://www.themoviedb.org/documentation/api
5
Requires a registration and a 3 business day approval process though
– Kostas
Apr 3 '11 at 11:30
tmdb api can use the dvd's unique id to lookup the imdb_id, if that helps. Assuming they have it listed, of course. dvdid.info might help, too.
– rogerdpack
Jun 24 '11 at 21:41
4
vrinek - wrong, it sent me API key immediately.
– oriharel
Jan 14 '14 at 20:24
use this theimdbapi.org
– Chali
Jun 5 '17 at 11:17
add a comment |
up vote
42
down vote
up vote
42
down vote
What about TMDb API ?
You can search by imdb_id with Movie.imdbLookup
XBMC Media Center seems to use it
https://www.themoviedb.org/documentation/api
What about TMDb API ?
You can search by imdb_id with Movie.imdbLookup
XBMC Media Center seems to use it
https://www.themoviedb.org/documentation/api
edited Mar 17 '17 at 2:59
Krinkle
7,98342341
7,98342341
answered Jan 5 '11 at 13:36
hdorio
8,17352630
8,17352630
5
Requires a registration and a 3 business day approval process though
– Kostas
Apr 3 '11 at 11:30
tmdb api can use the dvd's unique id to lookup the imdb_id, if that helps. Assuming they have it listed, of course. dvdid.info might help, too.
– rogerdpack
Jun 24 '11 at 21:41
4
vrinek - wrong, it sent me API key immediately.
– oriharel
Jan 14 '14 at 20:24
use this theimdbapi.org
– Chali
Jun 5 '17 at 11:17
add a comment |
5
Requires a registration and a 3 business day approval process though
– Kostas
Apr 3 '11 at 11:30
tmdb api can use the dvd's unique id to lookup the imdb_id, if that helps. Assuming they have it listed, of course. dvdid.info might help, too.
– rogerdpack
Jun 24 '11 at 21:41
4
vrinek - wrong, it sent me API key immediately.
– oriharel
Jan 14 '14 at 20:24
use this theimdbapi.org
– Chali
Jun 5 '17 at 11:17
5
5
Requires a registration and a 3 business day approval process though
– Kostas
Apr 3 '11 at 11:30
Requires a registration and a 3 business day approval process though
– Kostas
Apr 3 '11 at 11:30
tmdb api can use the dvd's unique id to lookup the imdb_id, if that helps. Assuming they have it listed, of course. dvdid.info might help, too.
– rogerdpack
Jun 24 '11 at 21:41
tmdb api can use the dvd's unique id to lookup the imdb_id, if that helps. Assuming they have it listed, of course. dvdid.info might help, too.
– rogerdpack
Jun 24 '11 at 21:41
4
4
vrinek - wrong, it sent me API key immediately.
– oriharel
Jan 14 '14 at 20:24
vrinek - wrong, it sent me API key immediately.
– oriharel
Jan 14 '14 at 20:24
use this theimdbapi.org
– Chali
Jun 5 '17 at 11:17
use this theimdbapi.org
– Chali
Jun 5 '17 at 11:17
add a comment |
up vote
29
down vote
Yes, but not for free.
.....annual fees ranging from $15,000 to higher depending on the audience for the data and which data are being licensed.
URL :-
http://www.imdb.com/licensing/
1
appears it's free for "personal" use only otherwise you have to contact them...wow we really need an open equivalent of imdb, though I suppose tmdb is close...
– rogerdpack
Jun 24 '11 at 21:54
hi, this is not really an answer to the question, more a comment to above.
– Ian Vaughan
Jul 21 '13 at 20:31
6
@IanVaughan, I believe my answer directly addresses this question: Q: "Does IMDB provide an API for this...?". A: "Yes...[link to data licensing info]." It's not my fault, IMDB doesn't publicly document an API reference.
– Byran
Jul 22 '13 at 21:00
8
Sorry, I think you are right, I stand corrected. Apologies.
– Ian Vaughan
Jul 23 '13 at 13:02
add a comment |
up vote
29
down vote
Yes, but not for free.
.....annual fees ranging from $15,000 to higher depending on the audience for the data and which data are being licensed.
URL :-
http://www.imdb.com/licensing/
1
appears it's free for "personal" use only otherwise you have to contact them...wow we really need an open equivalent of imdb, though I suppose tmdb is close...
– rogerdpack
Jun 24 '11 at 21:54
hi, this is not really an answer to the question, more a comment to above.
– Ian Vaughan
Jul 21 '13 at 20:31
6
@IanVaughan, I believe my answer directly addresses this question: Q: "Does IMDB provide an API for this...?". A: "Yes...[link to data licensing info]." It's not my fault, IMDB doesn't publicly document an API reference.
– Byran
Jul 22 '13 at 21:00
8
Sorry, I think you are right, I stand corrected. Apologies.
– Ian Vaughan
Jul 23 '13 at 13:02
add a comment |
up vote
29
down vote
up vote
29
down vote
Yes, but not for free.
.....annual fees ranging from $15,000 to higher depending on the audience for the data and which data are being licensed.
URL :-
http://www.imdb.com/licensing/
Yes, but not for free.
.....annual fees ranging from $15,000 to higher depending on the audience for the data and which data are being licensed.
URL :-
http://www.imdb.com/licensing/
edited Feb 6 '13 at 10:42
MRT
1,3631340
1,3631340
answered Feb 5 '10 at 4:07
Byran
902822
902822
1
appears it's free for "personal" use only otherwise you have to contact them...wow we really need an open equivalent of imdb, though I suppose tmdb is close...
– rogerdpack
Jun 24 '11 at 21:54
hi, this is not really an answer to the question, more a comment to above.
– Ian Vaughan
Jul 21 '13 at 20:31
6
@IanVaughan, I believe my answer directly addresses this question: Q: "Does IMDB provide an API for this...?". A: "Yes...[link to data licensing info]." It's not my fault, IMDB doesn't publicly document an API reference.
– Byran
Jul 22 '13 at 21:00
8
Sorry, I think you are right, I stand corrected. Apologies.
– Ian Vaughan
Jul 23 '13 at 13:02
add a comment |
1
appears it's free for "personal" use only otherwise you have to contact them...wow we really need an open equivalent of imdb, though I suppose tmdb is close...
– rogerdpack
Jun 24 '11 at 21:54
hi, this is not really an answer to the question, more a comment to above.
– Ian Vaughan
Jul 21 '13 at 20:31
6
@IanVaughan, I believe my answer directly addresses this question: Q: "Does IMDB provide an API for this...?". A: "Yes...[link to data licensing info]." It's not my fault, IMDB doesn't publicly document an API reference.
– Byran
Jul 22 '13 at 21:00
8
Sorry, I think you are right, I stand corrected. Apologies.
– Ian Vaughan
Jul 23 '13 at 13:02
1
1
appears it's free for "personal" use only otherwise you have to contact them...wow we really need an open equivalent of imdb, though I suppose tmdb is close...
– rogerdpack
Jun 24 '11 at 21:54
appears it's free for "personal" use only otherwise you have to contact them...wow we really need an open equivalent of imdb, though I suppose tmdb is close...
– rogerdpack
Jun 24 '11 at 21:54
hi, this is not really an answer to the question, more a comment to above.
– Ian Vaughan
Jul 21 '13 at 20:31
hi, this is not really an answer to the question, more a comment to above.
– Ian Vaughan
Jul 21 '13 at 20:31
6
6
@IanVaughan, I believe my answer directly addresses this question: Q: "Does IMDB provide an API for this...?". A: "Yes...[link to data licensing info]." It's not my fault, IMDB doesn't publicly document an API reference.
– Byran
Jul 22 '13 at 21:00
@IanVaughan, I believe my answer directly addresses this question: Q: "Does IMDB provide an API for this...?". A: "Yes...[link to data licensing info]." It's not my fault, IMDB doesn't publicly document an API reference.
– Byran
Jul 22 '13 at 21:00
8
8
Sorry, I think you are right, I stand corrected. Apologies.
– Ian Vaughan
Jul 23 '13 at 13:02
Sorry, I think you are right, I stand corrected. Apologies.
– Ian Vaughan
Jul 23 '13 at 13:02
add a comment |
up vote
22
down vote
There is a JSON API for use by mobile applications at http://app.imdb.com
However, the warning is fairly severe:
For use only by clients authorized in writing by IMDb.
Authors and users of unauthorized clients accept full legal exposure/liability for their actions.
I presume this is for those developers that pay for the licence to access the data via their API.
EDIT: Just for kicks, I wrote a client library to attempt to read the data from the API, you can find it here: api-imdb
Obviously, you should pay attention to the warning, and really, use something like TheMovieDB as a better and more open database.
Then you can use this Java API wrapper (that I wrote): api-themoviedb
1
I will write your library for NodeJS. Thank you for sharing!
– arm.localhost
Dec 25 '14 at 17:36
How could someone get API key for using it?
– Mohamed
Aug 17 '17 at 16:30
A Python library using this API: pypi.org/project/imdbpie code.richard.do/richardARPANET/imdb-pie @Mohammed See imdb.com/licensing
– Gfy
Jun 27 at 19:16
add a comment |
up vote
22
down vote
There is a JSON API for use by mobile applications at http://app.imdb.com
However, the warning is fairly severe:
For use only by clients authorized in writing by IMDb.
Authors and users of unauthorized clients accept full legal exposure/liability for their actions.
I presume this is for those developers that pay for the licence to access the data via their API.
EDIT: Just for kicks, I wrote a client library to attempt to read the data from the API, you can find it here: api-imdb
Obviously, you should pay attention to the warning, and really, use something like TheMovieDB as a better and more open database.
Then you can use this Java API wrapper (that I wrote): api-themoviedb
1
I will write your library for NodeJS. Thank you for sharing!
– arm.localhost
Dec 25 '14 at 17:36
How could someone get API key for using it?
– Mohamed
Aug 17 '17 at 16:30
A Python library using this API: pypi.org/project/imdbpie code.richard.do/richardARPANET/imdb-pie @Mohammed See imdb.com/licensing
– Gfy
Jun 27 at 19:16
add a comment |
up vote
22
down vote
up vote
22
down vote
There is a JSON API for use by mobile applications at http://app.imdb.com
However, the warning is fairly severe:
For use only by clients authorized in writing by IMDb.
Authors and users of unauthorized clients accept full legal exposure/liability for their actions.
I presume this is for those developers that pay for the licence to access the data via their API.
EDIT: Just for kicks, I wrote a client library to attempt to read the data from the API, you can find it here: api-imdb
Obviously, you should pay attention to the warning, and really, use something like TheMovieDB as a better and more open database.
Then you can use this Java API wrapper (that I wrote): api-themoviedb
There is a JSON API for use by mobile applications at http://app.imdb.com
However, the warning is fairly severe:
For use only by clients authorized in writing by IMDb.
Authors and users of unauthorized clients accept full legal exposure/liability for their actions.
I presume this is for those developers that pay for the licence to access the data via their API.
EDIT: Just for kicks, I wrote a client library to attempt to read the data from the API, you can find it here: api-imdb
Obviously, you should pay attention to the warning, and really, use something like TheMovieDB as a better and more open database.
Then you can use this Java API wrapper (that I wrote): api-themoviedb
edited Jul 25 '13 at 14:40
answered May 9 '12 at 9:15
Omertron
521921
521921
1
I will write your library for NodeJS. Thank you for sharing!
– arm.localhost
Dec 25 '14 at 17:36
How could someone get API key for using it?
– Mohamed
Aug 17 '17 at 16:30
A Python library using this API: pypi.org/project/imdbpie code.richard.do/richardARPANET/imdb-pie @Mohammed See imdb.com/licensing
– Gfy
Jun 27 at 19:16
add a comment |
1
I will write your library for NodeJS. Thank you for sharing!
– arm.localhost
Dec 25 '14 at 17:36
How could someone get API key for using it?
– Mohamed
Aug 17 '17 at 16:30
A Python library using this API: pypi.org/project/imdbpie code.richard.do/richardARPANET/imdb-pie @Mohammed See imdb.com/licensing
– Gfy
Jun 27 at 19:16
1
1
I will write your library for NodeJS. Thank you for sharing!
– arm.localhost
Dec 25 '14 at 17:36
I will write your library for NodeJS. Thank you for sharing!
– arm.localhost
Dec 25 '14 at 17:36
How could someone get API key for using it?
– Mohamed
Aug 17 '17 at 16:30
How could someone get API key for using it?
– Mohamed
Aug 17 '17 at 16:30
A Python library using this API: pypi.org/project/imdbpie code.richard.do/richardARPANET/imdb-pie @Mohammed See imdb.com/licensing
– Gfy
Jun 27 at 19:16
A Python library using this API: pypi.org/project/imdbpie code.richard.do/richardARPANET/imdb-pie @Mohammed See imdb.com/licensing
– Gfy
Jun 27 at 19:16
add a comment |
up vote
9
down vote
https://deanclatworthy.com/tools.html is an IMDB API but has been down due to abuse.
1
unfortunately, it will be closed down soon. Do you know how does it work?
– PA.
Jan 26 '10 at 15:11
1
It only offers a very limited search too, by movie title only
– justinhj
Jan 17 '11 at 0:15
Checkout malhar2010.blogspot.com/2011/02/… for using IMDb api.
– user634057
Feb 25 '11 at 11:54
12
As the author of this API, I should point out that the above comments are now redundant as it's not being closed down, and that you can now search by IMDB ID.
– Dean
Mar 17 '12 at 22:15
2
30 requests per hour
– Ibrahim Ozturkcan
Jan 9 '13 at 15:29
|
show 2 more comments
up vote
9
down vote
https://deanclatworthy.com/tools.html is an IMDB API but has been down due to abuse.
1
unfortunately, it will be closed down soon. Do you know how does it work?
– PA.
Jan 26 '10 at 15:11
1
It only offers a very limited search too, by movie title only
– justinhj
Jan 17 '11 at 0:15
Checkout malhar2010.blogspot.com/2011/02/… for using IMDb api.
– user634057
Feb 25 '11 at 11:54
12
As the author of this API, I should point out that the above comments are now redundant as it's not being closed down, and that you can now search by IMDB ID.
– Dean
Mar 17 '12 at 22:15
2
30 requests per hour
– Ibrahim Ozturkcan
Jan 9 '13 at 15:29
|
show 2 more comments
up vote
9
down vote
up vote
9
down vote
https://deanclatworthy.com/tools.html is an IMDB API but has been down due to abuse.
https://deanclatworthy.com/tools.html is an IMDB API but has been down due to abuse.
edited Feb 18 '15 at 1:21
Dan Dascalescu
63.9k20194269
63.9k20194269
answered Dec 27 '09 at 17:42
Valentin Golev
6,96664975
6,96664975
1
unfortunately, it will be closed down soon. Do you know how does it work?
– PA.
Jan 26 '10 at 15:11
1
It only offers a very limited search too, by movie title only
– justinhj
Jan 17 '11 at 0:15
Checkout malhar2010.blogspot.com/2011/02/… for using IMDb api.
– user634057
Feb 25 '11 at 11:54
12
As the author of this API, I should point out that the above comments are now redundant as it's not being closed down, and that you can now search by IMDB ID.
– Dean
Mar 17 '12 at 22:15
2
30 requests per hour
– Ibrahim Ozturkcan
Jan 9 '13 at 15:29
|
show 2 more comments
1
unfortunately, it will be closed down soon. Do you know how does it work?
– PA.
Jan 26 '10 at 15:11
1
It only offers a very limited search too, by movie title only
– justinhj
Jan 17 '11 at 0:15
Checkout malhar2010.blogspot.com/2011/02/… for using IMDb api.
– user634057
Feb 25 '11 at 11:54
12
As the author of this API, I should point out that the above comments are now redundant as it's not being closed down, and that you can now search by IMDB ID.
– Dean
Mar 17 '12 at 22:15
2
30 requests per hour
– Ibrahim Ozturkcan
Jan 9 '13 at 15:29
1
1
unfortunately, it will be closed down soon. Do you know how does it work?
– PA.
Jan 26 '10 at 15:11
unfortunately, it will be closed down soon. Do you know how does it work?
– PA.
Jan 26 '10 at 15:11
1
1
It only offers a very limited search too, by movie title only
– justinhj
Jan 17 '11 at 0:15
It only offers a very limited search too, by movie title only
– justinhj
Jan 17 '11 at 0:15
Checkout malhar2010.blogspot.com/2011/02/… for using IMDb api.
– user634057
Feb 25 '11 at 11:54
Checkout malhar2010.blogspot.com/2011/02/… for using IMDb api.
– user634057
Feb 25 '11 at 11:54
12
12
As the author of this API, I should point out that the above comments are now redundant as it's not being closed down, and that you can now search by IMDB ID.
– Dean
Mar 17 '12 at 22:15
As the author of this API, I should point out that the above comments are now redundant as it's not being closed down, and that you can now search by IMDB ID.
– Dean
Mar 17 '12 at 22:15
2
2
30 requests per hour
– Ibrahim Ozturkcan
Jan 9 '13 at 15:29
30 requests per hour
– Ibrahim Ozturkcan
Jan 9 '13 at 15:29
|
show 2 more comments
up vote
6
down vote
Found this one
IMDbPY is a Python package useful to retrieve and manage the data of
the IMDb movie database about movies, people, characters and
companies.
http://imdbpy.sourceforge.net/
add a comment |
up vote
6
down vote
Found this one
IMDbPY is a Python package useful to retrieve and manage the data of
the IMDb movie database about movies, people, characters and
companies.
http://imdbpy.sourceforge.net/
add a comment |
up vote
6
down vote
up vote
6
down vote
Found this one
IMDbPY is a Python package useful to retrieve and manage the data of
the IMDb movie database about movies, people, characters and
companies.
http://imdbpy.sourceforge.net/
Found this one
IMDbPY is a Python package useful to retrieve and manage the data of
the IMDb movie database about movies, people, characters and
companies.
http://imdbpy.sourceforge.net/
answered Dec 30 '13 at 21:52
markiv
15826
15826
add a comment |
add a comment |
up vote
6
down vote
IMDB doesn't seem to have a direct API as of August 2016 yet but I saw many people writing scrapers and stuff above. Here is a more standard way to access movie data using box office buzz API. All responses in JSON format and 5000 queries per day on a free plan
List of things provided by the API
- Movie Credits
- Movie ID
- Movie Images
- Get movie by IMDB id
- Get latest movies list
- Get new releases
- Get movie release dates
- Get the list of translations available for a specific movie
- Get videos, trailers, and teasers for a movie
- Search for a movie by title
- Also supports TV shows, games and videos
theimdbapi.org is totally free
– Chali
Jun 5 '17 at 11:17
add a comment |
up vote
6
down vote
IMDB doesn't seem to have a direct API as of August 2016 yet but I saw many people writing scrapers and stuff above. Here is a more standard way to access movie data using box office buzz API. All responses in JSON format and 5000 queries per day on a free plan
List of things provided by the API
- Movie Credits
- Movie ID
- Movie Images
- Get movie by IMDB id
- Get latest movies list
- Get new releases
- Get movie release dates
- Get the list of translations available for a specific movie
- Get videos, trailers, and teasers for a movie
- Search for a movie by title
- Also supports TV shows, games and videos
theimdbapi.org is totally free
– Chali
Jun 5 '17 at 11:17
add a comment |
up vote
6
down vote
up vote
6
down vote
IMDB doesn't seem to have a direct API as of August 2016 yet but I saw many people writing scrapers and stuff above. Here is a more standard way to access movie data using box office buzz API. All responses in JSON format and 5000 queries per day on a free plan
List of things provided by the API
- Movie Credits
- Movie ID
- Movie Images
- Get movie by IMDB id
- Get latest movies list
- Get new releases
- Get movie release dates
- Get the list of translations available for a specific movie
- Get videos, trailers, and teasers for a movie
- Search for a movie by title
- Also supports TV shows, games and videos
IMDB doesn't seem to have a direct API as of August 2016 yet but I saw many people writing scrapers and stuff above. Here is a more standard way to access movie data using box office buzz API. All responses in JSON format and 5000 queries per day on a free plan
List of things provided by the API
- Movie Credits
- Movie ID
- Movie Images
- Get movie by IMDB id
- Get latest movies list
- Get new releases
- Get movie release dates
- Get the list of translations available for a specific movie
- Get videos, trailers, and teasers for a movie
- Search for a movie by title
- Also supports TV shows, games and videos
answered Aug 18 '16 at 3:45
PirateApp
1,82511728
1,82511728
theimdbapi.org is totally free
– Chali
Jun 5 '17 at 11:17
add a comment |
theimdbapi.org is totally free
– Chali
Jun 5 '17 at 11:17
theimdbapi.org is totally free
– Chali
Jun 5 '17 at 11:17
theimdbapi.org is totally free
– Chali
Jun 5 '17 at 11:17
add a comment |
up vote
3
down vote
that deanclatworthy still seems to work
and there's another one: http://imdbapi.poromenos.org/
1
and (I almost wrote, "even better!", the developer-caveman-instinct is strong ;-) the latter's source is at github.com/skorokithakis/imdbapi
– Morten Bergfall
Oct 25 '10 at 2:16
add a comment |
up vote
3
down vote
that deanclatworthy still seems to work
and there's another one: http://imdbapi.poromenos.org/
1
and (I almost wrote, "even better!", the developer-caveman-instinct is strong ;-) the latter's source is at github.com/skorokithakis/imdbapi
– Morten Bergfall
Oct 25 '10 at 2:16
add a comment |
up vote
3
down vote
up vote
3
down vote
that deanclatworthy still seems to work
and there's another one: http://imdbapi.poromenos.org/
that deanclatworthy still seems to work
and there's another one: http://imdbapi.poromenos.org/
answered Jul 23 '10 at 20:32
myincome
1
and (I almost wrote, "even better!", the developer-caveman-instinct is strong ;-) the latter's source is at github.com/skorokithakis/imdbapi
– Morten Bergfall
Oct 25 '10 at 2:16
add a comment |
1
and (I almost wrote, "even better!", the developer-caveman-instinct is strong ;-) the latter's source is at github.com/skorokithakis/imdbapi
– Morten Bergfall
Oct 25 '10 at 2:16
1
1
and (I almost wrote, "even better!", the developer-caveman-instinct is strong ;-) the latter's source is at github.com/skorokithakis/imdbapi
– Morten Bergfall
Oct 25 '10 at 2:16
and (I almost wrote, "even better!", the developer-caveman-instinct is strong ;-) the latter's source is at github.com/skorokithakis/imdbapi
– Morten Bergfall
Oct 25 '10 at 2:16
add a comment |
up vote
3
down vote
Here is a simple solution that fetches shows by name based on the query from Krinkle:
You can get around the same-origin policy by having your server fetch the URL instead of trying to fetch it directly with AJAX and you don't have to use JSONP to do it.
Javascript (jQuery):
function getShowOptionsFromName (name) {
$.ajax({
url: "ajax.php",
method: "GET",
data: {q: name},
dataType: "json"
}).done(function(data){
console.log(data);
});
}
PHP (in file ajax.php):
$q = urlencode($_GET["q"]);
echo file_get_contents("http://www.imdb.com/xml/find?json=1&nr=1&tt=on&q=$q");
add a comment |
up vote
3
down vote
Here is a simple solution that fetches shows by name based on the query from Krinkle:
You can get around the same-origin policy by having your server fetch the URL instead of trying to fetch it directly with AJAX and you don't have to use JSONP to do it.
Javascript (jQuery):
function getShowOptionsFromName (name) {
$.ajax({
url: "ajax.php",
method: "GET",
data: {q: name},
dataType: "json"
}).done(function(data){
console.log(data);
});
}
PHP (in file ajax.php):
$q = urlencode($_GET["q"]);
echo file_get_contents("http://www.imdb.com/xml/find?json=1&nr=1&tt=on&q=$q");
add a comment |
up vote
3
down vote
up vote
3
down vote
Here is a simple solution that fetches shows by name based on the query from Krinkle:
You can get around the same-origin policy by having your server fetch the URL instead of trying to fetch it directly with AJAX and you don't have to use JSONP to do it.
Javascript (jQuery):
function getShowOptionsFromName (name) {
$.ajax({
url: "ajax.php",
method: "GET",
data: {q: name},
dataType: "json"
}).done(function(data){
console.log(data);
});
}
PHP (in file ajax.php):
$q = urlencode($_GET["q"]);
echo file_get_contents("http://www.imdb.com/xml/find?json=1&nr=1&tt=on&q=$q");
Here is a simple solution that fetches shows by name based on the query from Krinkle:
You can get around the same-origin policy by having your server fetch the URL instead of trying to fetch it directly with AJAX and you don't have to use JSONP to do it.
Javascript (jQuery):
function getShowOptionsFromName (name) {
$.ajax({
url: "ajax.php",
method: "GET",
data: {q: name},
dataType: "json"
}).done(function(data){
console.log(data);
});
}
PHP (in file ajax.php):
$q = urlencode($_GET["q"]);
echo file_get_contents("http://www.imdb.com/xml/find?json=1&nr=1&tt=on&q=$q");
answered Nov 16 '13 at 21:00
Brett Pennings
1,1381219
1,1381219
add a comment |
add a comment |
up vote
2
down vote
NetFilx is more of personalized media service but you can use it for public information regarding movies. It supports Javascript and OData.
Also look JMDb: The information is basically the same as you can get when using the IMDb website.
1
Netflix shut down their public API almost a year ago. Since they took down the entire developer sub-domain, including the post saying they were shutting it down, here's a link to a news piece on it: gigaom.com/2014/11/14/…
– James Skemp
Aug 23 '15 at 23:31
add a comment |
up vote
2
down vote
NetFilx is more of personalized media service but you can use it for public information regarding movies. It supports Javascript and OData.
Also look JMDb: The information is basically the same as you can get when using the IMDb website.
1
Netflix shut down their public API almost a year ago. Since they took down the entire developer sub-domain, including the post saying they were shutting it down, here's a link to a news piece on it: gigaom.com/2014/11/14/…
– James Skemp
Aug 23 '15 at 23:31
add a comment |
up vote
2
down vote
up vote
2
down vote
NetFilx is more of personalized media service but you can use it for public information regarding movies. It supports Javascript and OData.
Also look JMDb: The information is basically the same as you can get when using the IMDb website.
NetFilx is more of personalized media service but you can use it for public information regarding movies. It supports Javascript and OData.
Also look JMDb: The information is basically the same as you can get when using the IMDb website.
edited Jan 17 '13 at 9:06
answered Sep 10 '12 at 14:32
ThePCWizard
2,90721628
2,90721628
1
Netflix shut down their public API almost a year ago. Since they took down the entire developer sub-domain, including the post saying they were shutting it down, here's a link to a news piece on it: gigaom.com/2014/11/14/…
– James Skemp
Aug 23 '15 at 23:31
add a comment |
1
Netflix shut down their public API almost a year ago. Since they took down the entire developer sub-domain, including the post saying they were shutting it down, here's a link to a news piece on it: gigaom.com/2014/11/14/…
– James Skemp
Aug 23 '15 at 23:31
1
1
Netflix shut down their public API almost a year ago. Since they took down the entire developer sub-domain, including the post saying they were shutting it down, here's a link to a news piece on it: gigaom.com/2014/11/14/…
– James Skemp
Aug 23 '15 at 23:31
Netflix shut down their public API almost a year ago. Since they took down the entire developer sub-domain, including the post saying they were shutting it down, here's a link to a news piece on it: gigaom.com/2014/11/14/…
– James Skemp
Aug 23 '15 at 23:31
add a comment |
up vote
1
down vote
Recently at SXSWi 2012, in their "Mashery Lounge", there was a booth for an IMDB-like API called from rovi. It's not a free API, but according to the sales guy I talked to they offer either a rev share or a flat fee for usage, depending on your budget. I haven't used it yet but it seems pretty cool.
add a comment |
up vote
1
down vote
Recently at SXSWi 2012, in their "Mashery Lounge", there was a booth for an IMDB-like API called from rovi. It's not a free API, but according to the sales guy I talked to they offer either a rev share or a flat fee for usage, depending on your budget. I haven't used it yet but it seems pretty cool.
add a comment |
up vote
1
down vote
up vote
1
down vote
Recently at SXSWi 2012, in their "Mashery Lounge", there was a booth for an IMDB-like API called from rovi. It's not a free API, but according to the sales guy I talked to they offer either a rev share or a flat fee for usage, depending on your budget. I haven't used it yet but it seems pretty cool.
Recently at SXSWi 2012, in their "Mashery Lounge", there was a booth for an IMDB-like API called from rovi. It's not a free API, but according to the sales guy I talked to they offer either a rev share or a flat fee for usage, depending on your budget. I haven't used it yet but it seems pretty cool.
answered Mar 15 '12 at 23:01
bpapa
14.8k2189142
14.8k2189142
add a comment |
add a comment |
up vote
1
down vote
ok i found this one IMDB scraper
for C#:
http://web3o.blogspot.de/2010/11/aspnetc-imdb-scraping-api.html
PHP here:
http://web3o.blogspot.de/2010/10/php-imdb-scraper-for-new-imdb-template.html
alternatively a imdbapi.org implementation for c#:
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Xml.Linq;
using HtmlAgilityPack; // http://htmlagilitypack.codeplex.com/
public class IMDBHelper
{
public static imdbitem GetInfoByTitle(string Title)
{
string url = "http://imdbapi.org/?type=xml&limit=1&title=" + Title;
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url);
req.Method = "GET";
req.UserAgent = "Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))";
string source;
using (StreamReader reader = new StreamReader(req.GetResponse().GetResponseStream()))
{
source = reader.ReadToEnd();
}
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(source);
XDocument xdoc = XDocument.Parse(doc.DocumentNode.InnerHtml, LoadOptions.None);
imdbitem i = new imdbitem();
i.rating = xdoc.Descendants("rating").Select(x => x.Value).FirstOrDefault();
i.rating_count = xdoc.Descendants("rating_count").Select(x => x.Value).FirstOrDefault();
i.year = xdoc.Descendants("year").Select(x => x.Value).FirstOrDefault();
i.rated = xdoc.Descendants("rated").Select(x => x.Value).FirstOrDefault();
i.title = xdoc.Descendants("title").Select(x => x.Value).FirstOrDefault();
i.imdb_url = xdoc.Descendants("imdb_url").Select(x => x.Value).FirstOrDefault();
i.plot_simple = xdoc.Descendants("plot_simple").Select(x => x.Value).FirstOrDefault();
i.type = xdoc.Descendants("type").Select(x => x.Value).FirstOrDefault();
i.poster = xdoc.Descendants("poster").Select(x => x.Value).FirstOrDefault();
i.imdb_id = xdoc.Descendants("imdb_id").Select(x => x.Value).FirstOrDefault();
i.also_known_as = xdoc.Descendants("also_known_as").Select(x => x.Value).FirstOrDefault();
i.language = xdoc.Descendants("language").Select(x => x.Value).FirstOrDefault();
i.country = xdoc.Descendants("country").Select(x => x.Value).FirstOrDefault();
i.release_date = xdoc.Descendants("release_date").Select(x => x.Value).FirstOrDefault();
i.filming_locations = xdoc.Descendants("filming_locations").Select(x => x.Value).FirstOrDefault();
i.runtime = xdoc.Descendants("runtime").Select(x => x.Value).FirstOrDefault();
i.directors = xdoc.Descendants("directors").Descendants("item").Select(x => x.Value).ToList();
i.writers = xdoc.Descendants("writers").Descendants("item").Select(x => x.Value).ToList();
i.actors = xdoc.Descendants("actors").Descendants("item").Select(x => x.Value).ToList();
i.genres = xdoc.Descendants("genres").Descendants("item").Select(x => x.Value).ToList();
return i;
}
public class imdbitem
{
public string rating { get; set; }
public string rating_count { get; set; }
public string year { get; set; }
public string rated { get; set; }
public string title { get; set; }
public string imdb_url { get; set; }
public string plot_simple { get; set; }
public string type { get; set; }
public string poster { get; set; }
public string imdb_id { get; set; }
public string also_known_as { get; set; }
public string language { get; set; }
public string country { get; set; }
public string release_date { get; set; }
public string filming_locations { get; set; }
public string runtime { get; set; }
public List<string> directors { get; set; }
public List<string> writers { get; set; }
public List<string> actors { get; set; }
public List<string> genres { get; set; }
}
}
add a comment |
up vote
1
down vote
ok i found this one IMDB scraper
for C#:
http://web3o.blogspot.de/2010/11/aspnetc-imdb-scraping-api.html
PHP here:
http://web3o.blogspot.de/2010/10/php-imdb-scraper-for-new-imdb-template.html
alternatively a imdbapi.org implementation for c#:
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Xml.Linq;
using HtmlAgilityPack; // http://htmlagilitypack.codeplex.com/
public class IMDBHelper
{
public static imdbitem GetInfoByTitle(string Title)
{
string url = "http://imdbapi.org/?type=xml&limit=1&title=" + Title;
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url);
req.Method = "GET";
req.UserAgent = "Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))";
string source;
using (StreamReader reader = new StreamReader(req.GetResponse().GetResponseStream()))
{
source = reader.ReadToEnd();
}
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(source);
XDocument xdoc = XDocument.Parse(doc.DocumentNode.InnerHtml, LoadOptions.None);
imdbitem i = new imdbitem();
i.rating = xdoc.Descendants("rating").Select(x => x.Value).FirstOrDefault();
i.rating_count = xdoc.Descendants("rating_count").Select(x => x.Value).FirstOrDefault();
i.year = xdoc.Descendants("year").Select(x => x.Value).FirstOrDefault();
i.rated = xdoc.Descendants("rated").Select(x => x.Value).FirstOrDefault();
i.title = xdoc.Descendants("title").Select(x => x.Value).FirstOrDefault();
i.imdb_url = xdoc.Descendants("imdb_url").Select(x => x.Value).FirstOrDefault();
i.plot_simple = xdoc.Descendants("plot_simple").Select(x => x.Value).FirstOrDefault();
i.type = xdoc.Descendants("type").Select(x => x.Value).FirstOrDefault();
i.poster = xdoc.Descendants("poster").Select(x => x.Value).FirstOrDefault();
i.imdb_id = xdoc.Descendants("imdb_id").Select(x => x.Value).FirstOrDefault();
i.also_known_as = xdoc.Descendants("also_known_as").Select(x => x.Value).FirstOrDefault();
i.language = xdoc.Descendants("language").Select(x => x.Value).FirstOrDefault();
i.country = xdoc.Descendants("country").Select(x => x.Value).FirstOrDefault();
i.release_date = xdoc.Descendants("release_date").Select(x => x.Value).FirstOrDefault();
i.filming_locations = xdoc.Descendants("filming_locations").Select(x => x.Value).FirstOrDefault();
i.runtime = xdoc.Descendants("runtime").Select(x => x.Value).FirstOrDefault();
i.directors = xdoc.Descendants("directors").Descendants("item").Select(x => x.Value).ToList();
i.writers = xdoc.Descendants("writers").Descendants("item").Select(x => x.Value).ToList();
i.actors = xdoc.Descendants("actors").Descendants("item").Select(x => x.Value).ToList();
i.genres = xdoc.Descendants("genres").Descendants("item").Select(x => x.Value).ToList();
return i;
}
public class imdbitem
{
public string rating { get; set; }
public string rating_count { get; set; }
public string year { get; set; }
public string rated { get; set; }
public string title { get; set; }
public string imdb_url { get; set; }
public string plot_simple { get; set; }
public string type { get; set; }
public string poster { get; set; }
public string imdb_id { get; set; }
public string also_known_as { get; set; }
public string language { get; set; }
public string country { get; set; }
public string release_date { get; set; }
public string filming_locations { get; set; }
public string runtime { get; set; }
public List<string> directors { get; set; }
public List<string> writers { get; set; }
public List<string> actors { get; set; }
public List<string> genres { get; set; }
}
}
add a comment |
up vote
1
down vote
up vote
1
down vote
ok i found this one IMDB scraper
for C#:
http://web3o.blogspot.de/2010/11/aspnetc-imdb-scraping-api.html
PHP here:
http://web3o.blogspot.de/2010/10/php-imdb-scraper-for-new-imdb-template.html
alternatively a imdbapi.org implementation for c#:
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Xml.Linq;
using HtmlAgilityPack; // http://htmlagilitypack.codeplex.com/
public class IMDBHelper
{
public static imdbitem GetInfoByTitle(string Title)
{
string url = "http://imdbapi.org/?type=xml&limit=1&title=" + Title;
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url);
req.Method = "GET";
req.UserAgent = "Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))";
string source;
using (StreamReader reader = new StreamReader(req.GetResponse().GetResponseStream()))
{
source = reader.ReadToEnd();
}
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(source);
XDocument xdoc = XDocument.Parse(doc.DocumentNode.InnerHtml, LoadOptions.None);
imdbitem i = new imdbitem();
i.rating = xdoc.Descendants("rating").Select(x => x.Value).FirstOrDefault();
i.rating_count = xdoc.Descendants("rating_count").Select(x => x.Value).FirstOrDefault();
i.year = xdoc.Descendants("year").Select(x => x.Value).FirstOrDefault();
i.rated = xdoc.Descendants("rated").Select(x => x.Value).FirstOrDefault();
i.title = xdoc.Descendants("title").Select(x => x.Value).FirstOrDefault();
i.imdb_url = xdoc.Descendants("imdb_url").Select(x => x.Value).FirstOrDefault();
i.plot_simple = xdoc.Descendants("plot_simple").Select(x => x.Value).FirstOrDefault();
i.type = xdoc.Descendants("type").Select(x => x.Value).FirstOrDefault();
i.poster = xdoc.Descendants("poster").Select(x => x.Value).FirstOrDefault();
i.imdb_id = xdoc.Descendants("imdb_id").Select(x => x.Value).FirstOrDefault();
i.also_known_as = xdoc.Descendants("also_known_as").Select(x => x.Value).FirstOrDefault();
i.language = xdoc.Descendants("language").Select(x => x.Value).FirstOrDefault();
i.country = xdoc.Descendants("country").Select(x => x.Value).FirstOrDefault();
i.release_date = xdoc.Descendants("release_date").Select(x => x.Value).FirstOrDefault();
i.filming_locations = xdoc.Descendants("filming_locations").Select(x => x.Value).FirstOrDefault();
i.runtime = xdoc.Descendants("runtime").Select(x => x.Value).FirstOrDefault();
i.directors = xdoc.Descendants("directors").Descendants("item").Select(x => x.Value).ToList();
i.writers = xdoc.Descendants("writers").Descendants("item").Select(x => x.Value).ToList();
i.actors = xdoc.Descendants("actors").Descendants("item").Select(x => x.Value).ToList();
i.genres = xdoc.Descendants("genres").Descendants("item").Select(x => x.Value).ToList();
return i;
}
public class imdbitem
{
public string rating { get; set; }
public string rating_count { get; set; }
public string year { get; set; }
public string rated { get; set; }
public string title { get; set; }
public string imdb_url { get; set; }
public string plot_simple { get; set; }
public string type { get; set; }
public string poster { get; set; }
public string imdb_id { get; set; }
public string also_known_as { get; set; }
public string language { get; set; }
public string country { get; set; }
public string release_date { get; set; }
public string filming_locations { get; set; }
public string runtime { get; set; }
public List<string> directors { get; set; }
public List<string> writers { get; set; }
public List<string> actors { get; set; }
public List<string> genres { get; set; }
}
}
ok i found this one IMDB scraper
for C#:
http://web3o.blogspot.de/2010/11/aspnetc-imdb-scraping-api.html
PHP here:
http://web3o.blogspot.de/2010/10/php-imdb-scraper-for-new-imdb-template.html
alternatively a imdbapi.org implementation for c#:
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Xml.Linq;
using HtmlAgilityPack; // http://htmlagilitypack.codeplex.com/
public class IMDBHelper
{
public static imdbitem GetInfoByTitle(string Title)
{
string url = "http://imdbapi.org/?type=xml&limit=1&title=" + Title;
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url);
req.Method = "GET";
req.UserAgent = "Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))";
string source;
using (StreamReader reader = new StreamReader(req.GetResponse().GetResponseStream()))
{
source = reader.ReadToEnd();
}
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(source);
XDocument xdoc = XDocument.Parse(doc.DocumentNode.InnerHtml, LoadOptions.None);
imdbitem i = new imdbitem();
i.rating = xdoc.Descendants("rating").Select(x => x.Value).FirstOrDefault();
i.rating_count = xdoc.Descendants("rating_count").Select(x => x.Value).FirstOrDefault();
i.year = xdoc.Descendants("year").Select(x => x.Value).FirstOrDefault();
i.rated = xdoc.Descendants("rated").Select(x => x.Value).FirstOrDefault();
i.title = xdoc.Descendants("title").Select(x => x.Value).FirstOrDefault();
i.imdb_url = xdoc.Descendants("imdb_url").Select(x => x.Value).FirstOrDefault();
i.plot_simple = xdoc.Descendants("plot_simple").Select(x => x.Value).FirstOrDefault();
i.type = xdoc.Descendants("type").Select(x => x.Value).FirstOrDefault();
i.poster = xdoc.Descendants("poster").Select(x => x.Value).FirstOrDefault();
i.imdb_id = xdoc.Descendants("imdb_id").Select(x => x.Value).FirstOrDefault();
i.also_known_as = xdoc.Descendants("also_known_as").Select(x => x.Value).FirstOrDefault();
i.language = xdoc.Descendants("language").Select(x => x.Value).FirstOrDefault();
i.country = xdoc.Descendants("country").Select(x => x.Value).FirstOrDefault();
i.release_date = xdoc.Descendants("release_date").Select(x => x.Value).FirstOrDefault();
i.filming_locations = xdoc.Descendants("filming_locations").Select(x => x.Value).FirstOrDefault();
i.runtime = xdoc.Descendants("runtime").Select(x => x.Value).FirstOrDefault();
i.directors = xdoc.Descendants("directors").Descendants("item").Select(x => x.Value).ToList();
i.writers = xdoc.Descendants("writers").Descendants("item").Select(x => x.Value).ToList();
i.actors = xdoc.Descendants("actors").Descendants("item").Select(x => x.Value).ToList();
i.genres = xdoc.Descendants("genres").Descendants("item").Select(x => x.Value).ToList();
return i;
}
public class imdbitem
{
public string rating { get; set; }
public string rating_count { get; set; }
public string year { get; set; }
public string rated { get; set; }
public string title { get; set; }
public string imdb_url { get; set; }
public string plot_simple { get; set; }
public string type { get; set; }
public string poster { get; set; }
public string imdb_id { get; set; }
public string also_known_as { get; set; }
public string language { get; set; }
public string country { get; set; }
public string release_date { get; set; }
public string filming_locations { get; set; }
public string runtime { get; set; }
public List<string> directors { get; set; }
public List<string> writers { get; set; }
public List<string> actors { get; set; }
public List<string> genres { get; set; }
}
}
edited Jun 6 '13 at 8:05
answered May 28 '13 at 18:12
fubo
28.7k963100
28.7k963100
add a comment |
add a comment |
up vote
1
down vote
If you need TV information you can try TVmaze.com.
It's free, fast and reliable. Here is the developer page:
http://api.tvmaze.com/
add a comment |
up vote
1
down vote
If you need TV information you can try TVmaze.com.
It's free, fast and reliable. Here is the developer page:
http://api.tvmaze.com/
add a comment |
up vote
1
down vote
up vote
1
down vote
If you need TV information you can try TVmaze.com.
It's free, fast and reliable. Here is the developer page:
http://api.tvmaze.com/
If you need TV information you can try TVmaze.com.
It's free, fast and reliable. Here is the developer page:
http://api.tvmaze.com/
answered May 17 '16 at 17:22
Saeed Masoumi
5,00863056
5,00863056
add a comment |
add a comment |
up vote
0
down vote
Here is a Python module providing API's to get data from IMDB website
http://techdiary-viki.blogspot.com/2011/03/imdb-api.html
That module uses screen-scraping, which is against the TOS
– Farinha
Apr 18 '11 at 12:40
6
Using IMDB at all in an app is against their TOS, apparently...
– rogerdpack
Jun 24 '11 at 21:51
ya, you have to contact them and request to use their content in your commercial application. It says in their TOS you have to have written consent from IMDB.
– Mike
May 4 '12 at 4:21
add a comment |
up vote
0
down vote
Here is a Python module providing API's to get data from IMDB website
http://techdiary-viki.blogspot.com/2011/03/imdb-api.html
That module uses screen-scraping, which is against the TOS
– Farinha
Apr 18 '11 at 12:40
6
Using IMDB at all in an app is against their TOS, apparently...
– rogerdpack
Jun 24 '11 at 21:51
ya, you have to contact them and request to use their content in your commercial application. It says in their TOS you have to have written consent from IMDB.
– Mike
May 4 '12 at 4:21
add a comment |
up vote
0
down vote
up vote
0
down vote
Here is a Python module providing API's to get data from IMDB website
http://techdiary-viki.blogspot.com/2011/03/imdb-api.html
Here is a Python module providing API's to get data from IMDB website
http://techdiary-viki.blogspot.com/2011/03/imdb-api.html
answered Mar 10 '11 at 15:12
vikas
11
11
That module uses screen-scraping, which is against the TOS
– Farinha
Apr 18 '11 at 12:40
6
Using IMDB at all in an app is against their TOS, apparently...
– rogerdpack
Jun 24 '11 at 21:51
ya, you have to contact them and request to use their content in your commercial application. It says in their TOS you have to have written consent from IMDB.
– Mike
May 4 '12 at 4:21
add a comment |
That module uses screen-scraping, which is against the TOS
– Farinha
Apr 18 '11 at 12:40
6
Using IMDB at all in an app is against their TOS, apparently...
– rogerdpack
Jun 24 '11 at 21:51
ya, you have to contact them and request to use their content in your commercial application. It says in their TOS you have to have written consent from IMDB.
– Mike
May 4 '12 at 4:21
That module uses screen-scraping, which is against the TOS
– Farinha
Apr 18 '11 at 12:40
That module uses screen-scraping, which is against the TOS
– Farinha
Apr 18 '11 at 12:40
6
6
Using IMDB at all in an app is against their TOS, apparently...
– rogerdpack
Jun 24 '11 at 21:51
Using IMDB at all in an app is against their TOS, apparently...
– rogerdpack
Jun 24 '11 at 21:51
ya, you have to contact them and request to use their content in your commercial application. It says in their TOS you have to have written consent from IMDB.
– Mike
May 4 '12 at 4:21
ya, you have to contact them and request to use their content in your commercial application. It says in their TOS you have to have written consent from IMDB.
– Mike
May 4 '12 at 4:21
add a comment |
up vote
0
down vote
Im pretty confident that the application you found actually gets their information form Themoviedb.org's API(they get most of there stuff from IMDB). They have a free open API that is used alot of the movie organizer/XMBC applications.
add a comment |
up vote
0
down vote
Im pretty confident that the application you found actually gets their information form Themoviedb.org's API(they get most of there stuff from IMDB). They have a free open API that is used alot of the movie organizer/XMBC applications.
add a comment |
up vote
0
down vote
up vote
0
down vote
Im pretty confident that the application you found actually gets their information form Themoviedb.org's API(they get most of there stuff from IMDB). They have a free open API that is used alot of the movie organizer/XMBC applications.
Im pretty confident that the application you found actually gets their information form Themoviedb.org's API(they get most of there stuff from IMDB). They have a free open API that is used alot of the movie organizer/XMBC applications.
answered May 4 '12 at 4:22
Mike
8901814
8901814
add a comment |
add a comment |
up vote
0
down vote
If you want movie details api you can consider
OMDB API which is Open movies Database
Returns IBDB Rating, IMDB Votes and you can include Rotten Tomato rating too.
Or else You can use
My Api Films which allows you to search with IMDB ID and returns detailed information but it has request limits.
add a comment |
up vote
0
down vote
If you want movie details api you can consider
OMDB API which is Open movies Database
Returns IBDB Rating, IMDB Votes and you can include Rotten Tomato rating too.
Or else You can use
My Api Films which allows you to search with IMDB ID and returns detailed information but it has request limits.
add a comment |
up vote
0
down vote
up vote
0
down vote
If you want movie details api you can consider
OMDB API which is Open movies Database
Returns IBDB Rating, IMDB Votes and you can include Rotten Tomato rating too.
Or else You can use
My Api Films which allows you to search with IMDB ID and returns detailed information but it has request limits.
If you want movie details api you can consider
OMDB API which is Open movies Database
Returns IBDB Rating, IMDB Votes and you can include Rotten Tomato rating too.
Or else You can use
My Api Films which allows you to search with IMDB ID and returns detailed information but it has request limits.
answered Mar 25 '16 at 13:16
Akshay Khale
3,72833039
3,72833039
add a comment |
add a comment |
protected by Community♦ May 17 '11 at 5:55
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
9
Is there any API for reviews on IMDB ?
– metdos
Apr 6 '11 at 7:20
1
To just link IMDB use following format.
<a href="http://www.imdb.com/title/{{{ $imdb_id }}}">{{{ $imdb_id }}}</a>
BTW: imdb_id follows this pattern: tt0000000
– Igor Parra
Mar 29 '14 at 17:11
1
whats the name of this movie organizer application? I am looking for something like that
– Airlike
Jul 8 '14 at 18:38
@Airlike Possibly Plex. I know for sure that one organizes movies and can retrieve data from IMDB.
– mason
Nov 7 '14 at 19:07
1
There is also THE IMDB API at theimdbapi.org "Free RESTful JSON api for get movie metadata from IMDB.com, the api is totally free and unlimited calls per user, the API will return Unic information such as actors , trailers , poster urls, imdb rating of the movie."
– Gfy
Jul 21 '17 at 13:39