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
| Name | Type | Required | Description |
|---|---|---|---|
series_id | number | ✅ | TMDB TV series identifier. |
language | Language | ❌ | Language for localized results. Defaults to en-US. |
Returns
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");