# Letterboxd User Diary API Documentation

Retrieve the first page of public diary entries for a Letterboxd user. Each entry carries the film slug. A valid empty result (user with no diary entries) is a successful response.

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

## 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 |
| --- | --- | --- | --- |
| `user` | string | Yes | Letterboxd username. Example: theadams. |
| `page` | integer | No | 1-based page number. Defaults to 1. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/letterboxd/diary?user=theadams&page=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "user": "theadams",
        "entries": [
            {
                "film": "a-silent-voice-the-movie"
            },
            {
                "film": "grave-of-the-fireflies"
            }
        ],
        "has_more": true
    },
    "meta": {
        "endpoint_family": "user_diary"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The user parameter is missing or not a valid username. This response is not billable. |
| 404 | User Not Found | The requested Letterboxd user 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)
