# IMDb Scraper: Ratings, Top 250, Cast, Reviews & Episodes (`memo23/imdb-scraper`) Actor

Scrape IMDb titles, people, charts and search: rating, votes, runtime, genres, plot, directors, writers and cast for movies and series. Top 250, Most Popular and Box Office charts. Add user reviews, every episode of a series and actors' filmographies.

- **URL**: https://apify.com/memo23/imdb-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Videos, Social media, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 titles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## IMDb Scraper: Ratings, Top 250, Cast, Reviews & Episodes

<p align="center"><img src="https://api.apify.com/v2/key-value-stores/XV1EI6MMF5e9mpC5k/records/logo" alt="IMDb Scraper" width="140"></p>

**IMDb movies, series and people as clean rows.** Pull the Top 250, Most Popular or Weekend Box Office charts, look up titles and people by id or link, or search by name. Every title comes with its IMDb rating and vote count, and with the full title card: runtime, release date, certificate, genres, plot, countries, languages, directors, writers and top cast with their characters. Add user reviews and every episode of a series, each as its own row.

### Why Use This Scraper?

- **Charts in one click.** Top 250 Movies, Top 250 TV, Top 250 English and Indian movies, Bottom 100, Most Popular Movies and TV, and the Weekend Box Office with grosses.
- **Full title cards.** Rating, votes, popularity rank, runtime, certificate, genres, plot, directors, writers and top cast.
- **Every episode.** Season, number, title, rating, votes, air date and plot for each episode of a series.
- **Reviews in depth.** Up to 5,000 per title, sorted by helpfulness, date, rating or votes, with spoiler flags.
- **People too.** Bio, birth date and place, professions, known-for titles and filmography, newest first.
- **No duplicates.** A title found by two inputs is delivered once.

### Overview

This actor is for streaming and media analysts tracking ratings and popularity, recommendation and catalogue apps that need clean title metadata, researchers studying reviews and audiences, and entertainment marketers following box office and trends.

You give it charts, ids, links or search terms. It returns rows of four kinds, set in `recordType`: `title`, `person`, `review` and `episode`. The dataset exports as JSON, CSV, Excel or through the API, and a `RUN_SUMMARY` record lists what each input delivered.

### Supported Inputs

| What you give | What you get |
|---|---|
| A chart, e.g. `top_250` or `https://www.imdb.com/chart/top/` | Its titles in rank order |
| A title id or link, e.g. `tt0133093` | That title with its full card |
| A title's reviews link (`…/reviews/`) | The title and its reviews |
| A title's episodes link (`…/episodes/`, optionally `?season=2`) | The series and its episodes |
| A person id or link, e.g. `nm0000158` | That person with filmography |
| A search term or `…/find/?q=…` link | IMDb's top matches |

### Use Cases

- **Catalogue data:** ratings, genres, runtimes and credits for movie and TV databases.
- **Chart tracking:** daily snapshots of the Top 250 and Most Popular lists.
- **Review analysis:** sentiment and topics across thousands of user reviews.
- **Series analytics:** episode ratings across seasons.
- **Talent research:** filmographies and known-for titles of actors and directors.

### How It Works

