Netflix API Python Client
Extract Netflix data with our Netflix API Python client. Get programmatic access to country availability, IMDB integration, movie ratings, Netflix titles, TV show data, and more using simple Python code. Start free, no credit card required.

Trusted by industry leaders all over the world
Integrate our Netflix API
The Apify API client for Python is the official library that allows you to use Netflix API in Python, providing convenience functions and automatic retries on errors. Get started with simple pip installation and robust error handling built-in.
Python
JavaScript
HTTP
MCP
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {}9
10# Run the Actor and wait for it to finish11run = client.actor("easyapi/netflix-search-scraper").call(run_input=run_input)12
13# Fetch and print Actor results from the run's dataset (if there are any)14print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])15for item in client.dataset(run["defaultDatasetId"]).iterate_items():16    print(item)17
18# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-startGet data with Netflix API Python client
Use our Python API client to extract Netflix data by providing search keywords and maximum item limits. The API returns structured data, including title information, ratings, release years, runtime, synopsis, country availability, and IMDB details.
Input
{ "keywords": [  "fashion" ], "maxItems": 20}Output
[ {  "_fromStrapi": true,  "id": 32977,  "img": "https://occ-0-2851-38.1.nflxso.net/dnm/api/v6/evlCitJPPCVCry0BZlEFb5-QjKc/AAAABYEp0-AXO3ORcVZcc8RRdKmWUDLSqiBoJc_dt_y8lrkH3xK6hA_n8khJNR3qmaWII6ddn1rioa7PzGdUY_s9xsqWTA.jpg?r=bb2",  "nfid": 70111162,  "slug": "fashion",  "year": 2008,  "clist": {   "AR": "Argentina",   "AU": "Australia",   "BR": "Brazil",   "CA": "Canada",   "CO": "Colombia",   "HK": "Hong Kong",   "IL": "Israel",   "IN": "India",   "JP": "Japan",   "US": "United States",   "more": "+8"  },  "title": "Fashion",  "vtype": "movie",  "imdbid": "tt0964516",  "poster": "http://ia.media-imdb.com/images/M/MV5BMTkxNzg4NDI0OV5BMl5BanBnXkFtZTcwNzIyMjk5MQ@@._V1_SX300.jpg",  "top250": 0,  "keyword": "fashion",  "runtime": 9831,  "synopsis": "A small-town girl finally realizes her dream of becoming a famous supermodel but soon finds there's a price for her glamorous new life.",  "top250tv": 0,  "avgrating": 3.5794206,  "titledate": "2015-04-14" }]Sign up for Apify account01
Creating an account is quick and free — no credit card required. Your account gives you access to more than 5,000 scrapers and APIs.
Install Apify Python client02
Install the Apify Python client using pip: pip install apify-client. This package provides a simple interface to interact with Netflix API from your Python applications.
Get your Apify API token03
Go to settings in the Apify console and navigate to the “API & Integrations” tab. There, create a new token and save it for later.
Integrate Netflix API04
Navigate to the Netflix API page and click on the API dropdown menu in the top right corner. In the dropdown menu, you can see API clients, API endpoints, and more. Use the provided Python code examples to integrate Netflix API into your Python application.
Get your Netflix data via API05
The Netflix API returns structured JSON data that works perfectly with pandas, NumPy, and other Python data analysis libraries.

Why use Apify?
Never get blocked
Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.
Customers love us
We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.
Monitor your runs
With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.
Export to various formats
Your datasets can be exported to any format that suits your data workflow, including Excel, CSV, JSON, XML, HTML table, JSONL, and RSS.
Integrate Apify to your workflow
You can integrate your Apify runs with platforms such as Zapier, Make, Keboola, Google Drive, or GitHub. Connect with practically any cloud service or web app.
Large developer community
Apify is built by developers, so you'll be in good hands if you have any technical questions. Our Discord server is always here to help!
Python-ready Netflix data extraction
Connect to hundreds of apps right away using ready-made integrations, or set up your own with webhooks and our API.
No, Netflix does not provide an official Python API client. Netflix discontinued their public API in 2014. This Netflix Search Scraper provides an alternative Python solution to access Netflix catalog data including titles, ratings, availability by country, and comprehensive metadata for movies and TV shows.
Yes, you can try the Netflix Search Scraper Python API client for free! Apify offers free credits to new users, allowing you to test the scraper through the Python API client before committing to a paid plan. The actor is priced at $19.99/month plus usage costs, but you can explore its capabilities with the free trial credits using the Python API client.
The Python Netflix API client extracts comprehensive data including title names, Netflix IDs, synopsis, cover images, average ratings, release years, runtime, IMDB IDs and posters, country availability lists, top 250 rankings when applicable, and detailed metadata for both movies and TV shows from Netflix's catalog.
Yes, it is legal to scrape publicly available Netflix data using Python API clients for research, analysis, and personal use. Python-based Netflix scraping tools can access publicly visible information like titles, ratings, and availability data through HTTP requests and API calls. However, always ensure your Python scraping implementation complies with Netflix's terms of service and applicable laws in your jurisdiction.
Getting started with our Netflix Python API is easy — simply create a free Apify account, get your API token, and start using the Netflix API in Python, JavaScript, CLI, cURL, OpenAPI, or MCP.