🍿 @lorenzopant/tmdb

Aggregate Credits

Get the full cast and crew across all seasons and episodes of a TV show.

Get the aggregate credits (cast and crew) for a TV show across all seasons and episodes. This is the same view shown on the TMDB website, as opposed to credits() which only returns the latest season data.

async aggregate_credits(params: TVAggregateCreditsParams): Promise<TVAggregateCredits>

TMDB Reference: TV Series Aggregate Credits

Parameters

NameTypeRequiredDescription
series_idnumberTMDB TV series identifier.
languageLanguageLanguage for localized results. Defaults to en-US.

Returns

TVAggregateCredits

Example

const { cast, crew } = await tmdb.tvSeries.aggregate_credits({ series_id: 1396 });

const mainCast = cast.filter((m) => m.total_episode_count > 10);
const directors = crew.filter((m) => m.department === "Directing");

On this page