# IMDb Title Search Scraper (`powerai/imdb-title-search-scraper`) Actor

Scrape movie and TV show titles from IMDb.com search results with comprehensive information including ratings, plots, and metadata.

- **URL**: https://apify.com/powerai/imdb-title-search-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Videos, Automation, Other
- **Features:** Limited permissions
- **Stats:** 17 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.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.

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 Title Search Scraper

This actor allows you to scrape movie and TV show titles from IMDb.com by providing a search URL. It automatically handles pagination and extracts comprehensive title information including ratings, plots, posters, and metadata.

### Features

- **URL-based Scraping:** Extract titles by providing a complete IMDb search URL
- **Automatic Pagination:** Automatically clicks "See More" button and loads more titles until reaching the end or max items limit
- **Comprehensive Title Data:** Extract detailed information about each title including:
  - Title and order number
  - Release year
  - Duration
  - Content rating (R, PG-13, etc.)
  - Direct link to title page
  - Plot summary
  - Poster image
  - Metascore
  - IMDb rating and vote count
- **Smart Deduplication:** Automatically removes duplicate titles based on links

### Input Parameters

| Field      | Type    | Required | Description                                    |
|------------|---------|----------|------------------------------------------------|
| `searchUrl`| string  | Yes      | Complete IMDb search URL to scrape             |
| `maxItems` | integer | No       | Maximum number of titles to fetch (default: unlimited) |
| `proxyConfiguration` | object | No | Proxy settings for the actor |

#### How to Get Search URL

1. Go to [IMDb.com](https://www.imdb.com)
2. Use the search bar or advanced search to find movies/TV shows
3. Apply any filters you want (keywords, genres, years, etc.)
4. Copy the complete URL from your browser's address bar
5. Paste it into the `searchUrl` field

Example search URLs:

```
https://www.imdb.com/search/title/?keywords=warehouse&explore=keywords
https://www.imdb.com/search/title/?genres=action&title_type=feature
https://www.imdb.com/search/title/?release_date=2020-01-01,2024-12-31
```

### Output

The output is a dataset of title objects, each containing:

- `searchUrl`: The original search URL used
- `order`: Ranking order number (e.g., 1, 2, 3)
- `title`: Title of the movie or TV show
- `year`: Release year
- `duration`: Runtime (e.g., "1h 44m")
- `rated`: Content rating (e.g., "R", "PG-13", "TV-MA")
- `link`: Direct link to the title's IMDb page
- `plot`: Plot summary or description
- `posterImg`: URL of the poster image
- `metascore`: Metacritic score (if available)
- `imdbRating`: IMDb rating score (e.g., "7.1")
- `imdbRatingVotes`: Number of IMDb votes (e.g., "93K")
- `scrapedAt`: Timestamp of when the title was scraped

Example output:

```json
[
  {
    "searchUrl": "https://www.imdb.com/search/title/?keywords=warehouse&explore=keywords",
    "order": 1,
    "title": "Bring Her Back",
    "year": "2025",
    "duration": "1h 44m",
    "rated": "R",
    "link": "https://www.imdb.com/title/tt32246771/?ref_=sr_t_1",
    "plot": "A brother and sister uncover a terrifying ritual at the secluded home of their new foster mother.",
    "posterImg": "https://m.media-amazon.com/images/M/MV5BZTlhYTk1ZTEtOWY3NC00NWQ5LTlkOTctNjQ3ZDYyZGE5ZWNlXkEyXkFqcGc@._V1_QL75_UX90_CR0,0,90,133_.jpg",
    "metascore": "75",
    "imdbRating": "7.1",
    "imdbRatingVotes": "93K",
    "scrapedAt": "2025-11-10T09:09:36.548Z"
  },
  ...
]
```

### Use Cases

- Film and TV show catalog building
- Market research and trend analysis
- Rating and review analysis
- Content discovery and recommendation systems
- Entertainment industry research
- Academic research on media content
- Competitor analysis for streaming platforms

### Notes

- Results are saved incrementally as they are found
- All timestamps are in ISO 8601 format
- The actor handles network delays and timeouts gracefully
- Some titles may not have all fields populated (e.g., Metascore may be missing)
- Rating vote counts are formatted as shown on IMDb (e.g., "93K" for 93,000 votes)

***

**Start scraping movie and TV show titles from IMDb today!**

# Actor input Schema

## `searchUrl` (type: `string`):

The complete IMDb search URL to scrape (e.g., https://www.imdb.com/search/title/?keywords=...)

## `maxItems` (type: `integer`):

Maximum number of titles to fetch

## `proxyConfiguration` (type: `object`):

Proxy settings for the actor

## Actor input object example

```json
{
  "searchUrl": "https://www.imdb.com/search/title/?keywords=warehouse&explore=keywords",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/imdb-title-search-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("powerai/imdb-title-search-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 '{}' |
apify call powerai/imdb-title-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powerai/imdb-title-search-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/6rqSgt8Jf7AIx4BWP/builds/yxbQxRORji7QI7c69/openapi.json
