YouTube transcript API for Node.js and JavaScript
John
Call a hosted YouTube transcript API from Node.js without a brittle library. Returns non_timestamped, timestamped, and language_code per URL.
Input
Output fields
Sign up on Apify or log in
The YouTube Transcript & Subtitles Scraper API Actor is ready to run with the inputs already set for "YouTube transcript API for Node.js and JavaScript". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "YouTube transcript API for Node.js and JavaScript" task
The YouTube Transcript & Subtitles Scraper API Actor will start running based on the input automatically. You can also change all the input fields, like youtube url(s) and preferred languages, to match your specific use case.
Receive the "YouTube transcript API for Node.js and JavaScript" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as thumbnail, title, channel, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "YouTube transcript API for Node.js and JavaScript" task via API.

Integrate "YouTube transcript API for Node.js and JavaScript" into your workflow
Connect "YouTube transcript API for Node.js and JavaScript" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
An array of objects, one per URL, with non_timestamped, timestamped, language_code, title, channel_name, view_count and success. The apify-client npm package resolves them as plain objects; the same dataset exports as CSV or Excel from the Console.
An object with youtube_url, such as https://www.youtube.com/watch?v=dQw4w9WgXcQ, and languages set to en. Pass an array in youtube_url for a batch of up to 100. Fetching happens inside the Actor on Apify, so no library or proxy sits in your project.
With apify-client in Python or Node, call the task with an object with youtube_url and languages, then iterate the dataset items as JSON. The REST endpoint works from curl as well. npm install apify-client and the call is a dozen lines.
In the Console open the task, pick Actions, then Schedule, and set 0 */6 * * * to run every six hours. A Node webhook handler can pick up each finished dataset. Zapier, Make or a webhook push each finished dataset onward.
Register https://mcp.apify.com/?tools=actors,docs,johnvc/youtubetranscripts in Claude or any other MCP client. The agent can then call this task to pull a transcript for a URL and gets text, timestamps and channel_name.
YouTube transcript API for Node.js and JavaScript bills one videoprocessed event per video that returns a transcript; no subscription, no proxy fee. Empty or failed videos are free in a Node run too. Rates are on the Actor page.
YouTube transcript API in Python without IP blocks is the same input and the same rows, called from Python. The Node page exists so JavaScript developers see apify-client in their own syntax. Both replace a brittle local library with a hosted call.