To use this endpoint, send the videoId parameter in a GET request to get the text transcript of the corresponding YouTube video.
Get Video Transcript - Endpoint Features
| Object | Description |
|---|---|
videoId |
[Required] |
{"success":true,"transcript":[{"text":"we will be visiting japan for friendly","duration":"4.96","offset":"5.76","lang":"en"},{"text":"game this july be sure to come and watch","duration":"4.48","offset":"8.00","lang":"en"},{"text":"us at the stadium we look forward to","duration":"3.28","offset":"10.72","lang":"en"},{"text":"seeing you all","duration":"5.12","offset":"12.48","lang":"en"},{"text":"hola neymar junior desu nihon de aimasho","duration":"6.56","offset":"14.00","lang":"en"},{"text":"to the japanese fans thank you for your","duration":"6.08","offset":"17.60","lang":"en"},{"text":"support always japan is one of my","duration":"6.16","offset":"20.56","lang":"en"},{"text":"favorite countries that always give me a","duration":"6.52","offset":"23.68","lang":"en"},{"text":"war welcome","duration":"3.48","offset":"26.72","lang":"en"},{"text":"foreign","duration":"2.08","offset":"37.52","lang":"en"}]}
curl --location --request GET 'https://zylalabs.com/api/5216/youtube+sub+extractor+api/6681/get+video+transcript?videoId=SZm2p24F1rY' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Send the videoId in the GET request to retrieve the transcript of the YouTube video. Optionally, select the language of the transcript.
The YouTube Sub Extractor API allows retrieving text transcripts from YouTube videos using the videoId, improving accessibility and user experience.
Receives: videoId (required) Provides: A transcript in JSON format with the video dialogues.
Retrieve text subtitles to improve video accessibility. Create content analysis tools based on video transcripts. Provide transcripts in multiple languages for a global audience.
Beside the number of API calls per month allowed, there are no other limitations.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.
The API returns multilingual transcripts of YouTube videos, structured in JSON format. Each transcript includes segments of dialogue along with their duration, offset, and language.
The key fields in the response include "success" (boolean), "transcript" (array of dialogue objects), each containing "text" (dialogue text), "duration" (time length of the segment), "offset" (start time of the segment), and "lang" (language code).
The response data is organized as a JSON object. The "success" field indicates the request status, while the "transcript" field contains an array of dialogue objects, each detailing the text, duration, offset, and language.
The primary parameter is "videoId" (required) to specify the YouTube video. Optionally, users can specify a "language" parameter to retrieve the transcript in a desired language.
Users can customize requests by providing the "videoId" for the specific video they want to analyze and optionally specifying the "language" parameter to receive transcripts in their preferred language.
The endpoint provides detailed transcripts of video dialogues, including the text of each dialogue segment, its duration, the time offset from the start of the video, and the language of the transcript.
Data accuracy is maintained by directly extracting transcripts from YouTube's closed captioning system, ensuring that the returned text closely matches the spoken content in the video.
Typical use cases include enhancing video accessibility for hearing-impaired users, creating educational tools that utilize video content, and performing content analysis for research or marketing purposes.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
699ms
Service Level:
93%
Response Time:
4,317ms
Service Level:
100%
Response Time:
369ms
Service Level:
100%
Response Time:
3,591ms
Service Level:
100%
Response Time:
576ms
Service Level:
100%
Response Time:
826ms
Service Level:
100%
Response Time:
1,613ms
Service Level:
99%
Response Time:
1,893ms
Service Level:
100%
Response Time:
38ms
Service Level:
100%
Response Time:
1,647ms
Service Level:
100%
Response Time:
525ms
Service Level:
100%
Response Time:
760ms
Service Level:
100%
Response Time:
300ms
Service Level:
100%
Response Time:
375ms
Service Level:
100%
Response Time:
1,007ms
Service Level:
100%
Response Time:
6,031ms
Service Level:
100%
Response Time:
500ms
Service Level:
100%
Response Time:
4,724ms
Service Level:
100%
Response Time:
420ms
Service Level:
100%
Response Time:
2,287ms