# Letterboxd Film Detail API Documentation

Retrieve the public detail of a Letterboxd film: title, year, directors, average rating, poster URL, film ID, rating histogram, watched count, lists count and likes count. A valid film with zero ratings is still a successful response.

- **Documentation:** [https://scrappa.co/docs/letterboxd-api/letterboxd_film](https://scrappa.co/docs/letterboxd-api/letterboxd_film)
- **API group:** Letterboxd API
- **Endpoint:** `GET https://scrappa.co/api/letterboxd/film`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `slug` | string | Yes | Letterboxd film slug. Example: the-dark-knight. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/letterboxd/film?slug=the-dark-knight"
```

## Example response

```json
{
    "success": true,
    "data": {
        "title": "The Dark Knight",
        "year": 2008,
        "directors": [
            "Christopher Nolan"
        ],
        "average_rating": 4.5,
        "poster": "https://a.ltrbxd.com/resized/film-poster/...",
        "film_id": "{\"lid\":\"2b0k\",\"uid\":\"film:51896\",\"type\":\"film\"}",
        "rating_histogram": {
            "0.5": 2979,
            "1.0": 7464
        },
        "watched_count": 7029205,
        "lists_count": 1047116,
        "likes_count": 3072423
    },
    "meta": {
        "endpoint_family": "film_detail"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The slug parameter is missing or not a valid film slug. This response is not billable. |
| 404 | Film Not Found | The requested Letterboxd film was not found. This response is not billable. |
| 503 | Upstream Unavailable | The Letterboxd API is temporarily unavailable. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
