# IMDb Trivia, Goofs, Quotes, Locations & Parents Guide (`crawlyth-forge/imdb-title-extras-trivia-goofs-quotes`) Actor

Extract IMDb's editorial layers for any movie, series or episode: trivia, goofs by category, quotes with characters, filming locations, parents guide items with severity votes, soundtrack, connections, crazy credits, alternate versions, taglines, keywords and FAQs. Search or pass IDs/URLs.

- **URL**: https://apify.com/crawlyth-forge/imdb-title-extras-trivia-goofs-quotes.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Videos, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.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/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 Trivia, Goofs, Quotes, Locations & Parents Guide

IMDb title pages hide a second layer under the cast and ratings: fan trivia, catalogued goofs, memorable
quotes, filming locations, the parents guide, soundtrack credits, connection graphs and more. This actor
exports that layer as one flat dataset row per item, without cookies, API keys or a browser.

Pass one or more IMDb title IDs or URLs, or run a search and let the actor expand every match. Twelve
sections are available and you choose which ones to collect. Every row carries the title ID, title,
year, title type, section, item text and the IMDb URL, plus section-specific fields such as character
names, severity votes, related titles or song credits.

### Sections

| Section | What a row contains |
|---|---|
| `trivia` | Trivia text, trivia category, spoiler flag, interested/total votes |
| `goofs` | Goof text, goof category, spoiler flag, interested/total votes |
| `quotes` | Joined dialogue, per-line stage directions, character names, actor names, language, votes |
| `filmingLocations` | Location name, scene note when IMDb provides one, votes |
| `parentsGuide` | Item text, category, overall severity, severity vote breakdown, spoiler flag |
| `soundtrack` | Song title, performers, writers and the raw credit notes |
| `connections` | Related title ID/name/year/type, relation type, connection note |
| `crazyCredits` | Crazy credit text and votes |
| `alternateVersions` | Alternate version description |
| `taglines` | Tagline text |
| `keywords` | Plot keyword, keyword ID, keyword category, interested/total votes |
| `faqs` | Question, answer, spoiler flag |

### Input

- **Mode.** `byIds` reads `titleIds` (accepts `tt0111161`, `TT0111161` or any `imdb.com/title/...` URL).
  `search` runs `searchQuery` through IMDb's advanced title search, then expands up to `maxTitles` matches.
- **Sections.** Multi-select. Pick only what you need; each section costs its own requests.
- **Section filters.** `goofCategories`, `connectionCategories` and `parentsGuideCategories` narrow the
  corresponding sections. `excludeSpoilers` drops items IMDb flags as spoilers. `minInterestScore`
  drops items below an "interested" vote threshold; items without a vote count are kept.
- **Search filters.** `titleType`, `genres`, `yearFrom`, `yearTo`, `minRating`, `minVotes`, `sortBy`
  and `sortOrder` apply in search mode.
- **Limits.** `maxItemsPerSection` caps each section per title; `maxItems` caps the whole dataset.

| Input | Default |
|---|---|
| `mode` | `byIds` |
| `titleIds` | – |
| `searchQuery` | – |
| `sections` | – |
| `goofCategories` | – |
| `connectionCategories` | – |
| `parentsGuideCategories` | – |
| `excludeSpoilers` | `false` |
| `minInterestScore` | – |
| `maxItemsPerSection` | `50` |
| `maxItems` | `1000` |
| `maxTitles` | `5` |
| `titleType` | `any` |
| `genres` | – |
| `yearFrom` | – |
| `yearTo` | – |
| `minRating` | – |
| `minVotes` | – |
| `sortBy` | `POPULARITY` |
| `sortOrder` | `DESC` |

Example: collect spoiler-free trivia and quotes for two titles.

```json
{
  "mode": "byIds",
  "titleIds": ["tt0111161", "https://www.imdb.com/title/tt0068646/"],
  "sections": ["trivia", "quotes"],
  "excludeSpoilers": true,
  "maxItemsPerSection": 25,
  "maxItems": 100
}
```

Example: find highly rated crime movies and export their parents guide items.

```json
{
  "mode": "search",
  "searchQuery": "heist",
  "titleType": "movie",
  "genres": ["crime", "thriller"],
  "minRating": 7.5,
  "maxTitles": 5,
  "sections": ["parentsGuide"],
  "parentsGuideCategories": ["VIOLENCE", "PROFANITY"],
  "maxItemsPerSection": 40
}
```

### Output

Each dataset row has:

