Black Friday · 30% off

Get 30% off

Official Node.js SDK

YouTube transcripts in Node.js

The @tubeagentkit/getyoutubetranscript package is a typed client for the REST API. It works the same on a laptop, a VPS, a serverless function or a CI job, since transcripts are fetched on the API's servers rather than yours.

Set it up

  1. 1

    Install

    With npm (ESM and CommonJS builds included):

    npm install @tubeagentkit/getyoutubetranscript
  2. 2

    Get an API key

    Sign in at getyoutubetranscript.com and create a key on the developers page (100 free credits, no card). Keys start with sk_live_.

Get a transcript

import { GetYouTubeTranscript } from "@tubeagentkit/getyoutubetranscript";

const client = new GetYouTubeTranscript({ apiKey: process.env.GYT_API_KEY! });

const { title, transcript, word_count } = await client.getTranscript({
  v: "https://www.youtube.com/watch?v=jNQXAC9IVRw",
});

console.log(title, word_count, transcript.slice(0, 200));

What you can do

  • Pass timestamps: true to get a segments array with start and duration per caption line.
  • Search YouTube and list channel or playlist videos with continuation tokens.
  • Use it from API routes and cron jobs without proxies.

Links

Questions about Node.js

Is it typed?

Yes. The package ships TypeScript declarations for every method and response.

What does it cost?

Each transcript, search or channel page uses one credit from your account, and failed requests are not charged. New accounts get 100 free credits, no card, and paid plans add more credits each month.

Use it in your other tools

All integrations

Listed on Tool IndexFeatured on aitoolfame.comFeatured on AI JetFeatured on AlternFeatured on the Postmake directoryFeatured on SemiLaunchFeatured on Toolso.AIAiToolGoFeatured on Aura++Featured on DeepLaunch.ioFeatured on Dofollow.ToolsFeatured on EasyDoFollowFeatured on EarlyHuntFeatured on Findly.toolsFeatured on FoundrListGood AI ToolsFeatured on IndieHuntFeatured on LaunchBuffFeatured on launched.toolsFeatured on Launch Llama ToolsFeatured on LemonLaunchLiftOff launch badgeMy Launch StashGetYouTubeTranscript on Nick LaunchesOpenHunts Club MemberFeatured on saasfame.comShinyLaunchFeatured on ShowMeBestAIFeatured on toolfame.comListed on Turbo0Featured on Twelve ToolsHuzzler Embed BadgeFeatured on CodeHypeGetYouTubeTranscript on Better LaunchDokeyAIFeatured on WayfindioFeatured on LaunchZoneFeatured on NoonlaunchFeatured on WhatsthebigdataSurfaced on CodeTrendyFeatured on ScrollLaunchFeatured on ufind.bestFeatured on ShipBoostProduct WingWe Like ToolsAppa ListAcid ToolsPower Up ToolsToshi ListAIGC 160Appsy ToolsHunt for ToolsBeam ToolsTool Find DirTool SignalSaaS Tools DirSoftware BoltProduct List DirStack DirectorySaaS FieldSaaS WheelSaaS RootsStartup BenchmarksUnite ListTrustinerBest Tool VaultSolver ToolsAsh ListSmart Kit HubAI X CollectionAI Tech ViralMillion Dot HomepageThat App ShowLaunch ScrollMy Start ToolsLatest AI UpdatesSuper AI BoomTools Under RadarThe Key ToolsTool JourneyTools List HQThe App ToolsThe Mega ToolsSource DirTool CosmosTop Trend ToolsTiny Tool HubTool PrismStartup AIdeasFeatured on WonderLaunchFeatured on ShipycornFeatured on ToolsClawListed on ProofStoriesFeatured on ToolListedLaunched on Launch StreakIndieMarkdownsFeatured on Neura MarketFeatured on BoworaFeatured on SaaSCityLaunchClashFeatured on Next LaunchFeatured on Launch VaultAI Toolz DirFeatured on SumoDirFeatured on ToolDirsShowMySitesLaunched on MarketingDBFeatured on ShowMeBestAIFeatured on SaaS CubesFeatured on NewTool.siteListed on ToolRainFeatured on AILaunchSpaceFeatured on DanielLaunchesFeatured on Web ReviewFeatured on ToolfioFeatured on IndieLaunchListed on AgentLockerFeatured on Supa LaunchFeatured on Find Top ToolsFeatured on Submit Your AI ToolFeatured on LaunchKiwiFeatured on AI Tool DiscoveryAI ToolzSniffed by PeerBearFeatured on ShipThingFeatured on Spot StartupsFeatured on ToolDisk.comFeatured on AgentWork.ToolsAiTop10 ToolsFeatured on BestskyToolsFeatured on DodoDirectoryFeatured on The One StartupWhat Is Ai ToolsListed on JustSimple Tools