# IMDb People & Celebrity Profile Scraper (`crawlyth-forge/imdb-people-scraper`) Actor

Export IMDb people data cookielessly: celebrity profiles, full filmography, award history, STARmeter ranks, birthdays and cast/crew lists, with optional trivia, trademarks, quotes and salary rows.

- **URL**: https://apify.com/crawlyth-forge/imdb-people-scraper.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Automation, Developer tools, Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

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

Learn more: https://docs.apify.com/actors/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 People & Celebrity Profile Scraper

Build a people-first IMDb dataset without a login, cookie, API key or proxy setup. Five modes
cover the surfaces that title scrapers skip: full celebrity profiles, complete filmography,
award history, the Most Popular Celebs STARmeter chart, birthday lists and a title's cast and
crew expanded into people.

- **Cookieless and keyless** — IMDb's public GraphQL API, called directly with httpx.
- **No proxy configuration** — it works from an Apify datacenter IP.
- **One row per record** — `recordType` tells profiles, credits, awards and extras apart.
- **Omit-empty output** — no nulls or empty strings anywhere in a dataset row.

> IMDb's GraphQL responses carry a non-commercial-use disclaimer. You are responsible for using
> the data under IMDb's terms and any applicable licence. This actor is independent and not affiliated with IMDb.

### Modes

| Mode | What it exports |
|---|---|
| `byIds` | Profiles for IMDb name IDs or name URLs (`nm0000138`). Batch requests, deduplicated. |
| `search` | Find people by name, relevance order, paginated. Then fetch their full profiles. |
| `titleCredits` | Expand a title's entire cast and crew into people, keeping the credit context (category, characters, jobs, episode count). |
| `popular` | IMDb's Most Popular Celebs (STARmeter) chart with current rank and rank movement. |
| `bornToday` | People born on a month-day (`11-11`), paginated in IMDb's relevance order. |

### Quick start

One profile:

```json
{
  "mode": "byIds",
  "nameIds": ["nm0000138"],
  "sections": ["profile"],
  "maxItems": 1
}
```

Filmography and awards for two people:

```json
{
  "mode": "byIds",
  "nameIds": ["nm0000138", "nm0000209"],
  "sections": ["filmography", "awards"],
  "maxItems": 40,
  "maxItemsPerPerson": 20
}
```

Search directors born between 1970 and 1990 who have won or been nominated:

```json
{
  "mode": "search",
  "searchQuery": "john",
  "profession": ["director"],
  "birthYearFrom": 1970,
  "birthYearTo": 1990,
  "hasAwards": true,
  "sections": ["profile"],
  "maxItems": 10
}
```

Full cast and crew of a film:

```json
{
  "mode": "titleCredits",
  "titleIds": ["tt0111161"],
  "filmographyCategories": ["actor", "director", "writer"],
  "sections": ["profile"],
  "maxItems": 100
}
```

People born on 11 November:

```json
{
  "mode": "bornToday",
  "monthDay": "11-11",
  "lifeStatus": "alive",
  "sections": ["profile"],
  "maxItems": 30
}
```

### Inputs

| Input | Type | Default | Notes |
|---|---|---|---|
| `mode` | select | `byIds` | `byIds`, `search`, `titleCredits`, `popular`, `bornToday`. |
| `nameIds` | string list | `["nm0000138"]` | Name IDs or name URLs for `byIds`. |
| `searchQuery` | text | — | Name text for `search`; required in that mode. |
| `titleIds` | string list | `["tt0111161"]` | Title IDs or URLs for `titleCredits`. |
| `monthDay` | text | `11-11` | `MM-DD`, `--MM-DD` or `YYYY-MM-DD`; empty means today (UTC). |
| `sections` | multi-select | `["profile"]` | `profile`, `filmography`, `awards`, `trivia`, `trademarks`, `quotes`, `salary`; empty means all. |
| `profession` | multi-select | — | Keep people whose IMDb professions match one selected value. |
| `birthYearFrom` | integer | — | Inclusive lower bound; unknown birth dates are excluded when a bound is set. |
| `birthYearTo` | integer | — | Inclusive upper bound. |
| `lifeStatus` | select | `any` | `any`, `alive`, `deceased` (based on IMDb death date). |
| `minCredits` | integer | `0` | Minimum total filmography credits. |
| `hasAwards` | boolean | `false` | Keep only people with at least one award nomination. |
| `filmographyCategories` | multi-select | all | Native IMDb credit-category filter for filmography and title cast/crew. |
| `awardsFilter` | select | `all` | `all`, `wins`, `nominations`. |
| `maxItems` | integer | `100` | Hard ceiling on pushed rows (daily test uses `1`). |
| `maxItemsPerPerson` | integer | `50` | Cap per person per section. |

### Output fields

Every row starts with `recordType`, `imdbId`, `imdbUrl` and `name` where applicable.

- **`person`** — professions, birth date/place, death date/place, height in cm and display form,
  short and full bio, nicknames, named spouses, spouse count, relative count, known-for titles,
  STARmeter rank and change, primary image, and counts for filmography, awards, wins, trivia,
  trademarks, quotes and salary. `popular` adds `chartRank`/`chartRankChange`; `bornToday` adds
  `birthday` and `turnsAge`.
- **`titleCredit`** — the same profile plus `sourceTitleId`, `sourceTitle`, `sourceYear`,
  `creditCategory`, `characters`, `jobs`, `creditedAs`, `episodeCount` and `creditPosition`.
- **`filmography`** — `titleId`, title, original title, year, end year, title type, category,
  characters, jobs, credited as, episode count, rating, votes, runtime and position.
