The Movie Database (TMDB) Scraper avatar

The Movie Database (TMDB) Scraper

Pricing

from $0.97 / 1,000 movie/tv shows

Go to Apify Store
The Movie Database (TMDB) Scraper

The Movie Database (TMDB) Scraper

Scrape movies, TV shows, people, and awards from themoviedb.org with the same list filters as the website — genres, dates, certifications, languages, ratings, watch providers, plus cast, reviews, and images.

Pricing

from $0.97 / 1,000 movie/tv shows

Rating

0.0

(0)

Developer

Farhan Ali

Farhan Ali

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

The Movie Database (TMDB) Scraper creates a structured dataset of movie, TV show, and person records collected from themoviedb.org. Each dataset item represents one title or person and can include the title, year, overview, genres, user score, vote count, runtime, release date, budget, revenue, poster, and trailer, with optional cast, crew, reviews, awards, alternative titles, and image galleries. Query the source using keyword search, built-in lists, genre and date filters, or direct TMDB URLs, control the result limit with maxItems, and retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, or XML.

Dataset at a glance

PropertyValue
Sourcethemoviedb.org
Record unitOne movie, TV show, or person
Input methodssearchQueries, lists, startUrls, genre/date/language filters
Main identifierstmdbId, url
DeliveryApify Dataset and API
Export formatsJSON, CSV, Excel, XML
Update modelFresh records per Actor run
Pricing$1 per 1,000 events

Coverage and available records

The Actor returns records from TMDB's public website, matching the same list filters as the site. Supported coverage includes:

  • Keyword search across movies, TV shows, or people (searchType: all, movie, tv, person).
  • Built-in lists for movies (Popular, Now Playing, Upcoming, Top Rated) and TV (Air Today, On The Air, Popular, Top Rated).
  • Filtering by genres, release date, air date, first air date, original language, origin country, certification, minimum user score, minimum votes, runtime, keywords, and TV networks.
  • Watch-provider filtering by region, provider, and availability (stream, free, ads, rent, buy).
  • Direct list, filtered, or title URLs via startUrls.
  • Optional full title pages (includeDetails), cast and crew, user reviews, awards, alternative titles, and image galleries.

When lists, searchQueries, and startUrls are all empty, the Actor defaults to Popular Movies and then applies any filters set.

Data dictionary

FieldTypeNullableDescriptionExample
typestringNoRecord type"movie"
tmdbIdintegerNoTMDB title identifier1368337
urlstringNoTMDB page URL"https://www.themoviedb.org/movie/1368337-the-odyssey"
namestringNoTitle or person name"The Odyssey"
originalTitlestringYesOriginal-language titlenull
taglinestringYesTagline"Defy the gods."
overviewstringYesSynopsis, when details are enabled"Odysseus, the legendary King of Ithaca..."
yearintegerYesRelease or first-air year2026
releaseDatestringYesRelease date (YYYY-MM-DD)"2026-07-15"
releaseDateTextstringYesLocalized release date text"07/16/2026 (DE)"
runtimestringYesRuntime display string"2h 53m"
runtimeMinutesintegerYesRuntime in minutes173
userScorePercentintegerYesUser score (0–100)80
userScorenumberYesUser score (0–10)8.0
voteCountintegerYesNumber of votes3225
reviewCountintegerYesNumber of reviews28
certificationstringYesAge certification"12"
genresarrayYesGenre names["Adventure", "Action", "Fantasy"]
statusstringYesRelease status"Released"
originalLanguagestringYesOriginal language"English"
budgetnumberYesProduction budget (USD), when published250000000.0
revenuenumberYesRevenue (USD), when published1446194550.0
posterUrlstringYesPoster image URL"https://media.themoviedb.org/t/p/..."
backdropUrlstringYesBackdrop image URL"https://media.themoviedb.org/t/p/..."
homepageUrlstringYesOfficial homepage URL"https://www.facebook.com/OdysseyMovie"
trailerYoutubeIdstringYesTrailer YouTube ID"AyIZ9tiiN8I"
trailerUrlstringYesTrailer URL"https://www.youtube.com/watch?v=AyIZ9tiiN8I"
keywordsarrayYesKeyword terms["greek mythology", "trojan war"]
countriesOfOriginarrayYesOrigin countries["United Kingdom", "United States"]
contentScoreintegerYesPopularity/content score100
castarrayYesCast members, when enabled[{"name": "Matt Damon", "tmdbId": 1892, "character": "Odysseus", "url": "..."}]
reviewsarrayYesUser reviews, when enabled[{"author": "Kingson S", "ratingPercent": 90, "content": "..."}]
awardsarrayYesAwards, when enabled[{"name": "Astra Midseason Movie Awards", "tmdbId": "101"}]
alternativeTitlesarrayYesAlternative titles, when enabled[{"country": "Italy", "title": "Odissea"}]
featuredCrewarrayYesFeatured crew, when details are enabled[{"name": "Christopher Nolan", "job": "Director, Writer"}]

