# Netflix Search Scraper (`alien_force/netflix-search-scraper`) Actor

This actor scrapes Netflix titles (movies, series) using advanced filters like search query, actor, genre, release year, and availability. It fetches rich data, including images, cast, IMDb metrics, and episode details for series, all while ensuring fast, reliable results with proxy support.

- **URL**: https://apify.com/alien_force/netflix-search-scraper.md
- **Developed by:** [Alien Force](https://apify.com/alien_force) (community)
- **Categories:** Videos, SEO tools
- **Security:** Limited permissions
- **Stats:** 73 total users, 3 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $8.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Netflix Search Scraper

### Introduction

Welcome to the **Netflix Scraper Actor**! Whether you're an avid Netflix user, a developer building a media app, or a data enthusiast looking to dig into Netflix's treasure trove of movies and series, this actor is for you. With powerful querying capabilities, this actor allows you to easily retrieve Netflix movie and series titles based on various search criteria. You can filter by genre, actor, release years, availability, and more. It's everything you need to get Netflix data in a flash!

### Key Features

- **Search Netflix Titles by Query:** Get movies and series based on a search term.
- **Actor-based Search:** Find titles associated with a specific actor (including supporting roles or production credits, not just lead actors).
- **Advanced Filtering Options:** Filter by start year, end year, genre, availability ("Expiring" or "New last 24 hours"), and other criteria.
- **Sort Results:** Sort your data by relevance, date, rating and more.
- **Rich Data:** Retrieve Netflix movie/series images, countries, episodes (for series), cast details, and IMDb metrics.
- **Optimized Performance:** Scrape data with efficient proxies to ensure fast and reliable results.

### Why Use This Actor?

This actor is perfect for anyone looking to build a Netflix-inspired experience or gather insights into Netflix's catalog for analysis, content creation, or development purposes. Whether you're scraping data for your app, building an analytics dashboard, or just curious about Netflix’s ever-changing content library, this actor provides easy access to key Netflix data points.

With powerful search and filtering features, you can tailor the data to your exact needs. From the latest movies to classic series, you can grab the content you need, quickly and efficiently. Plus, the added IMDb metrics and cast details mean you get rich, actionable data with minimal effort.

### Input Schema

Here’s what you need to know about the inputs:

```json
{
    "query": "Salt", // Search query (e.g., movie/series name or keyword)
    "actor_query": "Angelina Jolie", // Search for titles by a specific actor
    "genre_query": "", // Filter by genre
    "type": "Movie", // Type of content: "Movie" or "Series"
    "start_year": 2025, // Start year of release for filtering
    "end_year": 2007, // End year of release for filtering
    "filter_by": "Expiring", // Filter by availability ("Expiring", "New last 24 hours")
    "order_by": "Date", // Sort results by ["Relevance", "Date", "DateAsc", "Rating", "RatingAsc", "Title", "VideoType", "FilmYear", "FilmYearAsc", "Runtime"]
    "limit": 100, // Limit the number of results
    "proxyConfiguration": {
        "useApifyProxy": true // Use Apify's proxy for faster scraping
    }
}
```

### Output Schema

```json
{
    "netflixid": 82013962,
    "title": "Temptation",
    "matlabel": "Recommended for ages 16 and up",
    "matlevel": "80",
    "avgrating": 3.7760384,
    "predrating": 3.8,
    "synopsis": "When ambitious young journalist Inez lands a story profiling an enigmatic soccer star, she enters a seductive world of luxury, lies and danger.",
    "vtype": "series",
    "img": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/mAcAr9TxZIVbINe88xb3Teg5_OA/AAAABaCiiF-3YvMFBfa3GeJoYzFqKZ_zgn_Ig9yRi9IWa7xqp2pGUdO_F-rVtDA3LTS3zjnhteGWhVRTUxLmH4R7YtVFuDRhj4eqohTT3xyAOQSbmZnVll3MPUiR1zcRJX0v4tbhebKYrYTbE5YEPPNP7qMWyxSyqICR0S_mhHSIBtw.jpg?r=db1",
    "lgimg": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/mAcAr9TxZIVbINe88xb3Teg5_OA/AAAABeF2HyCKs0BmI6etpFMd2k8jJGBoDf4uVNeZOlTwyNFXD_B4bgCWliJZFaQH6zprIZ0abhzAk7Wf7qF4PB5vcLGwcJfgHJL1XAZhnZzWhKMdt7BaXiMxEK5tizQAylDGdAN18eQQ6MVI0GXjI_qcFr3afyH24D7gdvGbnxIewUMviw.jpg?r=db1",
    "nfid": 82013962,
    "runtime": 6016,
    "nfdate": "2025-05-19",
    "curdate": "2025-05-20",
    "year": 2025,
    "imdbposter": "https://m.media-amazon.com/images/M/MV5BMmNhODIyNTctZDhmZC00YmNiLTg3ODMtMzUzOTE5MzQ5MjIyXkEyXkFqcGdeQXVyNjc0MzMzNjA@._V1_SX300.jpg",
    "imdbgenre": "Drama Film-Noir Thriller",
    "imdbrated": "Approved",
    "imdbruntime": "98 min",
    "imdbawards": "0",
    "imdbcountry": "United States",
    "imdblanguage": "English",
    "imdbrating": 6.5,
    "imdbid": "tt0039015",
    "imdbplot": "In a flashback late-Victorian beauty Ruby a divorcee with a shady past calculatingly marries rich Egyptologist Nigel who installs her at his Cairo estate while he digs for mummies. Bored Ruby undertakes to recover a friend&#39;s letters from Baroudi. But when she meets the blackmailer mutual attraction leads to an affair. As Ruby gets in deeper she finds Baroudi is even more unscrupulous than she dreamed.",
    "imdbmetascore": "0",
    "imdbvotes": 394,
    "imdblocalimage": 1, // nullable
    "top250": 0, // nullable
    "top250tv": 0, // nullable
    "images": {
        "bo166x236": [
            {
                "url": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/mAcAr9TxZIVbINe88xb3Teg5_OA/AAAABaCiiF-3YvMFBfa3GeJoYzFqKZ_zgn_Ig9yRi9IWa7xqp2pGUdO_F-rVtDA3LTS3zjnhteGWhVRTUxLmH4R7YtVFuDRhj4eqohTT3xyAOQSbmZnVll3MPUiR1zcRJX0v4tbhebKYrYTbE5YEPPNP7qMWyxSyqICR0S_mhHSIBtw.jpg?r=db1",
                "width": 166
            }
        ],
        "bo342x192": [
            {
                "url": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/Qs00mKCpRvrkl3HZAN5KwEL1kpE/AAAABZRiUWRJ9tzSEIfEcNwb03hvpbfW452ONX69JZ8AMnLzJg-pCYOXpj3qgyTb9QTrKKZuEoVAFa3j-BrrWEbUHU_AHOiFoMvU4OicmE34Csdue4YzSibJ-LN45haaAZPkm7-fEdEuhicQbEwxdIg0QLy-GQ7lq3PSFEOR2UJifOZ5.jpg?r=884",
                "width": 342
            }
        ],
        "bo342x684": [
            {
                "url": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/mAcAr9TxZIVbINe88xb3Teg5_OA/AAAABeF2HyCKs0BmI6etpFMd2k8jJGBoDf4uVNeZOlTwyNFXD_B4bgCWliJZFaQH6zprIZ0abhzAk7Wf7qF4PB5vcLGwcJfgHJL1XAZhnZzWhKMdt7BaXiMxEK5tizQAylDGdAN18eQQ6MVI0GXjI_qcFr3afyH24D7gdvGbnxIewUMviw.jpg?r=db1",
                "width": 342
            }
        ],
        "bg": [
            {
                "url": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/E8vDc_W8CLv7-yMQu8KMEC7Rrr8/AAAABWufLU0FjsOx216lcuS5cdCqGIkrPL9Rb9LYfBOvFlTiTBzOBbZ8Njj0PPEHqym9jVqHehG1eJrk0gkQZw6dnAyJkPawfRnY2NFj.jpg?r=ada",
                "width": 477
            },
            {
                "url": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/6AYY37jfdO6hpXcMjf9Yu5cnmO0/AAAABVusFivc21pxm7pkhZiFwD752ig-ol4VQWyosHwbFH09Qh4bJVaPPLH_z4qpLm-4ifHSYeUeiYZcRZQfDFlzAbChyammGSS8MOHX.jpg?r=a1a",
                "width": 720
            }
        ],
        "bo665x375": [
            {
                "url": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/Qs00mKCpRvrkl3HZAN5KwEL1kpE/AAAABazcp4ZSaJGMwNSS9a-V21SsFA4cUQM892penmbcYaSwUY-4srYzNBV5NvWN433wgjfPwFVHP8FZ9q8AAMkBUX_w-5ZIvB5sFQO_jooad-4OAftXb4WrCaDo22cnJOlKKhKoFvM0idCltUc4EOblQevOzln0OCtNt_1slct5579TMw.jpg?r=884",
                "width": 665
            }
        ],
        "bo1280x448": [
            {
                "url": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/Qs00mKCpRvrkl3HZAN5KwEL1kpE/AAAABZd8XQSx413iR8rpYz5UjAb99y10ypAy3h3jEp0yJm4WP5iOZcMFRjEK4LbU7vDWMJHRo3wO_8netBlZXvKJaTBGgTzV7h4SNAWlDYTTyNoQlTA0tXVF_u1q2pxt9q5NiTc5fzT12-HHVbdplkRyaKw9zkqdP-cBEujAopZhhV-6cg.jpg?r=884",
                "width": 1280
            }
        ]
    },
    "genres": [
        {
            "nfid": 11714,
            "genre": "TV Dramas"
        },
        {
            "nfid": 89811,
            "genre": "TV Thrillers"
        }
    ],
    "people": [
        {
            "type": "Actor",
            "arr": [
                {
                    "fullname": "Andrea Preti"
                },
                {
                    "fullname": "Ewa Ekwa"
                }
            ]
        },
        {
            "type": "Director",
            "arr": [
                {
                    "fullname": "Maria Sadowska"
                }
            ]
        }
    ],
    "countries": [
        {
            "cc": "PL",
            "id": 392,
            "country": "Poland ",
            "seasdet": "S1(3)",
            "expiredate": null,
            "newdate": "2025-05-19",
            "audio": "Polish [Original]",
            "subtitle": "English,Polish",
            "hd": "1",
            "uhd": "0",
            "3d": null
        }
    ],
    "episodes": [
        {
            "season": 1,
            "episodes": [
                {
                    "epid": 82013964,
                    "seasid": 82013963,
                    "epnum": 1,
                    "seasnum": 1,
                    "synopsis": "",
                    "title": "Episode 1",
                    "img": "https://occ-0-1433-1432.1.nflxso.net/dnm/api/v6/9pS1daC2n6UGc3dUogvWIPMR_OU/AAAABWvF1FgzUiCQjmdIu0lvn1i2W0NEZP20y5iZqdoNdKOlYhziumcuXQr4xdWw3daTQFBgpHHO-E4Qb6aixl6va3mbm7QNM-wIWTekXKu_joA8cC6ZjHvI3NS2.jpg?r=b7f"
                }
            ]
        }
    ]
}
```

# Actor input Schema

## `query` (type: `string`):

Provide a query keyword to search for Netflix Titles (Movies, Series)

## `actor_query` (type: `string`):

Provide the name of an actor, actress, director, or producer to search for Netflix titles associated with them.

## `genre_query` (type: `string`):

Provide a genre to search for Netflix titles associated with that genre.

## `type` (type: `string`):

Select Content Type

## `start_year` (type: `integer`):

Enter the starting year (integer) to filter results from this year onward

## `end_year` (type: `integer`):

Enter the ending year (integer) to filter results up to this year

## `filter_by` (type: `string`):

Filter results by expiring titles or those newly added in the last 24 hours.

## `order_by` (type: `string`):

Select how to order the results.

## `limit` (type: `integer`):

Limit number of results

## `proxyConfiguration` (type: `object`):

Configure proxies to be used by the crawler.

## Actor input object example

```json
{
  "query": "Harry Potter",
  "limit": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "Harry Potter"
};

// Run the Actor and wait for it to finish
const run = await client.actor("alien_force/netflix-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "query": "Harry Potter" }

# Run the Actor and wait for it to finish
run = client.actor("alien_force/netflix-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "Harry Potter"
}' |
apify call alien_force/netflix-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alien_force/netflix-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SNpqDJRf4P2ryDrdi/builds/StXp3hVifPLx3qRV1/openapi.json
