YouTube Video Subtitles Scraper API
Returns the downloadable subtitle/caption track files for a YouTube video: each with a language code and name, format, and a direct download url. Includes both manual and auto-generated tracks across available subtitle formats (srt, vtt, ttml, …).
GET /api/v1/data/youtube/video-subtitles · 1 credit per call · Every call fetches the data afresh.
Inputs
url(required): Full URL of the YouTube video.format: Subtitle file format filter (e.g. srt, vtt, ttml, json3, srv1).
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.items[].format(string): The subtitle file format, such as `srt`, `vtt` or `ttml`.items[].languageCode(string): The language code, such as `en`.items[].languageName(string): The language's name, such as `English`.items[].url(string): A direct link to the subtitle file.source_data(object): Everything the platform sent for this call, as it came.
Good to know
- Each call costs 1 credit. A call that finds nothing, or fails, is free.
- Every call fetches the data afresh.
Example call
GET /api/v1/data/youtube/video-subtitles?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ
Questions
How much does the YouTube Video Subtitles API cost?
Each call costs 1 credit. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send url. 1 more input is optional: format. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How fresh is the data?
Every call fetches the data afresh.
Do I need a YouTube account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
Related YouTube endpoints
- Video: Get YouTube video details. 1 credit a call
- Video Audio: Get a YouTube video's audio file streams. 5 credits a call
- Video Comment Replies: List YouTube comment replies. 1 credit a page
- Video Files: Get a YouTube video's video file streams. 5 credits a call
- Video Related: Get videos related to a YouTube video. 1 credit a call
- Video Sponsors: Detect sponsors of a YouTube video. 10 credits a call
- Video Thumbnails: Get a YouTube video's thumbnail files. 1 credit a call
- Video Transcript: Get YouTube video transcript. 3 credits a call
More YouTube scraper APIs
- YouTube Channel Scraper API
- YouTube Channel About Scraper API
- YouTube Channel Community Posts Scraper API
- YouTube Channel Lives Scraper API
- YouTube Channel Playlists Scraper API
- YouTube Channel Shorts Scraper API
- YouTube Channel Videos Scraper API
- YouTube Channels Scraper API
- YouTube Community Post Scraper API
- YouTube Playlist Scraper API
- YouTube Playlist Items Scraper API
- YouTube Profile Full Scraper API
- YouTube Search Scraper API
- YouTube Search Hashtag Scraper API
- YouTube Search Suggestions Scraper API
- YouTube Shorts Trending Scraper API
- YouTube Video Scraper API
- YouTube Video Audio Scraper API
- YouTube Video Comment Replies Scraper API
- YouTube Video Files Scraper API
- YouTube Video Related Scraper API
- YouTube Video Sponsors Scraper API
- YouTube Video Thumbnails Scraper API
- YouTube Video Transcript Scraper API
- YouTube Videos Scraper API
- YouTube Videos Trending Scraper API