Get TV
AI-generatedOverview
The node interacts with The Movie Database (TMDb) API to retrieve detailed information about TV shows, movies, collections, companies, and persons. Specifically, the "Get TV" operation fetches detailed data about a particular TV show by its ID. This node is useful for workflows that require enriching data with media metadata, such as building entertainment apps, content aggregators, or analytics dashboards.
For example, you can use this node to:
- Retrieve detailed information about a TV show including its title, overview, genres, seasons, and episodes.
- Append additional related data to the response dynamically.
- Integrate TMDb data into your content management system or recommendation engine.
Properties
| Name | Meaning |
|---|---|
| Language | The language code (e.g., "en") to localize the returned data. |
| TV ID | The unique identifier of the TV show to retrieve. |
| Append to Response | Additional comma-separated fields to append to the API response for extended details. |
Note: The above properties are specific to the "Get TV" operation.
Output
The output JSON contains the detailed information about the requested TV show as returned by the TMDb API. This typically includes fields such as:
id: The TV show's unique identifier.name: The name/title of the TV show.overview: A summary description.genres: An array of genre objects.seasons: Details about each season.episodes: Information about episodes if included.- Other metadata like popularity, status, first air date, etc.
If the "Append to Response" property is used, additional related data (such as credits, images, videos) may be included in the output JSON.
The node does not output binary data.
Dependencies
- Requires an active TMDb API key credential configured in n8n.
- Uses TMDb REST API endpoints internally via helper functions imported from bundled dependencies.
- No other external services or environment variables are required.
Troubleshooting
Common issues:
- Invalid or missing TV ID will cause the API call to fail.
- Incorrect or expired API key will result in authentication errors.
- Network connectivity problems can cause request timeouts or failures.
- Using unsupported or malformed values in "Append to Response" may lead to incomplete or error responses.
Error messages:
- Authentication errors indicate issues with the API key; verify and update credentials.
- "Not Found" errors usually mean the TV ID does not exist; double-check the ID.
- Rate limit errors suggest too many requests; consider adding delays or upgrading API plan.