What it does
The OMDb API gives information about movies and TV series: title, year, plot, cast, ratings, runtime and poster links, for example to show film details in an app. Search by title with s or t, or look up an IMDb ID with i, and get JSON or XML back. The poster image API is only for Patreon supporters. Free with a free API key, 1,000 requests a day.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free with a free API key, 1,000 requests a day.
- From the browser
- Yes (CORS)
- Formats
- JSON, XML
- Interface
- REST, HTTP-GET
- Provider
- omdbapi.com
More information: https://www.omdbapi.com/
Compare: TMDB API vs OMDb API
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://www.omdbapi.com/?apikey=YOUR_API_KEY&t=Inception'
JavaScript
const response = await fetch("https://www.omdbapi.com/?apikey=YOUR_API_KEY&t=Inception");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://www.omdbapi.com/?apikey=YOUR_API_KEY&t=Inception",
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.