# Letterboxd API

> Returns Letterboxd film details, ratings, popular films, search results, member profiles and film crew.

Category: Entertainment & Books. Region: global. 6 endpoints at `https://api.hoshime.com/v1/letterboxd/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/letterboxd
## GET /v1/letterboxd/film

One film with its Letterboxd rating, genres, director, cast and runtime.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Letterboxd film slug, such as parasite-2019, or letterboxd.com film URL. (e.g. parasite-2019) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `cast` (string[]), `countries` (string[]), `description` (string), `directors` (string[]), `genres` (string[]), `name` (string), `rating` (number (double)), `ratingCount` (integer (int64)), `runtimeMinutes` (integer (int64)), `slug` (string), `url` (string), `year` (string)

```bash
curl "https://api.hoshime.com/v1/letterboxd/film?slug=parasite-2019" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/letterboxd/popular

Popular films on Letterboxd for a period (week, month, year or all time).

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `period` | string | no | week, month, year or all. (one of week, month, year, all; default all; e.g. week) |
| `limit` | integer | no | Items per page, 1 to 30. (default 20) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `slug` (string), `title` (string), `url` (string), `year` (string)

```bash
curl "https://api.hoshime.com/v1/letterboxd/popular?period=week" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/letterboxd/search

Films whose title matches a query, in Letterboxd's order.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Title text to search for. (e.g. parasite) |
| `limit` | integer | no | Items per page, 1 to 30. (default 12) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `slug` (string), `title` (string), `url` (string), `year` (string)

```bash
curl "https://api.hoshime.com/v1/letterboxd/search?query=parasite" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/letterboxd/member

A Letterboxd member's public profile: display name, bio and the counts of films, lists and followers.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Letterboxd user name, such as dave, or a letterboxd.com profile URL. (e.g. dave) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `avatarUrl` (string), `bio` (string), `createdAt` (string), `films` (integer (int64)), `followerCount` (integer (int64)), `followingCount` (integer (int64)), `id` (string), `lists` (integer (int64)), `name` (string), `postCount` (integer (int64)), `url` (string), `username` (string), `verified` (boolean)

```bash
curl "https://api.hoshime.com/v1/letterboxd/member?username=dave" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/letterboxd/memberFilms

The films a Letterboxd member has logged, newest first, with the rating the member gave each one. 72 per page.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Letterboxd user name, such as dave, or a letterboxd.com profile URL. (e.g. dave) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `rating` (number (double)), `slug` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/letterboxd/memberFilms?username=dave" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/letterboxd/filmCrew

The crew of a film by job (director, writer, cinematography...), from its Letterboxd crew page.

Scope: `social:read` · Units: 1 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Letterboxd film slug, such as parasite-2019, or letterboxd.com film URL. (e.g. parasite-2019) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `job` (string), `name` (string), `slug` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/letterboxd/filmCrew?slug=parasite-2019" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
