# IMDb Info Extractor (`coder_zoro/imdb-info-extractor`) Actor

IMDb Scraper: Search and fetch top charts, movie & series reviews, title details, and person info. Select task type and enter IDs or keywords to get structured IMDb data quickly and easily. Perfect for developers and movie enthusiasts.

- **URL**: https://apify.com/coder\_zoro/imdb-info-extractor.md
- **Developed by:** [Zoro](https://apify.com/coder_zoro) (community)
- **Categories:** Automation, Other
- **Stats:** 99 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## IMDb Scraper Actor - README

### Overview

This Apify actor allows you to fetch IMDb data including top charts, movie/series reviews, title details, person information, and search results. Users can select the type of task and provide relevant IDs or keywords to retrieve structured IMDb information.

### Input Parameters

The actor accepts the following inputs via the Apify UI:

#### 1. `work_type` (required)

- **Type:** select
- **Description:** Choose the type of IMDb task to perform.
- **Options:**

  - `chart_imdb` → Fetch IMDb charts (top movies, top series, most popular, trending, box office)
  - `reviews_imdb` → Fetch reviews for a specific movie/series
  - `title_detail_imdb` → Fetch details for a specific movie/series
  - `person_details_imdb` → Fetch details for a person
  - `search_imdb_work` → Search IMDb database

#### 2. `keyword_1` (required)

- **Type:** text field
- **Description:** Main input depending on the selected task:

  - `chart_imdb`: choose one from `topmovies`, `topseries`, `mostpopularmovies`, `mostpopularseries`, `trending`, `boxoffice`
  - `reviews_imdb`: IMDb title ID (e.g., `tt13655456`)
  - `title_detail_imdb`: IMDb title ID
  - `person_details_imdb`: IMDb person ID (e.g., `nm0366389`)
  - `search_imdb_work`: search type: `all`, `tt`, `nm`, `ep`, `co`, `kw`

#### 3. `keyword_2` (optional)

- **Type:** text field
- **Description:** Additional input depending on task:

  - `reviews_imdb`: Number of reviews to fetch (default `100`) - can be edited if needed.
  - `search_imdb_work`: Search keyword (e.g., movie title, person name)
  - Other tasks: Leave empty

### How to Use

1. Open the actor in Apify.
2. Select the desired `work_type` from the dropdown.
3. Fill in `keyword_1` according to the task guidance.
4. Fill in `keyword_2` if applicable.
5. Run the actor.
6. The results will be stored in the default dataset in JSON format.

### Examples

#### 1. Fetch Top Series Charts

```json
{
  "work_type": "chart_imdb",
  "keyword_1": "topseries"
}
```

#### 2. Fetch Movie Reviews

```json
{
  "work_type": "reviews_imdb",
  "keyword_1": "tt13655456",
  "keyword_2": "20"
}
```

#### 3. Fetch Title Details

```json
{
  "work_type": "title_detail_imdb",
  "keyword_1": "tt13655456"
}
```

#### 4. Fetch Person Details

```json
{
  "work_type": "person_details_imdb",
  "keyword_1": "nm0366389"
}
```

#### 5. Search IMDb

```json
{
  "work_type": "search_imdb_work",
  "keyword_1": "all",
  "keyword_2": "Venom"
}
```

### Notes

- Make sure the IMDb IDs (`tt` for titles, `nm` for persons) are correct.
- `keyword_2` for reviews defaults to 100 but can be changed to fetch fewer or more reviews.
- For search tasks, use `all`, `tt`, `nm`, `ep`, `co`, or `kw` in `keyword_1` to filter the search type.

### Output

The actor returns results in JSON format containing the fetched IMDb data, which can be further processed or stored for analysis.

# Actor input Schema

## `work_type` (type: `string`):

Choose the type of IMDb task:

- chart\_imdb → Top Movies/Series, Most Popular, Box Office
- reviews\_imdb → Movie/Series Reviews
- title\_detail\_imdb → Movie/Series Details
- person\_details\_imdb → Person Details
- search\_imdb\_work → Search IMDb

## `keyword_1` (type: `string`):

Depending on the selected task:

- chart\_imdb: select one from topmovies, topseries, mostpopularmovies, mostpopularseries, trending, boxoffice
- reviews\_imdb: enter IMDb title ID (ttxxxxxxx)
- title\_detail\_imdb: enter IMDb title ID
- person\_details\_imdb: enter IMDb person ID (nmxxxxxxx)
- search\_imdb\_work: select search type: all, tt, nm, ep, co, kw

## `keyword_2` (type: `string`):

Additional input depending on the task:

- reviews\_imdb: max number of reviews to fetch (default 100, can edit)
- search\_imdb\_work: search word
- others: leave empty

## Actor input object example

```json
{
  "work_type": "title_detail_imdb",
  "keyword_1": "tt1270797",
  "keyword_2": "100"
}
```

# 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 = {
    "work_type": "title_detail_imdb",
    "keyword_1": "tt1270797",
    "keyword_2": "100"
};

// Run the Actor and wait for it to finish
const run = await client.actor("coder_zoro/imdb-info-extractor").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 = {
    "work_type": "title_detail_imdb",
    "keyword_1": "tt1270797",
    "keyword_2": "100",
}

# Run the Actor and wait for it to finish
run = client.actor("coder_zoro/imdb-info-extractor").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 '{
  "work_type": "title_detail_imdb",
  "keyword_1": "tt1270797",
  "keyword_2": "100"
}' |
apify call coder_zoro/imdb-info-extractor --silent --output-dataset

```

## MCP server setup

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

```

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/gjQqd03pMEaBRbHaI/builds/7MkuEOiKqNbbfHvhj/openapi.json
