{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Letterboxd Scraper · 5,000 Free Films/Month",
    "description": "Letterboxd Scraper gets you films ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — ratings, cast, crew, where to watch & posters by search, browse, list or person. 💰 $1 per 1,000 films, no start fee. Scrape your first 5,000 films free every month 🚀",
    "version": "0.0",
    "x-build-id": "MLcfZhshH4iBs49rp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~letterboxd-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-letterboxd-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/omkar-cloud~letterboxd-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-letterboxd-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/omkar-cloud~letterboxd-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-letterboxd-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchQueries": {
            "title": "Search Keywords",
            "type": "array",
            "description": "Film titles or keywords to search. Leave empty to scrape only browse results, lists, collections, people or films.",
            "items": {
              "type": "string"
            }
          },
          "browseFilms": {
            "title": "Browse Films",
            "type": "boolean",
            "description": "Scrape the film browser with the sort and filters below.",
            "default": false
          },
          "browseSort": {
            "title": "Browse Sort",
            "enum": [
              "popular",
              "popular-week",
              "popular-month",
              "popular-year",
              "rating",
              "rating-lowest",
              "release",
              "release-earliest",
              "name",
              "longest",
              "shortest"
            ],
            "type": "string",
            "description": "Order of browsed films.",
            "default": "popular"
          },
          "genres": {
            "title": "Genres",
            "type": "string",
            "description": "Comma-separated genres; prefix one with `-` to exclude it, e.g. `horror,-comedy`. Allowed: action, adventure, animation, comedy, crime, documentary, drama, family, fantasy, history, horror, music, mystery, romance, science-fiction, thriller, tv-movie, war, western."
          },
          "decade": {
            "title": "Decade",
            "enum": [
              "",
              "2020s",
              "2010s",
              "2000s",
              "1990s",
              "1980s",
              "1970s",
              "1960s",
              "1950s",
              "1940s",
              "1930s",
              "1920s",
              "1910s",
              "1900s",
              "1890s",
              "1880s",
              "1870s"
            ],
            "type": "string",
            "description": "Only films from this decade. Use either decade or year.",
            "default": ""
          },
          "year": {
            "title": "Year",
            "minimum": 1870,
            "maximum": 2036,
            "type": "integer",
            "description": "Only films released this year. Use either decade or year."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Country name, Letterboxd slug or 2-letter code, e.g. `US`, `South Korea`."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language name, Letterboxd slug or 2-letter code, e.g. `ko`, `French`."
          },
          "service": {
            "title": "Streaming Service",
            "type": "string",
            "description": "Only films on this service (Letterboxd slug), e.g. `netflix-us`, `mubi`."
          },
          "lists": {
            "title": "Lists",
            "type": "array",
            "description": "Lists as `member/list-slug`, a letterboxd.com list URL or a boxd.it link.",
            "items": {
              "type": "string"
            }
          },
          "collections": {
            "title": "Collections",
            "type": "array",
            "description": "Collection slugs or URLs, e.g. `the-dark-knight-collection`.",
            "items": {
              "type": "string"
            }
          },
          "people": {
            "title": "People",
            "type": "array",
            "description": "Person slug, `role/slug` or person URL, e.g. `christopher-nolan` or `https://letterboxd.com/actor/scarlett-johansson/`. A bare slug picks the person's main role.",
            "items": {
              "type": "string"
            }
          },
          "films": {
            "title": "Films",
            "type": "array",
            "description": "Specific films — each one is one fully detailed row (billed at the detailed rate).",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSource": {
            "title": "Max Films per Source",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum films per keyword, browse, list, collection or person. Use it to control your cost (1,000 films ≈ $1). Ignored for specific films.",
            "default": 100
          },
          "scrapeFilmDetails": {
            "title": "Scrape Full Film Details",
            "type": "boolean",
            "description": "When enabled, every film is also scraped in full — ratings histogram, watches, likes, Top 500 rank, tagline, synopsis, cast with characters, crew by role, studios, countries, languages, releases, themes, trailer, IMDb/TMDB IDs, backdrop and similar films. Still one row per film, billed at the detailed rate (1,000 detailed films ≈ $3 vs $1 standard).",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}