Letterboxd API endpoint
Returns a film's full star-rating distribution (0.5 to 5.0 in half-star buckets) with counts and percentages.
/letterboxd/film/{slug}/rating-histogramReturns a film's full star-rating distribution (0.5 to 5.0 in half-star buckets) with counts and percentages — data not cheaply available from most other film-metadata sources.
Path parameters:
slug (required) — Letterboxd film slug.Response includes buckets[] (stars, count, percent, always the fixed 10 half-star values 0.5–5.0) and total_ratings (sum across all buckets).
| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| stars | 10 | 0.5 to 5, median 2.5 |
| count | 10 | 5,659 to 2,936,855, median 42,642 |
| percent | 10 | 0 to 50, median 1 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| slug (path) | string | Yes | Letterboxd film slug | parasite-2019 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/letterboxd/film/parasite-2019/rating-histogram" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"slug": "parasite-2019",
"buckets": [
{
"stars": 0.5,
"count": 5153,
"percent": 0
},
{
"stars": 1,
"count": 12784,
"percent": 0
},
{
"stars": 1.5,
"count": 5951,
"percent": 0
},
{
"stars": 2,
"count": 38409,
"percent": 1
},
{
"stars": 2.5,
"count": 33861,
"percent": 1
},
{
"stars": 3,
"count": 220595,
"percent": 4
},
{
"stars": 3.5,
"count": 259742,
"percent": 5
},
{
"stars": 4,
"count": 1231158,
"percent": 22
},
{
"stars": 4.5,
"count": 960428,
"percent": 17
},
{
"stars": 5,
"count": 2785234,
"percent": 50
}
],
"total_ratings": 5553315,
"source_url": "https://letterboxd.com/csi/film/parasite-2019/rating-histogram/"
}
}Request schema
No body schema
Response schema
#/definitions/letterboxd.ratingHistogramResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | letterboxd.RatingHistogramResponse | No | ||||
| data.buckets | array | No | ||||
| data.buckets[].count | integer | No | ||||
| data.buckets[].percent | integer | No | ||||
| data.buckets[].stars | number | No | 4.5 | |||
| data.slug | string | No | ||||
| data.source_url | string | No | ||||
| data.total_ratings | integer | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/letterboxd/film/parasite-2019/rating-histogram" \
-H "x-api-key: $CRAWLORA_API_KEY"