https://github.com/dedevsclub/youtube-api
Generates transcript for YouTube videos with a URL.
https://github.com/dedevsclub/youtube-api
Last synced: 10 months ago
JSON representation
Generates transcript for YouTube videos with a URL.
- Host: GitHub
- URL: https://github.com/dedevsclub/youtube-api
- Owner: DeDevsClub
- License: mit
- Created: 2025-04-12T07:13:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-12T07:31:39.000Z (about 1 year ago)
- Last Synced: 2025-08-30T00:53:18.193Z (10 months ago)
- Language: JavaScript
- Homepage: https://youtube-api-0xbuns.vercel.app
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
[](https://vercel.com/import/project?template=https://github.com/DeDevsClub/youtube-api)
1. Click the button above
2. Import into your Vercel account
3. Done!
## Local Development
`npm install && vercel dev`