- `recordType` (`titleExtra`), `imdbId`, `title`, `originalTitle`, `year`, `titleType`, `imdbUrl`
- `section`, `sectionLabel`, `itemId`
- `text` and, where relevant, `question`, `answer`, `location`, `sceneNote`, `song`, `keyword`
- `category`, `categoryId`, `keywordCategory`, `keywordCategoryId`
- `isSpoiler`, `interestUpVotes`, `interestTotalVotes`
- `characters`, `actorNames`, `quoteLines`, `language`, `languageName`
- `severity`, `severityId`, `severityVotes`, `severityBreakdown`
- `performers`, `writers`, `soundtrackCredits`
- `relatedTitleId`, `relatedTitle`, `relatedYear`, `relatedTitleType`
- `scrapedAt`

Empty values are omitted rather than written as nulls, so a column only appears when at least one row
has data for it.

### Good to know

- IMDb's HTML pages answer datacenter clients with a WAF challenge. This actor talks to the public
  GraphQL endpoint that powers the pages instead, which returns the same editorial data without cookies.
- Parents guide item lists are retrieved per category. IMDb serves up to 250 items per category in one
  response and exposes no cursor for that list, so 250 per category is the ceiling.
- Search results are relevance-ranked when `sortBy` is left out; the dropdown offers popularity, rating,
  rating count, release date and runtime.
- Interest vote fields come from IMDb's own vote tallies (`usersInterested` / `usersVoted`). Sections that
  do not carry votes simply omit the fields.
- The actor is read-only and needs no account, cookie, proxy or IMDb key.

### Data source

Data is read live from `api.graphql.imdb.com`, the endpoint IMDb uses for its own web client. IMDb's
response carries a non-commercial-use disclaimer; review it before using the data commercially.

# Actor input Schema

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

Fetch titles by IMDb ID/URL, or find titles with an IMDb search query and expand each match.

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

Title IDs such as tt0111161 or full IMDb title URLs. Used in byIds mode.

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

Free-text title search used in search mode. Combine with the advanced filters below.

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

Editorial sections to export. Each item becomes one dataset row. Leave empty to export all twelve sections.

## `goofCategories` (type: `array`):

Only keep goofs in these categories. Leave empty for all categories.

## `connectionCategories` (type: `array`):

Only keep movie connections of these types. Leave empty for all types.

## `parentsGuideCategories` (type: `array`):

Only keep parents guide items in these categories. Leave empty for all five.

## `excludeSpoilers` (type: `boolean`):

Drop items flagged as spoilers by IMDb.

## `minInterestScore` (type: `integer`):

Drop items with fewer 'interested' votes than this. Items without a vote count are kept.

## `maxItemsPerSection` (type: `integer`):

Maximum number of items to fetch from each section of each title.

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

Stop after this many dataset rows across all titles and sections.

## `maxTitles` (type: `integer`):

In search mode, expand at most this many matched titles.

## `titleType` (type: `string`):

Search filter: only titles of this type.

## `genres` (type: `array`):

Search filter: titles must have all selected genres.

## `yearFrom` (type: `integer`):

Search filter: earliest release year.

## `yearTo` (type: `integer`):

Search filter: latest release year.

## `minRating` (type: `number`):

Search filter: minimum aggregate user rating.

## `minVotes` (type: `integer`):

Search filter: minimum number of user rating votes.

## `sortBy` (type: `string`):

Sort order for search results.

## `sortOrder` (type: `string`):

Direction of the search sort order.

## Actor input object example

```json
{
  "mode": "byIds",
  "titleIds": [
    "tt0111161"
  ],
  "sections": [
    "trivia"
  ],
  "excludeSpoilers": false,
  "maxItemsPerSection": 1,
  "maxItems": 2,
  "maxTitles": 5,
  "titleType": "any",
  "sortBy": "POPULARITY",
  "sortOrder": "DESC"
}
```

# Actor output Schema

## `extras` (type: `string`):

Dataset containing one row per trivia entry, goof, quote, location, parents guide item or other selected section item.

# 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 = {
    "titleIds": [
        "tt0111161"
    ],
    "sections": [
        "trivia"
    ],
    "excludeSpoilers": false,
    "maxItemsPerSection": 1,
    "maxItems": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/imdb-title-extras-trivia-goofs-quotes").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 = {
    "titleIds": ["tt0111161"],
    "sections": ["trivia"],
    "excludeSpoilers": False,
    "maxItemsPerSection": 1,
    "maxItems": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/imdb-title-extras-trivia-goofs-quotes").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 '{
  "titleIds": [
    "tt0111161"
  ],
  "sections": [
    "trivia"
  ],
  "excludeSpoilers": false,
  "maxItemsPerSection": 1,
  "maxItems": 2
}' |
apify call crawlyth-forge/imdb-title-extras-trivia-goofs-quotes --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/imdb-title-extras-trivia-goofs-quotes"
        }
    }
}
```

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/Zp82jifvcIhnMvwc1/builds/aGXXGNlFJuu0eLAli/openapi.json
