How to Scrape Movie Data from IMDb

Examples of scrapers for various websites and platforms

Looking for more web scraping APIs?

Autom.dev specializes in SERP scraping. For general web scraping APIs and ready-to-use endpoints:


Piloterr

How to Scrape Movie Data from IMDb

Why Scrape IMDb?

The Internet Movie Database (IMDb) is one of the world's most popular sources for movie, TV and celebrity content, offering a comprehensive database of films, television programs, and more. For businesses operating in the entertainment industry, or any organization looking to analyze trends in film and television, scraping IMDb can provide a treasure trove of valuable data.

By scraping IMDb, businesses and researchers can glean insights into viewer ratings, popularity of different genres, performance of actors and directors, and even predict future trends based on historical data. All this information can be invaluable in guiding strategic decisions, from content production to marketing and distribution.

What Will We Scrape?

We will scrape the following movie data from IMDb:

  • Movie Title
  • Release Year
  • Genre
  • IMDb Rating
  • Director Name
  • Star Names
  • Movie Description
  • Number of Votes
  • Box Office Collection

Request

curl --location --request GET 'https://autom.dev/api/v1/imdb/product?query=https://www.imdb.com/title/tt0110912/?ref_=nv_sr_srsg_0_tt_7_nm_1_q_pulp%2520fiction' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <token>'

Response

{
  "movieId": "tt0110912",
  "Title": "Pulp Fiction",
  "Year": "1994",
  "Genre": ["Crime", "Drama"],
  "Duration": "2h34min",
  "Rating": "8.9",
  "PopularityRanking": "104",
  "Director": "Quentin Tarantino",
  "Stars": ["John Travolta", "Uma Thurman", "Samuel L. Jackson"],
  "Description": "The lives of two mob hitmen, a boxer, a gangster and his wife, and a pair of diner bandits intertwine in four tales of violence and redemption.",
  "Votes": "2,119,949",
  "BoxOffice": "$107.93M",
  "URL": "https://www.imdb.com/title/tt0110912/?ref_=nv_sr_srsg_0_tt_7_nm_1_q_pulp%2520fiction"
}

Related Scrapers

Scrapers

Collection of web scrapers for various websites and platforms