![How it works](https://api.apify.com/v2/key-value-stores/XV1EI6MMF5e9mpC5k/records/how-it-works)

1. **Add charts, ids, links or search terms.**
2. **Each input is read in IMDb's order.**
3. **Title cards, reviews and episodes are added** as you choose.
4. **Titles, people, reviews and episodes become rows,** duplicates dropped.
5. **Export** the dataset as JSON, CSV or Excel, or read it through the API.

### Input Configuration

| Field | Type | Default | Description |
|---|---|---|---|
| `startUrls` | array | Top 250 | Title, reviews, episodes, person, chart or search links. |
| `imdbIds` | array | none | tt… or nm… ids. |
| `charts` | array | none | top_250, top_250_tv, top_250_english, top_250_india, bottom_100, most_popular_movies, most_popular_tv, box_office. |
| `searchTerms` | array | none | Titles or names. |
| `searchFor` | string | `titles` | Titles, people, or both. |
| `maxItemsPerInput` | integer | `50` | Titles per chart or search, up to 250. |
| `includeDetails` | boolean | `true` | Full title card for chart and search titles. |
| `includeReviews` | boolean | `false` | User reviews as rows. |
| `maxReviewsPerTitle` | integer | `25` | Up to 5,000. |
| `reviewsSortBy` | string | `helpful` | helpful, recent, rating or votes. |
| `includeEpisodes` | boolean | `false` | Every episode of each series. |
| `maxEpisodesPerSeries` | integer | `500` | Up to 5,000. |
| `maxCreditsPerPerson` | integer | `50` | Filmography credits per person, newest first. |

#### The full Top 250

```json
{ "charts": ["top_250"], "maxItemsPerInput": 250 }
```

#### A series with every episode and its 200 most helpful reviews

```json
{ "imdbIds": ["tt0903747"], "includeEpisodes": true, "includeReviews": true, "maxReviewsPerTitle": 200 }
```

### Output Overview

Title rows: `imdbId`, `title`, `originalTitle`, `titleType`, `isSeries`, `year`, `endYear`, `releaseDate`, `runtimeMinutes`, `imdbRating`, `voteCount`, `certificate`, `genres`, `plot`, `posterUrl`, `popularityRank`, `countries`, `languages`, `directors`, `writers`, `topCast`, `castTotal`, `episodeCount`, chart fields `chart`, `chartRank`, `weekendGross`, and `url`, `input`, `position`, `scrapedAt`.

Person rows: `imdbId`, `name`, `imageUrl`, `bio`, `birthDate`, `deathDate`, `birthPlace`, `professions`, `popularityRank`, `knownFor`, `filmography`, `filmographyTotal`, `url`.

Review rows: `reviewId`, `imdbId`, `titleName`, `rating`, `headline`, `text`, `date`, `helpfulVotes`, `unhelpfulVotes`, `spoiler`, `reviewer`.

Episode rows: `imdbId`, `seriesId`, `seriesTitle`, `season`, `episode`, `title`, `imdbRating`, `voteCount`, `airDate`, `plot`, `url`.

### Output Samples

```json
{
  "recordType": "title",
  "imdbId": "tt0111161",
  "title": "The Shawshank Redemption",
  "titleType": "Movie",
  "year": 1994,
  "imdbRating": 9.3,
  "voteCount": 3266690,
  "chart": "Top 250 Movies",
  "chartRank": 1,
  "runtimeMinutes": 142,
  "genres": ["Drama"],
  "directors": ["Frank Darabont"],
  "url": "https://www.imdb.com/title/tt0111161/",
  "detailsIncluded": true
}
```

```json
{
  "recordType": "episode",
  "imdbId": "tt1232244",
  "seriesTitle": "Breaking Bad",
  "season": 2,
  "episode": 1,
  "title": "Seven Thirty-Seven",
  "imdbRating": 8.6,
  "voteCount": 54343,
  "airDate": "2009-03-08"
}
```

### Key Output Fields

- `imdbRating`, `voteCount`, `popularityRank`, `chartRank`: how a title rates and ranks.
- `runtimeMinutes`, `releaseDate`, `certificate`, `genres`, `plot`: the title card.
- `directors`, `writers`, `topCast`, `castTotal`: who made it and who is in it.
- `season`, `episode`, `airDate`: episode position and date.

### FAQ

**How many search results do I get?**
IMDb's search gives its top matches, usually 5 to 8 per term. For more, use a chart.

**Do chart rows include the full title card?**
Yes, by default. Turn off "Full title details" for chart rows with rating, votes, year and poster only.

**What does the free Apify plan get?**
Up to 20 rows from the first input per run. Any paid Apify plan removes the limit.

**How much does it cost?**
$0.01 per run start, $0.002 per title ($2.00 per 1,000), $0.002 more per title with its full card, $0.003 per person, and $0.0005 per review or episode ($0.50 per 1,000). The full Top 250 with title cards costs $1.01. Duplicates and the run summary are never charged. Set "Max cost per run" in the run options and the run stops by itself at that amount.

### Support

Found a bug or missing a field? Open an issue on the actor's [Issues tab](https://apify.com/memo23/imdb-scraper/issues) with your run link and input.

### Additional Services

Need a scheduled chart feed or a custom export? Ask on the Issues tab; tailored work is available.

### Explore More Scrapers

- [**Goodreads Scraper**](https://apify.com/memo23/goodreads-scraper): books, ratings, reviews and lists from Goodreads.
- [**Douban Scraper**](https://apify.com/memo23/douban-scraper): movie and book reviews from Douban.

Full list at [apify.com/memo23](https://apify.com/memo23).

### 🤖 For AI Agents & LLM Apps

Compact reference for agents calling this actor through the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/imdb-scraper`).

**Purpose:** IMDb titles, people, charts and search, with title cards, user reviews and series episodes.

**Minimal input:**

```json
{ "imdbIds": ["tt0133093"] }
```

**Output:** rows with `recordType` title (imdbId, title, year, imdbRating, voteCount, runtimeMinutes, genres, plot, directors, writers, topCast, chartRank), person (name, birthDate, professions, filmography), review (rating, headline, text, date, helpfulVotes) or episode (season, episode, title, imdbRating, airDate).

**Behaviors an agent should know:**

- Charts hold up to 250 titles; `maxItemsPerInput` bounds them.
- Reviews and episodes are off by default and bounded by their own limits.
- Billing: $0.01 per run start; `title` $0.002, `title-details` $0.002, `person` $0.003, `review` $0.0005, `episode` $0.0005.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by IMDb or Amazon. All trademarks mentioned are the property of their respective owners.

It returns publicly available title, person and review information. It does not access accounts or content behind a login. Users are responsible for making sure their use complies with IMDb's terms, applicable data-protection law (GDPR and similar) and their own contractual obligations.

### SEO Keywords

imdb scraper, imdb api, imdb ratings, imdb top 250, imdb most popular, imdb box office, imdb reviews scraper, imdb episodes, imdb cast and crew, movie database api, tv series ratings, movie metadata, imdb export to csv

# Actor input Schema

## `startUrls` (type: `array`):

Title pages (…/title/tt0133093/), their reviews or episodes pages, person pages (…/name/nm0000158/), charts (…/chart/top/, …/chart/moviemeter/) or search pages (…/find/?q=…).

## `imdbIds` (type: `array`):

Title ids (tt0133093) or person ids (nm0000158).

## `charts` (type: `array`):

top_250, top_250_tv, top_250_english, top_250_india, bottom_100, most_popular_movies, most_popular_tv, box_office.

## `searchTerms` (type: `array`):

Titles or names, e.g. dune, christopher nolan. IMDb's search gives its top matches for each.

## `searchFor` (type: `string`):

What search terms return.

## `maxItemsPerInput` (type: `integer`):

Charts hold up to 250 titles.

## `includeDetails` (type: `boolean`):

For titles from charts and search: runtime, release date, certificate, genres, plot, countries, languages, directors, writers, top cast and episode count. Charged as a separate event per title. Title ids and links always come with details.

## `includeReviews` (type: `boolean`):

Reviews as separate rows: rating, headline, text, date, helpful votes and spoiler flag. Charged per review.

## `maxReviewsPerTitle` (type: `integer`):

Up to 5,000 per title.

## `reviewsSortBy` (type: `string`):

Which reviews come first.

## `includeEpisodes` (type: `boolean`):

For series: every episode with season, number, title, rating, votes, air date and plot, as separate rows. Charged per episode. An episodes link gives its season.

## `maxEpisodesPerSeries` (type: `integer`):

Long-running shows can have thousands.

## `maxCreditsPerPerson` (type: `integer`):

Newest first.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.imdb.com/chart/top/"
    }
  ],
  "searchFor": "titles",
  "maxItemsPerInput": 50,
  "includeDetails": true,
  "includeReviews": false,
  "maxReviewsPerTitle": 25,
  "reviewsSortBy": "helpful",
  "includeEpisodes": false,
  "maxEpisodesPerSeries": 500,
  "maxCreditsPerPerson": 50
}
```

# Actor output Schema

## `rows` (type: `string`):

All rows in the default dataset.

## `summary` (type: `string`):

What each input delivered or could not read.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.imdb.com/chart/top/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/imdb-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://www.imdb.com/chart/top/" }] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/imdb-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.imdb.com/chart/top/"
    }
  ]
}' |
apify call memo23/imdb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/imdb-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/lw8D3Ii8wZ5T9WErj/builds/4Jht8nOfdJOxgO6WL/openapi.json
