Products/YouTube/YouTube Transcript/Integration

YouTube Transcript Integration

YouTube transcript API for n8n

A self-hosted n8n instance usually runs on a cloud server, and that is exactly the kind of IP address that YouTube blocks hardest on transcript requests. The most downloaded community node for this job, n8n-nodes-youtube-transcript, scrapes directly from wherever n8n runs, so it inherits that same block. Routing the request through an API that already handles residential proxy rotation sidesteps the problem.

2 USD / 1,000 transcripts, pay as you go, with no monthly fee and no charge for a NO_TRANSCRIPT or other error row.

Copy-paste example

Copy-paste example
{
  "method": "GET",
  "url": "https://api.vakitek.co.uk/v1/youtube/transcript",
  "qs": { "video": "={ $json.videoId }", "format": "json" },
  "headers": { "X-API-Key": "={ $credentials.vakitekApi.apiKey }" }
}

Step by step

  1. Create a credential. In n8n, add a Header Auth credential (or a generic credential) named vakitekApi holding your API key from the Vakitek dashboard.
  2. Add the HTTP Request node. Set the method to GET, the URL to https://api.vakitek.co.uk/v1/youtube/transcript, and attach the credential so X-API-Key is sent automatically.
  3. Map the video id. Set the video query parameter to an expression pulling the video id or URL from an earlier node, such as a Google Sheets row or an RSS trigger.
  4. Read the response. The node returns a JSON envelope: data is an array with one item carrying text (the full transcript) and, for JSON format, a transcript array of timed segments.
  5. Batch it. For more than one video per run, switch the node to POST the same URL with a JSON body of a videos list and a format field, up to 25 video ids or URLs in one call.

Your options compared

OptionTrade-offs
Vakitek HTTP Request node (this guide)No dedicated n8n node exists yet, so this is one HTTP Request node pointed at a residential-proxy-backed API, which works on a cloud-hosted n8n instance without a community node's IP exposure.
Free community node (n8n-nodes-youtube-transcript)18,675 downloads a month on npm, well ahead of paid vendor nodes, but it scrapes directly from n8n's own host, so a cloud-hosted instance inherits the same IP blocks the research reviewed documents.
Paid vendor nodes (n8n-nodes-transcriptapi, n8n-nodes-supadata)602 and 455 downloads a month respectively; each wires you into that vendor's own pricing and schema instead of Vakitek's.

Troubleshooting

SymptomCauseFix
The HTTP Request node returns 401.The X-API-Key header is missing, holds an unknown key, or the key was revoked.Check the vakitekApi credential's value against the key shown in the Vakitek dashboard. A missing, unknown or revoked key all return the same 401 UNAUTHORIZED body.
The node returns 200 but the workflow treats it as a failure.The video has no captions, is private, or another typed error applies.Branch on the item's error field (for example NO_TRANSCRIPT, PRIVATE or BLOCKED) with an IF node instead of relying on the HTTP status code.
A POST with more than 25 videos fails.The batch endpoint caps a single request at 25 videos.The API returns a 422 response with error INVALID_INPUT and max 25. Split the batch into chunks of 25 or fewer with a Split In Batches node upstream.
Requests start failing with 429.The per-key rate limit, 120 requests per minute by default, was exceeded.Add a Wait node or slow the trigger's polling interval, then retry. 429 responses carry error RATE_LIMITED.

Questions

Why not just use the free community node?

n8n-nodes-youtube-transcript is free and has 18,675 downloads a month on npm, well ahead of paid vendor nodes, but it scrapes from your own n8n host's IP. On a cloud-hosted instance that is the same IP range YouTube blocks most aggressively.

What does a failed lookup look like in the workflow?

The HTTP Request node still returns a 200 response with one item in data carrying an error code such as NO_TRANSCRIPT instead of a transcript. Branch on that field with an IF node rather than relying on the HTTP status code.

Is there a native n8n node for the Vakitek API?

Not yet. Use the HTTP Request node with your API key until a dedicated node ships.