# IMDb Titles API

> Search IMDb movies and TV titles with title, release year, runtime, certificate, IMDb rating, vote count, plot and title page link; filter by keyword, title type, genre, country, language, release date, rating, votes, runtime, cast or crew and character.

- Page: https://cleanedweb.com/catalog/imdb-titles-api/
- Contract (JSON): https://cleanedweb.com/catalog/imdb-titles-api/contract.json
- Source: imdb.com (https://www.imdb.com/)
- Updated: 2026-12-01

A run reads until the source ends or your `max_items`, `timeout_seconds` or budget stops it.

## Key fields

| Field | Type | Sample value |
| --- | --- | --- |
| `title` | string | `The Batman` |
| `year` | integer | `2022` |
| `rating` | number | `7.8` |
| `genres` | array of string | `Action, Crime, Mystery` |
| `votes` | integer | `961294` |
| `keywords` | array \| string | `gotham city,superhero,batman character,catwoman character,riddle` |
| `certificate` | string | `PG-13` |
| `plot` | string | `When a sadistic serial killer begins murdering key political figures in Gotham,…` |

Sample values come from one saved record, not a live run. Every field with its type, and the schemas, are in https://cleanedweb.com/catalog/imdb-titles-api/contract.json. Some fields the source returns are not published, so a record can carry fields the schema does not list.

## Inputs

- `title_type` (string, required): Optional. Filters by title type. Default: feature. Options: feature, tv_series.
- `query` (string): Optional. Filters by query. Options: batman, love.
- `keywords` (string): Optional. Filters by keywords. Options: superhero, based-on-novel.
- `countries` (string): Optional. Filters by countries. Options: us (US), gb (GB), Andorra (AD), United Arab Emirates (AE), Afghanistan (AF), Antigua & Barbuda (AG), Anguilla (AI), Albania (AL), and 241 more in https://cleanedweb.com/catalog/imdb-titles-api/contract.json.
- `languages` (string): Optional. Filters by languages. Options: en, fr.
- `role` (string): Optional. Filters by role. Options: nm0000138, nm0000093.
- `characters` (string): Optional. Filters by characters. Options: batman, sherlock holmes.
- `within_topic_dropdown` (string): Optional. Filters by within topic dropdown. Options: Alternate Versions (ALTERNATE_VERSION), Crazy Credits (CRAZY_CREDIT), Goofs (GOOF), Locations (LOCATION), Plot (PLOT), Quotes (QUOTE), Soundtracks (SOUNDTRACK), Trivia (TRIVIA).
- `genres` (string): Optional. Filters by genres. Options: Action63K (action), Adventure32K (adventure), Animation12K (animation), Biography21K (biography), Comedy126K (comedy), Crime45K (crime), Documentary153K (documentary), Drama280K (drama), and 19 more in https://cleanedweb.com/catalog/imdb-titles-api/contract.json.
- `release_date_from` (string): Optional. Omit it to leave this side open.
- `release_date_to` (string): Optional. Omit it to leave this side open.
- `min_rating` (string \| number): Optional. Omit it to leave this side open.
- `max_rating` (string \| number): Optional. Omit it to leave this side open.
- `min_votes` (string \| integer): Optional. Omit it to leave this side open.
- `max_votes` (string \| integer): Optional. Omit it to leave this side open.
- `min_runtime` (string \| integer): Optional. Omit it to leave this side open.
- `max_runtime` (string \| integer): Optional. Omit it to leave this side open.
- `sort` (string): Order of the collection, as the site's own sort control offers it; omitted keeps the site's default order. Options: A-Z (alpha_asc), User rating (user_rating_desc), Number of ratings (num_votes_asc), US box office (boxoffice_gross_us_asc).

`enrich_records` is on by default and adds the fields that only appear on each record's detail page. Send `false` to read list fields only. See https://cleanedweb.com/docs/run-api/

## Request

`POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_02837373f59f24642430e325/endpoints/generated_02837373f59f24642430e325_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_02837373f59f24642430e325/endpoints/generated_02837373f59f24642430e325_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "title_type": "feature",
    "query": "batman"
  },
  "version": 1,
  "max_items": 25
}'
```

Send an `Idempotency-Key` header with every run and save it before you send. Reuse it only to retry the same request. If the run does not end within `wait_seconds`, read the result with the same API key and key:

`GET https://api.cleanedweb.com/v1/catalog/public/apis/generated_02837373f59f24642430e325/endpoints/generated_02837373f59f24642430e325_search/result`

## Versions

Current: `1.0`. Pin a major with "version": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.

- v1: current, newest minor `1.0`

### Changelog

- `1.0` (major) 2026-11-30

The same changelog, as data, is in https://cleanedweb.com/catalog/imdb-titles-api/contract.json

## Use it from an AI agent

MCP server: https://api.cleanedweb.com/mcp?profile=catalog (Streamable HTTP). Sign in with a CleanedWeb account when the client asks (OAuth), or send an API key with the `read` and `run` scopes as `Authorization: Bearer`. Call `get_api` with `api_id` `generated_02837373f59f24642430e325`, then `run_api` with the `run_with` arguments it returns. See https://cleanedweb.com/docs/mcp/

## Run it

Reading the catalog needs no credential. Running needs a CleanedWeb account and an API key with the `run` scope; the first 5,000 records are free, then $1 per 1,000 records. See https://cleanedweb.com/docs/run-catalog-api/

CleanedWeb is not affiliated with Imdb.
