youtubetranscriptapi

n8n nodes for YouTubeTranscriptAPI: get YouTube transcripts, search YouTube, list channel and playlist videos, and trigger on new uploads.

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.1
Author: YouTubeTranscriptAPI

Documentation

@veeringindia/n8n-nodes-youtubetranscriptapi

n8n nodes for YouTubeTranscriptAPI: get the transcript of any public YouTube video, search YouTube, list a channel's or playlist's videos, and start a workflow when a channel posts a new video.

It's a hosted API, so it works from n8n Cloud and from self-hosted n8n on any server, with no proxies and no YouTube blocks to work around.

Installation · Credentials · Operations · Trigger · Example workflow · Compatibility · Resources

Installation

Follow the community nodes installation guide in the n8n docs. The package name is:

@veeringindia/n8n-nodes-youtubetranscriptapi

Credentials

  1. Create a free account at youtubetranscriptapi.com. New accounts get 100 free credits, no card needed.
  2. In the dashboard, open API keys and create a key.
  3. In n8n, add a YouTubeTranscriptAPI API credential and paste the key.

n8n checks the key with a free account call, so testing the credential never uses a credit.

Operations

Credits are only charged when a call succeeds. Errors, rate limits and videos without captions are free.

Resource Operation What it returns Credits
Transcript Get The captions of a public video as plain text or JSON segments (text, start, duration), optionally with the title, channel and thumbnail 1
Search Search Videos Videos matching a keyword, one item per video 4
Search Search Channels Channels matching a keyword, one item per channel 4
Channel Get Latest Videos The 15 most recent uploads, newest first, with publish date Free*
Channel Get Videos Up to the 100 most recent uploads 20
Channel Search Videos Videos inside one channel matching a keyword 1
Channel Resolve The UC… channel ID for a @handle or channel URL Free*
Playlist Get Videos Up to 100 videos of a public playlist 20
Account Get Credits The plan and credits left on the key Free

* Free, but the account needs at least 1 credit.

Every operation can also be used as a tool by n8n's AI Agent node.

Transcript tips

  • Video takes a full URL (youtube.com, youtu.be, Shorts) or the 11-character ID.
  • Output Format defaults to plain text, which is the easiest thing to hand to an AI model. Pick JSON Segments to keep each caption with its timing.
  • Include Timestamps adds start/duration to JSON segments, or a [4.12s] marker before each line of text.
  • A video fetched for the first time usually takes 10–30 seconds; repeat requests come back in about a second.
  • A video with no captions returns 404 transcript_not_found and costs nothing. Turn on Settings → On Error → Continue if a workflow should skip those videos.

Trigger

YouTubeTranscriptAPI Trigger starts the workflow when a channel posts a new video.

  • Channel takes a @handle, a channel URL or a UC… ID.
  • It checks the channel on the Poll Times schedule you set in the node. Checking is free; the account needs at least 1 credit.
  • The first check only remembers the channel's current videos, so turning the workflow on doesn't fire for old uploads. After that, each new video is one item, oldest first, with videoId, title, url, publishedAt, description and thumbnail_url.
  • Fetch Test Event returns the channel's newest video so you can map fields in the next nodes.

To read each new video, add a YouTubeTranscriptAPI → Transcript → Get node after the trigger with Video set to {{ $json.url }}.

Example workflow

New video on a channel → transcript → summary → Slack:

  1. YouTubeTranscriptAPI Trigger: Channel @yourfavoritechannel.
  2. YouTubeTranscriptAPI: Transcript → Get, Video {{ $json.url }}, Output Format Plain Text.
  3. OpenAI (or any model node): "Summarize this video in five bullet points: {{ $json.transcript }}".
  4. Slack: post the summary with the video title and link.

That costs 1 credit per new video. More ready-made workflows (summary by email, daily digest, Google Docs draft, chat agent) are at youtubetranscriptapi.com/youtube-ai-agent/n8n-youtube-transcript.

Compatibility

Built with n8n's node CLI (n8nNodesApiVersion 1). Needs community nodes enabled on self-hosted n8n; on n8n Cloud it's available once n8n verifies the package.

Resources

This package is made by YouTubeTranscriptAPI. It isn't affiliated with or endorsed by YouTube or Google, and it's separate from the open-source youtube-transcript-api Python library.

License

MIT

Discussion