- **`award`** — award, event, year, category, winner flag (`isWinner`, `result`), notes, related
  title(s), announcement date and episode titles.
- **`trivia`**, **`trademark`**, **`quote`**, **`salary`** — the optional extras, with text,
  interest votes, salary amount/currency and position.

### What is covered

- Paginated filmographies to the end (not just the first 40 credits).
- Complete award history with wins/nominations and the related film.
- People-specific STARmeter chart and birthday lists — not title charts.
- Person-level filters and title cast/crew expansion.
- Optional trivia, trademarks, quotes and salary records that no comparable Store actor exposes.

### Limits

- English names and titles only. IMDb's localization headers do not change this GraphQL surface,
  and localized HTML pages sit behind a human check.
- `maxItems` is a hard output ceiling; `maxItemsPerPerson` bounds each section.
- Related award titles are IMDb's secondary entities. Lifetime/honorary awards may have none.
- IMDb's `bornToday` connection itself caps at 30 rows; this actor uses the paginated birthday
  search instead so `maxItems` can go higher.
- No private lists, watchlists, reviews or user data.

### FAQ

**Do I need an IMDb account or API key?** No. The actor uses IMDb's public GraphQL endpoint.

**Do I need to configure a proxy?** No. It runs directly from an Apify datacenter IP.

**Why are some fields missing on some people?** IMDb does not publish every field for every
person; empty fields are omitted rather than written as null.

**Can I get every credit?** Yes, within `maxItems` and `maxItemsPerPerson`. Raise them for deep
filmographies.

# Actor input Schema

## `mode` (type: `string`):

Choose people by IMDb name ID, search by name, expand a title's cast and crew, read the Most Popular Celebs chart, or list people born on a day.

## `nameIds` (type: `array`):

Name IDs such as nm0000138, or full IMDb name URLs. Deduplicated. Used in byIds mode.

## `searchQuery` (type: `string`):

Free-text name search, for example 'leonardo dicaprio' or 'meryl streep'. Used in search mode.

## `titleIds` (type: `array`):

Title IDs such as tt0111161, or full IMDb title URLs, whose full cast and crew are expanded into people. Used in titleCredits mode.

## `monthDay` (type: `string`):

Birthday to list in bornToday mode: MM-DD, --MM-DD or YYYY-MM-DD. Leave empty to use today's date (UTC).

## `sections` (type: `array`):

Rows to export. Profile is one row per person; the other sections add one row per filmography credit, award, trivia item, trademark, quote or salary record. Leave empty for all sections.

## `profession` (type: `array`):

Keep only people whose IMDb professions match at least one selected value. Applied after profile fetch.

## `birthYearFrom` (type: `integer`):

Earliest birth year (inclusive). People with no known birth date are excluded when either bound is set.

## `birthYearTo` (type: `integer`):

Latest birth year (inclusive). People with no known birth date are excluded when either bound is set.

## `lifeStatus` (type: `string`):

Filter by whether IMDb lists a death date.

## `minCredits` (type: `integer`):

Keep people with at least this many total filmography credits. 0 disables the filter.

## `hasAwards` (type: `boolean`):

Keep only people with at least one award nomination or win.

## `filmographyCategories` (type: `array`):

Filmography and title cast/crew categories to fetch. Leave empty for every category.

## `awardsFilter` (type: `string`):

Export every award nomination, only wins, or only nominations that did not win.

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

Hard ceiling on pushed rows across profiles and all sections. The daily test uses 1.

## `maxItemsPerPerson` (type: `integer`):

Cap on filmography, awards, trivia, trademark, quote and salary rows for each person.

## Actor input object example

```json
{
  "mode": "byIds",
  "nameIds": [
    "nm0000138"
  ],
  "titleIds": [
    "tt0111161"
  ],
  "monthDay": "11-11",
  "sections": [
    "profile"
  ],
  "lifeStatus": "any",
  "minCredits": 0,
  "hasAwards": false,
  "awardsFilter": "all",
  "maxItems": 1,
  "maxItemsPerPerson": 50
}
```

# Actor output Schema

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

Dataset containing profile, filmography, award and optional extras rows. The recordType field tells rows apart.

# 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 = {
    "mode": "byIds",
    "nameIds": [
        "nm0000138"
    ],
    "titleIds": [
        "tt0111161"
    ],
    "monthDay": "11-11",
    "sections": [
        "profile"
    ],
    "lifeStatus": "any",
    "minCredits": 0,
    "hasAwards": false,
    "awardsFilter": "all",
    "maxItems": 1,
    "maxItemsPerPerson": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/imdb-people-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 = {
    "mode": "byIds",
    "nameIds": ["nm0000138"],
    "titleIds": ["tt0111161"],
    "monthDay": "11-11",
    "sections": ["profile"],
    "lifeStatus": "any",
    "minCredits": 0,
    "hasAwards": False,
    "awardsFilter": "all",
    "maxItems": 1,
    "maxItemsPerPerson": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/imdb-people-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 '{
  "mode": "byIds",
  "nameIds": [
    "nm0000138"
  ],
  "titleIds": [
    "tt0111161"
  ],
  "monthDay": "11-11",
  "sections": [
    "profile"
  ],
  "lifeStatus": "any",
  "minCredits": 0,
  "hasAwards": false,
  "awardsFilter": "all",
  "maxItems": 1,
  "maxItemsPerPerson": 50
}' |
apify call crawlyth-forge/imdb-people-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/imdb-people-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/j5eEmcgYcfaRmzJrn/builds/tZWvgUdfbqEOzaCvi/openapi.json