The most stable field for deduplication is tmdbId (falling back to url).

Example dataset record

{
"type": "movie",
"tmdbId": 1368337,
"url": "https://www.themoviedb.org/movie/1368337-the-odyssey",
"name": "The Odyssey",
"tagline": "Defy the gods.",
"overview": "Odysseus, the legendary King of Ithaca, embarks on a long and perilous journey home following the Trojan War...",
"year": 2026,
"releaseDate": "2026-07-15",
"runtime": "2h 53m",
"runtimeMinutes": 173,
"userScore": 8.0,
"voteCount": 3225,
"reviewCount": 28,
"certification": "12",
"genres": ["Adventure", "Action", "Fantasy"],
"status": "Released",
"originalLanguage": "English",
"budget": 250000000.0,
"revenue": 1446194550.0,
"posterUrl": "https://media.themoviedb.org/t/p/w300_and_h450_face/5rhTDKUhPYvpdQIijFIs5VoWsON.jpg",
"trailerUrl": "https://www.youtube.com/watch?v=AyIZ9tiiN8I",
"keywords": ["greek mythology", "trojan war", "odyssey"],
"countriesOfOrigin": ["United Kingdom", "United States"],
"cast": [
{
"name": "Matt Damon",
"tmdbId": 1892,
"character": "Odysseus",
"url": "https://www.themoviedb.org/person/1892-matt-damon"
}
],
"reviews": [
{
"author": "Kingson S",
"ratingPercent": 90,
"content": "The movie is visually spectacular and good story telling..."
}
],
"alternativeTitles": [
{
"country": "Italy",
"title": "Odissea"
}
]
}

This record was produced by a movie search for The Odyssey with details, cast and crew, reviews, awards, alternative titles, and images enabled. Cast, reviews, and alternative titles are truncated here.

Query and input reference

InputTypeRequiredDefaultAccepted valuesDescription
searchQueriesarrayNononeFree-text termsSearch TMDB like the site's search box.
searchTypestringNoallall, movie, tv, personWhich search tab to use.
listsarrayNononePopular, Now Playing, Upcoming, Top Rated, Air Today, On The AirBuilt-in TMDB lists.
startUrlsarrayNononeTMDB list, filtered, or title URLsDirect URLs to scrape.
sortBystringNononepopularity.desc, vote_average.desc, title.asc, etc.Overrides the list default sort.
genresarrayNononeGenre names or TMDB IDsGenre filter.
releaseDateFrom / releaseDateTostringNononeYYYY-MM-DDRelease-date bounds.
airDateFrom / airDateTostringNononeYYYY-MM-DDTV episode air-date bounds.
firstAirDateFrom / firstAirDateTostringNononeYYYY-MM-DDTV first-air-date bounds.
originalLanguagestringNononeISO 639-1 (e.g. en, ja)Original language filter.
originCountrystringNononeISO 3166-1 (e.g. US)Origin country filter.
certificationsarrayNononeAge ratingsCertification filter.
certificationCountrystringNononeISO 3166-1Certification system to use.
voteAverageMin / voteAverageMaxnumberNonone0–10User-score bounds.
voteCountMinintegerNononePositive integerMinimum user votes.
runtimeMin / runtimeMaxintegerNononeMinutesRuntime bounds.
keywordsarrayNononeTMDB keyword IDsKeyword filter.
networksarrayNononeTMDB network IDsTV network filter.
watchRegionstringNononeISO 3166-1Streaming availability region.
watchProvidersarrayNononeProvider names or IDsStreaming provider filter.
watchMonetizationTypesarrayNononestream, free, ads, rent, buyAvailability filter.
releaseTypesarrayNononeRelease type codesRelease-type filter.
includeAdultbooleanNofalsetrue / falseInclude adult titles.
includeDetailsbooleanNofalsetrue / falseOpen full title pages.
includeCastAndCrewbooleanNofalsetrue / falseInclude cast and crew.
includeReviewsbooleanNofalsetrue / falseInclude user reviews.
includeAwardsbooleanNofalsetrue / falseInclude awards.
includeAlternativeTitlesbooleanNofalsetrue / falseInclude alternative titles.
includeImagesbooleanNofalsetrue / falseInclude image galleries.
maxItemsintegerNo100 (unlimited) or a positive integerMaximum records to scrape.
proxyConfigurationobjectNoApify ResidentialApify proxy settingsProxy configuration.

