IMDB Advanced Scraper
3 days trial then $35.00/month - No credit card required now
IMDB Advanced Scraper
3 days trial then $35.00/month - No credit card required now
Uncover comprehensive data on millions of movies, artists, and more with our advanced scraping tool. Extract TV episode details, descriptions, casting, artists, ratings, and more. Customize your search with filters and mappings for precise results.
You can access the IMDB Advanced Scraper programmatically from your own JavaScript applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "search": "warner",
12 "mode": "all",
13 "searchTag": "all",
14 "startUrls": [
15 "https://www.imdb.com/title/tt0056234/?ref_=adv_li_tt",
16 "https://www.imdb.com/name/nm0912504/?ref_=fn_al_nm_1",
17 "https://www.imdb.com/list/ls566706296",
18 "https://www.imdb.com/find?s=kw&q=warn&ref_=nv_sr_sm",
19 "https://www.imdb.com/search/title/?title_type=feature&release_date=2021-01-01,2023-07-01"
20 ],
21 "maxItems": 20,
22 "endPage": 1,
23 "extendOutputFunction": ($) => { return {} },
24 "customMapFunction": (object) => { return {...object} },
25 "proxy": {
26 "useApifyProxy": true
27 }
28};
29
30// Run the Actor and wait for it to finish
31const run = await client.actor("epctex/imdb-advanced-scraper").call(input);
32
33// Fetch and print Actor results from the run's dataset (if any)
34console.log('Results from dataset');
35console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
36const { items } = await client.dataset(run.defaultDatasetId).listItems();
37items.forEach((item) => {
38 console.dir(item);
39});
40
41// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
IMDB Data Crawler API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use IMDB Advanced Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
npm install apify-client
Other API clients include: