---
title: "Get a Letterboxd film's rating distribution"
method: GET
path: "/letterboxd/film/{slug}/rating-histogram"
tags: ["Letterboxd"]
---

# Get a Letterboxd film's rating distribution

`GET /letterboxd/film/{slug}/rating-histogram`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/letterboxd/film/{slug}/rating-histogram`
- Auth: API key in header `x-api-key`

Returns a film's full star-rating distribution (0.5 to 5.0 in half-star buckets) with counts and percentages.

## Path parameters

- `slug` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- LetterboxdRatingHistogramResponseDoc
  - `code` integer
  - `data` LetterboxdRatingHistogramResponse
    - `buckets` LetterboxdRatingBucket[]
      - `count` integer
      - `percent` integer
      - `stars` number
    - `slug` string
    - `source_url` string
    - `total_ratings` integer
  - `msg` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
