Video Dialogue API

API ID 5219

The Video Dialogue API provides transcripts of YouTube videos in multiple languages, improving accessibility with structured JSON responses and easy integration for users.

99% uptime 1,387 ms avg response

API Documentation

Endpoints

Request

To use this endpoint, send the videoId parameter in a GET request to get the text transcript of the corresponding YouTube video.

Endpoint ID: 6686
GET https://zylalabs.com/api/5219/video+dialogue+api/6686/get+video+transcript
INPUT PARAMETERS

Get Video Transcript — Endpoint Features

Object Description
videoId Required

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

videoId
API EXAMPLE RESPONSE
JSON
{"success":true,"transcript":[{"text":"what is AI","duration":5.279,"offset":0.48,"lang":"en"},{"text":"AI stands for artificial intelligence","duration":5.281,"offset":2.879,"lang":"en"},{"text":"and it's a way for computers to learn","duration":4.8,"offset":5.759,"lang":"en"},{"text":"and work kind of like us","duration":5.7,"offset":8.16,"lang":"en"},{"text":"you can think of AI as a brain for a","duration":4.801,"offset":10.559,"lang":"en"},{"text":"computer","duration":3.839,"offset":13.86,"lang":"en"},{"text":"similar to how we use our brains to","duration":5.22,"offset":15.36,"lang":"en"},{"text":"learn and make decisions AI uses special","duration":7.201,"offset":17.699,"lang":"en"},{"text":"computer programs to do the same thing","duration":7.38,"offset":20.58,"lang":"en"},{"text":"with AI computers can help us with the","duration":4.68,"offset":24.9,"lang":"en"},{"text":"stuff that would be really hard for","duration":3.54,"offset":27.96,"lang":"en"},{"text":"people to do on their own","duration":4.58,"offset":29.58,"lang":"en"},{"text":"they can help doctors diagnose diseases","duration":5.34,"offset":31.5,"lang":"en"},{"text":"allow us to predict the weather more","duration":3.82,"offset":34.16,"lang":"en"},{"text":"accurately","duration":3.899,"offset":36.84,"lang":"en"},{"text":"and even play video games","duration":6.06,"offset":37.98,"lang":"en"},{"text":"it works by using software","duration":6.421,"offset":40.739,"lang":"en"},{"text":"to look at lots of information and find","duration":5.76,"offset":44.04,"lang":"en"},{"text":"patterns just like how you can tell the","duration":5.16,"offset":47.16,"lang":"en"},{"text":"difference between a dog and a cat AI","duration":5.399,"offset":49.8,"lang":"en"},{"text":"can learn to recognize things too","duration":6.02,"offset":52.32,"lang":"en"},{"text":"there are three main types of AI","duration":4.7,"offset":55.199,"lang":"en"},{"text":"supervised","duration":5.62,"offset":58.34,"lang":"en"},{"text":"unsupervised and reinforcement learning","duration":6.641,"offset":59.899,"lang":"en"},{"text":"each type learns in its own special way","duration":5.339,"offset":63.96,"lang":"en"},{"text":"but they all use lots of data to get","duration":4.38,"offset":66.54,"lang":"en"},{"text":"better at what they do","duration":4.381,"offset":69.299,"lang":"en"},{"text":"AI is important because it helps us do","duration":5.58,"offset":70.92,"lang":"en"},{"text":"things faster more accurately and","duration":4.5,"offset":73.68,"lang":"en"},{"text":"sometimes even better than we could on","duration":2.939,"offset":76.5,"lang":"en"},{"text":"our own","duration":3.84,"offset":78.18,"lang":"en"},{"text":"plus it can help us solve really complex","duration":4.86,"offset":79.439,"lang":"en"},{"text":"problems that we might not be able to","duration":4.139,"offset":82.02,"lang":"en"},{"text":"figure out by ourselves","duration":4.441,"offset":84.299,"lang":"en"},{"text":"with AI the possibilities are endless","duration":5.28,"offset":86.159,"lang":"en"},{"text":"from self-driving cars to personal","duration":5.58,"offset":88.74,"lang":"en"},{"text":"assistance AI is changing the way we","duration":4.86,"offset":91.439,"lang":"en"},{"text":"live and work","duration":4.5,"offset":94.32,"lang":"en"},{"text":"so the next time you hear about AI just","duration":4.5,"offset":96.299,"lang":"en"},{"text":"remember that it's like a smart brain","duration":4.92,"offset":98.82,"lang":"en"},{"text":"for computers helping us to solve big","duration":5.701,"offset":100.799,"lang":"en"},{"text":"problems and do things we never thought","duration":4.199,"offset":103.74,"lang":"en"},{"text":"possible","duration":4.74,"offset":106.5,"lang":"en"},{"text":"to learn more about AI check out our","duration":6.96,"offset":107.939,"lang":"en"},{"text":"website at gcfglobal.org","duration":3.659,"offset":111.24,"lang":"en"},{"text":"GCF global creating opportunities for a","duration":5.101,"offset":117.899,"lang":"en"},{"text":"better life","duration":3.619,"offset":121.5,"lang":"en"},{"text":"thank you","duration":2.119,"offset":123,"lang":"en"}]}
Get Video Transcript — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5219/video+dialogue+api/6686/get+video+transcript?videoId=ZacjOVVgoLY' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Video Dialogue API simply include your bearer token in the Authorization header.

Headers
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.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

About the API: 

The Video Dialogue API  allows users to access YouTube video transcripts with a simple query. This API is ideal for improving the accessibility of video content, allowing users to obtain text representation of dialogs in multiple languages. The API provides multilingual support, making it easy to retrieve transcripts in languages such as English, Chinese and Korean. Integration is easy through a single endpoint, where you can submit the video ID to get the corresponding transcript. If you prefer, you can also specify the language of the transcript you want to retrieve.

With this API, responses are structured in JSON format, making it easy to integrate into applications and platforms. In addition, to optimize performance, a rate limiter is included to efficiently manage requests and ensure compliance with the limits imposed by YouTube.

Whether you are developing an educational platform, a content analysis tool or simply looking to improve accessibility for hearing impaired users, this API provides an effective and reliable solution for accessing YouTube video transcripts.

Video Dialogue API FAQs

Send the videoId in the GET request to retrieve the transcript of the YouTube video. Optionally, select the language of the transcript.

The Video Dialogue 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 transcripts of YouTube videos, structured in JSON format. Each transcript includes segments of dialogue, their duration, offset, and language.

The key fields in the response include "success" (boolean), "transcript" (array of dialogue objects), and within each dialogue object, "text" (dialogue text), "duration" (time in seconds), "offset" (start time), and "lang" (language code).

The response 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 endpoint provides the full text of video dialogues, their timing (duration and offset), and the language of each segment, enabling users to analyze or display video content effectively.

Users can customize requests by specifying the "videoId" to retrieve transcripts for specific videos and optionally selecting the desired language for the transcript.

The data is sourced directly from YouTube's video content, leveraging YouTube's existing transcript capabilities to ensure accuracy and relevance.

Data accuracy is maintained by utilizing YouTube's official transcripts, which are generated through automated speech recognition and user contributions, ensuring high-quality text representation.

Typical use cases include enhancing accessibility for hearing-impaired users, creating educational tools, and performing content analysis for research or marketing purposes.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs