imdbinfo¶
imdbinfo is a Python library for retrieving structured IMDb data without an
API key. Search for titles and people, retrieve title and person details, and
work with episodes, awards, quotes, reviews, trivia, media, and more.
Install¶
The package supports Python 3.10 through 3.13.
Quick start¶
from imdbinfo import get_movie, get_name, search_title
results = search_title("The Matrix", year=1999)
for title in results.titles:
print(title.imdbId, title.title)
movie = get_movie("tt0133093")
print(movie.title, movie.rating, movie.duration)
person = get_name("nm0000206")
print(person.name, person.primary_profession)
IMDb title and name IDs may be supplied with or without their tt or nm
prefix. The library normalizes them before making a request.
Explore the documentation¶
- Start with Getting started for a fuller introduction.
- Read the guides for focused usage examples.
- Use the generated API reference for function signatures and model fields.
Note
imdbinfo retrieves data from IMDb at runtime. Returned data can vary as IMDb changes its public pages and GraphQL responses.