Minimal request:

{
"searchQueries": ["The Odyssey"],
"searchType": "movie",
"maxItems": 2,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Retrieve the data through the API

  1. Start the Actor with a JSON input containing search queries, lists, or start URLs.
  2. Wait for the run to finish, or use the synchronous run endpoint.
  3. Retrieve items from the run's default dataset via the Dataset API.
  4. Paginate the dataset or export it in the required format.

The Apify Console generates ready-to-run code for Python, JavaScript, and other languages in the Actor's API tab; see that tab for the current endpoint and authentication details. Never place a real API token in a URL or example.

Data quality and record handling

  • Optional fields (overview, budget, revenue, trailer, cast, reviews, awards, images) are present only when the corresponding detail toggles are enabled.
  • User score is normalized into both userScore (0–10) and userScorePercent (0–100).
  • Within a run, titles are deduplicated by tmdbId. Across runs, key on tmdbId.
  • If a title page fails, the Actor skips that item and continues; check run logs for warnings.
  • Enable Apify Residential proxies (the default) to reduce blocks; lower maxItems while testing.

Export and pipeline examples

DestinationRecommended methodTypical use
PostgreSQL/SupabaseDataset API or webhook consumerStore title records keyed on tmdbId
Google SheetsApify integrationShareable title catalog
S3/cloud storageScheduled export or integrationPeriodic catalog archive

Pricing and cost examples

Billing is pay-per-event. Each record written to the dataset is one dataset-item charge; enabling details, cast and crew, reviews, awards, alternative titles, or images adds a corresponding per-record charge at the same rate. Reviews are charged per review. apify-actor-start is a small one-time per-run charge.

RecordsEstimated base cost
1,000 titles$1.00
10,000 titles$10.00

Estimates assume the published pay-per-event model and do not include Apify platform usage; Apify subscription plan discounts may reduce the per-event rate. Enabling the optional enrichments increases cost per title.

Limitations and responsible data use

  • Only publicly accessible themoviedb.org data is returned; no TMDB API key is required.
  • Extraction depends on TMDB's current availability and site structure, which can change without notice.
  • Conditional fields may be missing for individual titles.
  • No historical snapshots are stored unless the user archives dataset exports.
  • Users are responsible for compliance with applicable terms of service and privacy obligations.

Dataset questions

What does one dataset item represent?

One dataset item is a single movie, TV show, or person record, identified by tmdbId.

Which field should I use as a unique identifier?

Use tmdbId; it is unique per title and stable across runs.

Are fields nullable or conditional?

Yes. overview, budget, revenue, tagline, trailerUrl, and detail sections such as cast, reviews, and awards are conditional on the title and on the enabled toggles.

Can I retrieve the records as CSV or JSON?

Yes. The dataset can be exported as JSON, CSV, Excel, or XML from the Apify Console or Dataset API.

How do I paginate large datasets?

Raise maxItems (set 0 for unlimited) to collect more records in a single run, then paginate via the Dataset API.

What counts as a billable result?

Each title record written to the dataset is one dataset-item charge; optional details, cast and crew, reviews, awards, alternative titles, and images add one charge each at the same rate.

Data Scrapers support

Need an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.