IMDB API

by Stavros Korokithakis

Well hello. I see you want to access IMDB programatically. Well, this is your chance. This service is updated every day from the IMDB data files and you can access it with the ?name= URL parameter. For example, this is the episode list (in JSON) for How I Met Your Mother.

Instructions:
  1. Use the "name" GET parameter followed by the urlencoded show name. If there are multiple shows with the same name, you can pass the "year" parameter as well to select a year. The script can now return JSONP, you can pass the "callback" parameter to get the data wrapped in a javascript function whose name is the value of the callback parameter (example).
  2. The URL /js/ returns data as text/html and /json/ returns data as application/json. Both use exactly the same parameters.
  3. You can use wildcards by using the percent sign, for example "how i met % mother" will work.
  4. If there are multiple show names, you will get a list of the 15 first that match your string (example).
  5. If the show was not found, you will get "null".

Have fun!

a stochastic technologies project