Supadata

Access Supadata API to fetch YouTube and web data

Overview

This node integrates with the Supadata API to fetch various types of YouTube data, including video details, channel information, playlists, and transcripts. Specifically, for the Get Transcript operation, it retrieves the transcript of a specified YouTube video either as structured data or plain text.

Common scenarios where this node is beneficial include:

  • Extracting subtitles or captions from YouTube videos for content analysis.
  • Creating searchable text databases from video transcripts.
  • Automating content summarization or translation workflows.
  • Archiving video dialogue for compliance or documentation purposes.

For example, you can input a YouTube video URL or ID and get back the full transcript in plain text to feed into a text analytics tool.

Properties

Name Meaning
Video The ID or URL of the YouTube video from which to retrieve the transcript.
Return as Plain Text Whether to return the transcript as plain text (true) or as structured data (false).

Output

The output is a JSON array representing the transcript data retrieved from the YouTube video.

  • If Return as Plain Text is set to false (default), the output contains structured transcript data, likely including timestamps and text segments.
  • If Return as Plain Text is set to true, the output is a plain text string containing the entire transcript concatenated.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Supadata API service.
  • An API key credential for authenticating requests to Supadata must be configured in n8n.
  • Internet access to reach YouTube and Supadata endpoints.

Troubleshooting

  • Invalid Video ID or URL: Ensure the video identifier or URL is correct and publicly accessible. Private or removed videos will cause errors.
  • API Authentication Errors: Verify that the API key credential is correctly set up and has permissions to access YouTube data via Supadata.
  • Transcript Not Available: Some videos may not have transcripts available; the node might return empty results or an error.
  • Rate Limits: Excessive requests may trigger rate limiting on the Supadata API; consider adding delays or reducing request frequency.

Links and References

Discussion