# The Movie Database Movies API

> Movies from The Movie Database with title, page URL, ID and poster image URL.

- Page: https://cleanedweb.com/catalog/the-movie-database-movies-api/
- Contract (JSON): https://cleanedweb.com/catalog/the-movie-database-movies-api/contract.json
- Source: themoviedb.org (https://www.themoviedb.org/)
- Updated: 2026-12-02

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 | `Spider-Man: Brand New Day` |
| `description` | string | `Fighting crime full-time as Spider-Man in a world that doesn't remember him—and…` |
| `url` | string | `https://www.themoviedb.org/movie/969681-spider-man-brand-new-day` |
| `images.url` | string | `https://media.themoviedb.org/t/p/w220_and_h330_face/bjiS5ipwxb9JFy3XRRN4OAilSeX.jpg` |
| `images.original` | string | `https://image.tmdb.org/t/p/w500/bjiS5ipwxb9JFy3XRRN4OAilSeX.jpg` |
| `media_adult` | boolean | `false` |
| `text` | string | `2026-07-31` |
| `dates.created` | string | `2022-05-01T02:24:44Z` |

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/the-movie-database-movies-api/contract.json

## Inputs

- `search` (string \| array of string): Optional. Text for the site's search box. Leave it out to read everything.
- `from_url` (string): Optional. A results link copied from the site (its own address bar): a category page, a search or a filtered list. It is read as this API's own inputs and the run echoes them as \`decoded\`. Tracking and paging keys are dropped. A link from another site, or one that names a page or filter this API has no input for, is refused with the unread parts listed; it is never served from another page.
- `discover_preset` (string): Optional. Filters by discover preset. Options: 🎬 For Rent (for-rent), 🎬 New on Streaming (new-on-streaming), 🎬 New on Netflix (new-on-netflix), 🎬 New on Disney+ (new-on-disney-plus), 🎬 Free to Watch (free-to-watch), 🎬 Hidden Gems (hidden-gems), 🎬 Critically Acclaimed (critically-acclaimed).
- `vote_average_gte` (string \| integer): Optional. Lowest value of the site's own Omit it to leave this side open.
- `vote_average_lte` (string \| integer): Optional. Highest value of the site's own Omit it to leave this side open.
- `with_runtime_gte` (string \| integer): Optional. Lowest value of the site's own Omit it to leave this side open.
- `with_runtime_lte` (string \| integer): Optional. Highest value of the site's own Omit it to leave this side open.
- `sort_by` (string): Order of the collection, as the site's own sort control offers it; omitted keeps the site's default order. Options: popularity.desc, vote_average.desc.

`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_cc75c5b9f93cf3dae0c76884/endpoints/generated_cc75c5b9f93cf3dae0c76884_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_cc75c5b9f93cf3dae0c76884/endpoints/generated_cc75c5b9f93cf3dae0c76884_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "discover_preset": "for-rent"
  },
  "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_cc75c5b9f93cf3dae0c76884/endpoints/generated_cc75c5b9f93cf3dae0c76884_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-12-01

The same changelog, as data, is in https://cleanedweb.com/catalog/the-movie-database-movies-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_cc75c5b9f93cf3dae0c76884`, 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 Themoviedb.
