get_youtube_video_subtitles
Retrieve subtitles for one YouTube video.
Scope: one query per call. To run many queries in one pass, or to write
results to disk instead of into the conversation, use the ScrapingBee CLI —
scrapingbee <command> --input-file queries.txt --output-dir results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Response-header label only. | |
| language | No | Language code (e.g., 'en', 'es', 'fr'). Default is 'en'. | en |
| video_id | Yes | The unique YouTube video ID. | |
| subtitle_origin | No | 'auto_generated' (default) or 'uploader_provided'. | auto_generated |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||