@toolpal/youtube-transcript
publicv2.0published 1 download this weekMIT
Fetches the transcript, timestamped segments, chapters, and video metadata (title, channel, duration, publish date, available languages) from a public YouTube URL or video ID, and saves the transcript as a .txt, .md, .srt, or .vtt file. No API key needed.
You're viewing 1.0, an older version
The latest is 2.0.
{
"manifestVersion": 1,
"name": "@toolpal/youtube-transcript",
"version": "1.0",
"description": "Fetches the transcript, timestamped segments, chapters, and video metadata (title, channel, duration, publish date, available languages) from a public YouTube URL or video ID, and saves the transcript as a .txt, .md, .srt, or .vtt file. No API key needed.",
"license": "MIT",
"keywords": [
"youtube",
"transcript",
"captions",
"subtitles",
"video",
"research"
],
"entry": "dist/tool.mjs",
"sdk": "0.1.0",
"engines": {
"node": ">=22.15.0"
},
"inputSchema": {
"type": "object",
"required": [
"video"
],
"properties": {
"video": {
"type": "string",
"minLength": 11,
"maxLength": 300,
"description": "YouTube URL (watch, youtu.be, shorts, live, embed) or 11-character video ID"
},
"language": {
"type": "string",
"maxLength": 16,
"description": "Preferred caption language code, e.g. \"en\", \"es\", \"hi\"; defaults to English or first available"
},
"translateTo": {
"type": "string",
"maxLength": 16,
"description": "Optional target language code for YouTube auto-translation, e.g. \"en\", \"fr\""
},
"format": {
"anyOf": [
{
"type": "string",
"const": "text"
},
{
"type": "string",
"const": "timestamped"
},
{
"type": "string",
"const": "markdown"
},
{
"type": "string",
"const": "srt"
},
{
"type": "string",
"const": "vtt"
}
],
"description": "Output file format; timestamped by default"
},
"includeSegments": {
"type": "boolean",
"description": "Include the per-line timestamped segments array in JSON output; default true"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"videoId",
"url",
"title",
"channel",
"durationSeconds",
"language",
"isAutoGenerated",
"availableLanguages",
"chapters",
"wordCount",
"transcript",
"file"
],
"properties": {
"videoId": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
},
"channel": {
"type": "string"
},
"durationSeconds": {
"type": "integer"
},
"publishDate": {
"type": "string"
},
"language": {
"type": "string"
},
"isAutoGenerated": {
"type": "boolean"
},
"availableLanguages": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"name",
"isAutoGenerated"
],
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"isAutoGenerated": {
"type": "boolean"
}
}
}
},
"chapters": {
"type": "array",
"items": {
"type": "object",
"required": [
"start",
"timestamp",
"title"
],
"properties": {
"start": {
"type": "integer"
},
"timestamp": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
},
"wordCount": {
"type": "integer"
},
"transcript": {
"type": "string",
"description": "Full plain-text transcript"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"start",
"duration",
"text"
],
"properties": {
"start": {
"type": "number"
},
"duration": {
"type": "number"
},
"text": {
"type": "string"
}
}
}
},
"file": {
"type": "string",
"description": "Saved transcript file (.txt, .md, .srt, or .vtt)",
"x-toolpal-file": true
}
}
},
"permissions": {
"net": true,
"env": [],
"tmp": true
},
"limits": {
"timeoutMs": 30000,
"memoryMb": 128
},
"build": {
"toolpal": "0.1.0",
"esbuild": "0.28.2",
"options": "sha256-tMpkndD8HsDUvZadrPbEAMGGIGK7nvmTGxMMlUxy9Fo="
}
}