# Mubi Film Scraper (`mscraper/mubi-list-scraper`) Actor

The Mubi List Scraper is a powerful tool built to scrape detailed film data from the Mubi Lists. It can retrieve important film data such as film title, release year, duration, genre, average ratings, director's name, and more.

- **URL**: https://apify.com/mscraper/mubi-list-scraper.md
- **Developed by:** [mscraper](https://apify.com/mscraper) (community)
- **Categories:** Other
- **Features:** Full permissions
- **Stats:** 57 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

## Mubi List Scraper

### What does Mubi Scraper do?

The Mubi List Scraper is a powerful tool built to scrape detailed film data from the [Mubi](https://mubi.com/lists). It can retrieve important film data such as film title, release year, duration, genre, average ratings, director's name, and more.

### Why scrape Mubi?

Mubi is a curated online cinema platform that offers a diverse selection of films across many genres, countries, and popularity categories, here are six potential benefits of scraping data from Mubi:

➡️ **Film Recommendation System**:
Scraping Mubi can provide valuable data for building a film recommendation system. This system could suggest films based on genre, director, popularity, and other criteria to users based on their viewing history or stated preferences​.

➡️ **Market Analysis**:
Data from Mubi can be used for market analysis. By examining the popularity of different genres, directors, or countries of origin, businesses can identify trends in viewer preferences. This information could help filmmakers, distributors, and other industry stakeholders make informed decisions​.

➡️ **Content Curation**:
For other content platforms or film festivals, scraping Mubi could provide valuable insights into successful curation strategies. This could include understanding the balance of genres, the popularity of specific themes or directors, and how to cater to a global audience​.

➡️ **Educational Research**:
For film students or researchers, Mubi provides a rich dataset for exploring cinema from a scholarly perspective. This could include studying the prevalence of certain themes over time, examining the output of different countries, or analyzing trends in cinema​.

➡️ **Competitor Analysis**:
For other streaming services, data from Mubi can provide insights into the platform's strategy, such as the types of films it prioritizes, its global focus, and how it structures its content. This information could inform their own content acquisition and curation strategies​​.

➡️ **User Behavior Analysis**:
By scraping user activity and reviews, one can analyze user behavior patterns, such as the most watched or most rated movies. These insights can be used to improve user experience, make strategic decisions about content, or enhance a recommendation engine​.

### How much will it cost to scrape Mubi?

Apify gives you $5 free usage credits every month on the [Apify Free plan](https://apify.com/pricing). You can get up to 10,000 results per month from Mubi Scraper for that, so those 10,000 results will be completely free

But if you need to get more data regularly from Mubi, you should grab an Apify subscription. We recommend our [$49/month Starter plan](https://apify.com/pricing) - you can get up to 100,000 every month with the $49 monthly plan!

Or get 1,000,000 results for $499 with the [Scale plan](https://apify.com/pricing) - wow!

### How to scrape Mubi?

It's easy to scrape Mubi with Mubi Scraper. Just follow these few steps and you'll get your data in a few minutes.

1. Click on Try for free.
2. Add URLs to `list page` in input.
3. Click on Run.
4. When Mubi Scraper has finished, preview or download your data from the Dataset tab.

Example of valid URLs:
`https://mubi.com/lists/i-love-sci-fi`

### Results

The output from Mubi Scraper is stored in the dataset. After the run is finished, you can download the dataset in various data formats (JSON, CSV, XML, RSS, HTML Table).

```json
{
 "id": 24327,
 "slug": "the-astronomers-dream",
 "title": "The Astronomer's Dream",
 "title_locale": "en-US",
 "original_title": "La lune à un mètre",
 "year": 1898,
 "duration": 3,
 "stills": {
  "small": "https://assets.mubicdn.net/images/film/24327/image-w256.jpg?1445869815",
  "medium": "https://assets.mubicdn.net/images/film/24327/image-w448.jpg?1445869815",
  "standard": "https://assets.mubicdn.net/images/film/24327/image-w856.jpg?1445869815",
  "retina": "https://assets.mubicdn.net/images/film/24327/image-w1280.jpg?1445869815",
  "small_overlaid": "https://assets.mubicdn.net/images/film/24327/image-w512_overlaid.jpg?1445869815",
  "large_overlaid": "https://assets.mubicdn.net/images/film/24327/image-w1504_overlaid.jpg?1445869815"
 },
 "still_focal_point": {
  "x": 0.5,
  "y": 0
 },
 "hd": false,
 "average_colour_hex": "221C1C",
 "trailer_url": null,
 "trailer_id": null,
 "popularity": 124,
 "web_url": "https://mubi.com/films/the-astronomers-dream",
 "genres": [
  "Short",
  "Comedy",
  "Fantasy"
 ],
 "average_rating": 3.9,
 "average_rating_out_of_ten": 7.8,
 "number_of_ratings": 488,
 "mubi_release": false,
 "should_use_safe_still": false,
 "still_url": "https://images.mubicdn.net/images/film/24327/cache-16188-1445869815/image-w1280.jpg",
 "title_upcase": "THE ASTRONOMER'S DREAM",
 "critic_review_rating": 0,
 "content_rating": {
  "label": "not_rated",
  "rating_code": "NOT RATED",
  "description": "This film has not yet been rated, and may contain adult material.",
  "icon_url": null,
  "label_hex_color": "e05d04"
 },
 "short_synopsis": "An astronomer is alternately bedeviled and enchanted by various aspects of the moon in a quite literal way.",
 "short_synopsis_html": "<p>An astronomer is alternately bedeviled and enchanted by various aspects of the moon in a quite literal way.</p>",
 "default_editorial": "",
 "default_editorial_html": "",
 "title_treatment_url": null,
 "directors": [
  {
   "name": "Georges Méliès",
   "name_upcase": "GEORGES MÉLIÈS",
   "slug": "georges-melies"
  }
 ],
 "historic_countries": [
  "France"
 ],
 "optimised_trailers": null,
 "mubi_go_highlighted": false,
 "episode": null,
 "portrait_image": null,
 "content_warnings": [],
 "artworks": [],
 "highlighted_industry_event_entry": null
}
```

### Is it legal to scrape Mubi?

Note that personal data is protected by GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. We also recommend that you read our blog post: [is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

### Contact

Please feel free to browse through the diverse array of web scrapers available on [my Apify profile](https://apify.com/mscraper). If a custom solution or extra options are what you're seeking, don't hesitate to get in touch with me directly at <contact@mscraper.com>.

# Actor input Schema

## `startUrls` (type: `array`):

URLs to start with.

## `proxy` (type: `object`):

Select proxies to be used by your crawler.

## `resultsLimit` (type: `integer`):

Maximum number of results

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://mubi.com/lists/i-love-sci-fi"
    }
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyCountry": "US"
  },
  "resultsLimit": 20
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://mubi.com/lists/i-love-sci-fi"
        }
    ],
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyCountry": "US"
    },
    "resultsLimit": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mscraper/mubi-list-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 = {
    "startUrls": [{ "url": "https://mubi.com/lists/i-love-sci-fi" }],
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyCountry": "US",
    },
    "resultsLimit": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("mscraper/mubi-list-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 '{
  "startUrls": [
    {
      "url": "https://mubi.com/lists/i-love-sci-fi"
    }
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyCountry": "US"
  },
  "resultsLimit": 20
}' |
apify call mscraper/mubi-list-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mscraper/mubi-list-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/CmIAqfBCMYQKPnIN2/builds/fT70cc1KuYygdFxC3/openapi.json
