EntertainmentDifficulty: Easy

IMDb Data Extraction

Extract publicly available data from IMDb at scale using AlterLab's API — JavaScript rendering, structured extraction, and automatic retries in one request.

Automatic renderingJavaScript supportStructured data extractionChallenge resolution

Website Compatibility Notes

IMDb has relatively light bot protections. Most movie and TV show pages serve well-structured HTML without complex challenge systems. IMDb does apply rate limiting for high-frequency requests. Authenticated features (watchlist, ratings) require login, but all public data is accessible without authentication.

Technical Context

IMDb title URLs use a 'tt' prefix followed by digits (e.g., /title/tt0111161/). Person pages use 'nm' prefix. IMDb's API (for affiliates) provides some data, but the web pages contain additional details like full cast lists, technical specs, and trivia. IMDb is owned by Amazon and shares some infrastructure, but the bot protections are significantly lighter than Amazon's retail sites.

Common Data Fields

Typical fields available when extracting data from IMDb:

Title name
IMDb rating (out of 10)
Number of votes
Director names
Lead cast with character names
Genres
Plot summary
Content rating (G, PG, R, etc.)
Release year and dates by country
Runtime
Box office (budget and gross)
Awards and nominations
Critic metascore

Responsible Use

AlterLab is designed for extracting publicly available data. Always review the terms of service for any website you access, respect robots.txt directives, and ensure your use case complies with applicable laws in your jurisdiction. Do not use this service to access non-public, authenticated, or personally identifiable data without appropriate authorization.

Quick Start — Extract from IMDb

cURL
# Always verify the target site's robots.txt and terms of service before extracting data.
curl -X POST https://alterlab.io/api/v1/scrape \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.imdb.com/title/tt0111161/",
    "advanced": { "render_js": true }
  }'

Need an API key? — no credit card required.

Python Example

Python
import requests

# Always verify the target site's robots.txt and terms of service before extracting data.
response = requests.post(
    "https://alterlab.io/api/v1/scrape",
    headers={
        "X-API-Key": "YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={
        "url": "https://www.imdb.com/title/tt0111161/",
        "advanced": {"render_js": True},
    },
)

data = response.json()
print(data["content"][:500])  # First 500 chars of extracted content

Frequently Asked Questions

How do I extract IMDb movie data?

Send IMDb title URLs to AlterLab. The service returns movie titles, ratings, vote counts, directors, cast lists, genres, plot summaries, and release dates from public pages.

Can I extract IMDb ratings and reviews?

Yes. AlterLab renders IMDb pages and extracts overall ratings, vote distributions, critic reviews, and user review text from publicly visible review sections.

Does AlterLab support IMDb filmography pages?

Yes. IMDb actor/director pages listing their filmography are publicly accessible. AlterLab returns complete filmography data including titles, years, and roles.

What is an IMDb title ID (tt number)?

Every IMDb title has a unique 'tt' identifier (e.g., tt0111161 for The Shawshank Redemption). This ID appears in the URL and is a stable reference for the title. It's useful as a unique key when building movie databases.

Can I extract IMDb box office data?

Yes. IMDb displays box office information on title pages including production budget, domestic gross, and worldwide gross for many theatrical releases. AlterLab renders the page and returns this financial data where publicly listed.

How do I collect data from IMDb's Top 250 list?

The IMDb Top 250 is at imdb.com/chart/top/. AlterLab renders this page and returns all 250 titles with their rankings, ratings, vote counts, and title IDs — giving you a complete dataset from a single request.

Your first scrape.
Sixty seconds.

$1 free credit — up to 5,000 scrapes. No credit card.Just a POST request.

terminal
curl -X POST https://api.alterlab.io/v1/scrape \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "formats": ["markdown"]}'

No credit card required · $1 free credit, up to 5,000 scrapes · Balance never expires

    Scrape IMDb Data in 2026 — Anti-Bot Bypass | AlterLab