Skip to content

DeDevsClub/youtube-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Transcript API

A simple serverless API to fetch YouTube video transcripts, deployable on Vercel.

Usage

Request

GET /api/transcript?videoUrl=https://www.youtube.com/watch?v=dQw4w9WgXcQ

Response

{ "videoId": "dQw4w9WgXcQ", "transcript": [ { "text": "Hello world", "start": 0.0, "duration": 4.2 }, ... ] }

Deployment

Deploy to Vercel

  1. Click the button above
  2. Import into your Vercel account
  3. Done!

Local Development

npm install && vercel dev

About

Generates transcript for YouTube videos with a URL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published