🍿 @lorenzopant/tmdb

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

NameTypeRequiredDescription
keyword_idnumberTMDB keyword identifier.
languageLanguageLanguage for localized movie results.
pagenumberPage number for paginated results.
include_adultbooleanInclude 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);

Types

On this page