{
"success": true,
"data": {
"video_id": "jNQXAC9IVRw",
"language_code": "en",
"requested_language": "en",
"caption_type": "manual",
"title": "Me at the zoo",
"author_name": "jawed",
"author_url": "https://www.youtube.com/channel/UC4QobU6STFB0P71PVoOGeMg",
"thumbnail_url": "https://i.ytimg.com/vi/jNQXAC9IVRw/hqdefault.jpg",
"transcript": "All right, so here we are, in front of the elephants...",
"word_count": 39,
"cached": true,
"fetched_at": "2026-09-20T03:10:58.938Z"
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39036/get+a+youtube+video+transcript?v=jNQXAC9IVRw&language=en×tamps=false' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"video_id": "kJQP7kiw5Fk",
"default_language_code": "en",
"languages": [
{
"language_code": "en",
"name": "English - en",
"caption_type": "manual"
},
{
"language_code": "es",
"name": "Spanish",
"caption_type": "manual"
},
{
"language_code": "ko",
"name": "Korean (auto-generated)",
"caption_type": "auto"
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39037/list+the+caption+languages+of+a+video?v=jNQXAC9IVRw' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"query": "lofi beats",
"video_results": [
{
"title": "lofi hip hop radio - beats to relax/study to",
"videoId": "jfKfPfyJRdk",
"channel": {
"name": "Lofi Girl"
}
}
],
"continuation_token": "c_bKt9xQ2mVf7LpR0aZ3sWyA"
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39038/search+youtube+videos+or+channels?q=how to make sourdough bread' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"channel_id": "UCBJycsmduvYEL83R_U4JriQ",
"title": "Marques Brownlee",
"handle": "http://www.youtube.com/@mkbhd",
"resolved_via": "lookup"
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39039/resolve+a+channel+handle+or+url+to+a+channel+id?handle=@jawed' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"playlist_id": "PLillGF-RfqbYE6Ik_EuXA2iZFcE082B3s",
"title": "Example playlist",
"videos": [
{
"position": 1,
"id": "jNQXAC9IVRw",
"title": "Me at the zoo",
"channel": {
"name": "jawed"
}
}
],
"has_more": true,
"continuation_token": "c_DfE9mQx2Ln8TbW4kJ1pZsA"
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39040/list+every+video+in+a+playlist?list=PLillGF-RfqbYE6Ik_EuXA2iZFcE082B3s' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"channel": {
"id": "UC4QobU6STFB0P71PMvOGN5A",
"title": "jawed",
"handle": "http://www.youtube.com/@jawed",
"description": "",
"subscribers": 6740000,
"videos": 1,
"avatar": "https://yt3.googleusercontent.com/uI3VE4PVqvCy0xnWLqMJnEzyBUm3T8VHOCp4ee-1RxdHqKXCdUE_qXYQnpf9AfuEoIPactVyDhM=s900-c-k-c0x00ffffff-no-rj"
},
"videos_sections": [
{
"section_title": "Latest Videos",
"videos": [
{
"position": 1,
"id": "jNQXAC9IVRw",
"title": "Me at the zoo",
"link": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"views": 448000000,
"length": "0:19",
"published_time": "21 years ago"
}
]
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39041/get+channel+details+and+latest+uploads?channel=@jawed' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"videos": [
{
"id": "jNQXAC9IVRw",
"title": "Me at the zoo",
"length": "0:19",
"published_time": "20 years ago",
"thumbnail": "https://i.ytimg.com/vi/jNQXAC9IVRw/hqdefault.jpg"
}
],
"has_more": true,
"continuation_token": "EqAA..."
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39042/search+videos+within+one+channel?channel=@mkbhd&q=iphone' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"videos": [
{
"id": "jNQXAC9IVRw",
"title": "Me at the zoo",
"length": "0:19",
"published_time": "20 years ago",
"thumbnail": "https://i.ytimg.com/vi/jNQXAC9IVRw/hqdefault.jpg"
}
],
"has_more": true,
"continuation_token": "c_pqHR9v13sqaqxlcKhA4MnA"
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39043/list+every+video+a+channel+has+uploaded?channel=@mkbhd&tab=videos&sort=latest' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"playlists": [
{
"position": 1,
"id": "PLBsP89CPrMeNIuvr9j3_EQaMwaNJ6rhuQ",
"title": "Retro Tech S2",
"link": "https://www.youtube.com/playlist?list=PLBsP89CPrMeNIuvr9j3_EQaMwaNJ6rhuQ",
"video_count": 5
}
],
"has_more": false,
"continuation_token": null
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39044/list+the+playlists+of+a+channel?channel=@mkbhd' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"posts": [
{
"position": 1,
"id": "UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ",
"url": "https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ",
"text": "Alright, it is that time...",
"published_time": "2 years ago",
"likes": "12K",
"comments": "1K"
}
],
"has_more": true,
"continuation_token": "c_DfE9mQx2Ln8TbW4kJ1pZsA"
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39045/list+the+community+posts+of+a+channel?channel=@mkbhd' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"channel_id": "UCBJycsmduvYEL83R_U4JriQ",
"handle": "http://www.youtube.com/@mkbhd",
"title": "Marques Brownlee",
"avatar": "https://yt3.googleusercontent.com/...=s900",
"has_banner": true,
"banner": {
"original": "https://yt3.googleusercontent.com/...=s0",
"largest": "https://yt3.googleusercontent.com/...=w2560",
"sizes": [
{
"url": "https://yt3.googleusercontent.com/...=w1060",
"width": 1060,
"height": 175
}
]
}
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39046/get+the+banner+and+avatar+of+a+channel?channel=@jawed' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"video_id": "dQw4w9WgXcQ",
"related": [
{
"position": 1,
"id": "C6Vwl8bD33s",
"title": "Rick Astley - Together Forever (1 Hour)",
"channel": {
"name": "Jacob Neill"
},
"length": "1:01:35"
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39047/get+related+videos+for+a+video?v=jNQXAC9IVRw' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"data": {
"video_id": "dQw4w9WgXcQ",
"likes": 19497714,
"dislikes": 521713,
"rating": 4.9,
"view_count": 1830715799,
"deleted": false,
"estimated": true,
"source": "returnyoutubedislike.com"
}
}
curl --location --request GET 'https://zylalabs.com/api/14937/youtube+transcript+and+data+api/39048/get+estimated+likes+and+dislikes+of+a+video?v=jNQXAC9IVRw' --header 'Authorization: Bearer YOUR_API_KEY'
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 YouTube Transcript and Data API simply include your bearer token in the Authorization header.
| 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.
Get the transcript of any YouTube video in any caption language it has, with optional timestamps and translation, plus YouTube search, channel, playlist and related-video data as JSON.
Any public YouTube video that has captions, either uploaded by the creator or generated automatically by YouTube. Videos with captions turned off return an empty result.
Every caption language the video offers. Use the caption languages endpoint to see what a video has, then pass a language code. You can also machine-translate a transcript into another language with the translate parameter.
Yes. Set timestamps=true to receive one segment per caption line with its start time and duration in seconds, alongside the full text.
Shorts and finished live streams work the same way as regular videos as long as they have captions.
YouTube search results, a channel's details and latest uploads, a channel's full video list, playlists and community posts, playlist contents, suggested related videos, channel banners and estimated like and dislike counts.
Each successful call counts as one request against your plan. Failed calls, such as a video with no captions, do not count.
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.
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.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund