Movies
Query the movies associated with a specific keyword.
Deprecated by TMDB. Use discover.movie() with the with_keywords instead.
async movies(params: KeywordMoviesParams): Promise<PaginatedResponse<MovieResultItem>>TMDB Reference: Keyword Movies
Notes
- TMDB marks this endpoint as deprecated.
- The SDK still exposes it for parity with the current TMDB API surface.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyword_id | number | ✅ | TMDB keyword identifier. |
language | Language | ❌ | Language for localized movie results. |
page | number | ❌ | Page number for paginated results. |
include_adult | boolean | ❌ | Include adult titles in results. |
Returns
A PaginatedResponse<MovieResultItem> containing the movies associated with the specified keyword.
Example
const movies = await tmdb.keywords.movies({ keyword_id: 4379 });
console.log(movies.results[0]?.title);