# Letterboxd Scraper — Films, Ratings & Reviews (`samwise.agency/letterboxd-scraper`) Actor

Scrape Letterboxd: film details with average rating and rating counts, member reviews, and the popular films chart. No login. Clean JSON/CSV for film marketing, research, and sentiment analysis.

- **URL**: https://apify.com/samwise.agency/letterboxd-scraper.md
- **Developed by:** [samwise.agency](https://apify.com/samwise.agency) (community)
- **Categories:** Videos
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Letterboxd Scraper — Films, Ratings & Reviews

Film-culture data from the platform tastemakers actually use. Scrape **Letterboxd film pages** (average rating, rating counts, directors, genres), **member reviews**, and the **popular films chart** — no login, clean rows.

**What you can extract:**

- 🎬 **Film details** — title, year, directors, genres, synopsis, poster
- ⭐ **Ratings** — average rating and rating/review counts
- ✍️ **Member reviews** — reviewer, star rating, full text
- 📈 **Popular chart** — what film Twitter is actually watching

### Quick start

1. Click **Run** — default pulls Parasite (2019) with recent reviews
2. Swap in your films (slugs or URLs), or set popular pages for the chart
3. Schedule weekly = tracking sentiment through a release window

### Sample output

```json
{
    "type": "film",
    "slug": "parasite-2019",
    "title": "Parasite",
    "year": 2019,
    "directors": ["Bong Joon-ho"],
    "genres": ["Thriller", "Comedy", "Drama"],
    "averageRating": 4.56,
    "ratingCount": 1204312,
    "url": "https://letterboxd.com/film/parasite-2019/"
}
```

### Use cases

- **Film marketing & distribution** — cinephile sentiment before wide release
- **Streaming acquisitions** — engagement data by title
- **Journalists & academics** — reception analysis
- **Recommendation engines** — ratings corpus for indie/arthouse titles

### Pricing

Pay per result row (film or review).

### FAQ

**Is there an official API?** Letterboxd's API is invite-only; this Actor reads the same public pages any visitor sees, politely.

# Actor input Schema

## `films` (type: `array`):

Film slugs (e.g. 'parasite-2019') or full letterboxd.com/film/... URLs.

## `includeReviews` (type: `boolean`):

Also export recent member reviews for each film (one result per review).

## `maxReviewsPerFilm` (type: `integer`):

Cap on review rows per film.

## `popularPages` (type: `integer`):

Also scrape N pages of the popular-films chart (~72 films/page). 0 = skip.

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

Apify Proxy keeps requests reliable.

## Actor input object example

```json
{
  "films": [
    "parasite-2019"
  ],
  "includeReviews": true,
  "maxReviewsPerFilm": 20,
  "popularPages": 0,
  "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 = {
    "films": [
        "parasite-2019"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("samwise.agency/letterboxd-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 = {
    "films": ["parasite-2019"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("samwise.agency/letterboxd-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 '{
  "films": [
    "parasite-2019"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call samwise.agency/letterboxd-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,samwise.agency/letterboxd-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/EWTIoC5LLiE4gfHON/builds/Zy2HaCa9KxijckRlU/openapi.json
