YouTube Shorts API

API ID 14704

Find the best Shorts/Reels/TikTok moments in any long YouTube video (timestamps, hook, virality score, title, hashtags, SRT) and get captions of any Short as SRT/VTT/text.

10,313 ms avg response

API Documentation

Endpoints

Request
YouTube Shorts Transcript Scraper - SRT, VTT, Hooks, Bulk. Returns up to 100 results per request as JSON.
Endpoint ID: 38022
GET https://zylalabs.com/api/14704/youtube+shorts+api/38022/youtube+shorts+transcript+scraper
INPUT PARAMETERS

YouTube Shorts Transcript Scraper — Endpoint Features

Object Description
shortsUrls Optional Shorts URLs or IDs, or channel URLs / @handles (their newest Shorts are used). Several values: comma separated.
maxShortsPerChannel Optional How many of the newest Shorts to take from each channel.
languages Optional Preferred caption languages, e.g. en, es. Falls back to any language. Several values: comma separated.
translateTo Optional Language code to translate captions into using YouTube translation, e.g. en.
hashtags Optional Your hashtags added to every suggested caption.
maxItems Optional Hard limit on saved results (and cost).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

shortsUrls
maxShortsPerChannel
languages
translateTo
hashtags
maxItems
API EXAMPLE RESPONSE
JSON
{
    "count": 5,
    "items": [
        {
            "videoId": "ZVGS33A0nK0",
            "url": "https://www.youtube.com/shorts/ZVGS33A0nK0",
            "title": "Authoritarianism isn’t winning, democracy is failing, says Sally Kohn #TEDTalks",
            "channelName": "TED",
            "channelUrl": "https://www.youtube.com/channel/UCAuUUnT6oDeKwE6v1NGQxug",
            "language": "English (auto-generated)",
            "languageCode": "en",
            "isAutoGenerated": true,
            "text": "The top 1% of Americans control as much wealth as the entire bottom 90% of the country combined. And according to one source, CEOs now make 281 times more than average workers. 281",
            "srt": "1\n00:00:00,000 --> 00:00:07,680\nThe top 1% of Americans control as much\n\n2\n00:00:04,040 --> 00:00:13,320\nwealth as the entire\n\n3\n00:00:07,680 --> 00:00:16,640\nbottom 90% of the cou",
            "vtt": "WEBVTT\n\n00:00:00.000 --> 00:00:07.680\nThe top 1% of Americans control as much\n\n00:00:04.040 --> 00:00:13.320\nwealth as the entire\n\n00:00:07.680 --> 00:00:16.640\nbottom 90% of the c",
            "sentences": [
                {
                    "start": 0,
                    "text": "The top 1% of Americans control as much wealth as the entire bottom 90% of the country combined."
                },
                {
                    "start": 13.32,
                    "text": "And according to one source, CEOs now make 281 times more than average workers."
                },
                {
                    "start": 24.36,
                    "text": "281 times more?"
                }
            ],
            "wordCount": 250,
            "durationSeconds": 144.3,
            "wordsPerSecond": 1.73,
            "hook": "The top 1% of Americans control as much wealth as the entire bottom 90% of the country combined.",
            "suggestedCaption": "Authoritarianism isn’t winning, democracy is failing, says Sally Kohn #TEDTalks\n\n#democracy #times #means #something #country #equal",
            "suggestedHashtags": [
                "#democracy",
                "#times",
                "#means"
            ],
            "scrapedAt": "2026-11-06T13:09:11Z"
        },
        {
            "videoId": "SM3lUcU2Z2I",
            "url": "https://www.youtube.com/shorts/SM3lUcU2Z2I",
            "title": "We’re all less cult-prof than we would like to think #TEDTalks",
            "channelName": "TED",
            "channelUrl": "https://www.youtube.com/channel/UCAuUUnT6oDeKwE6v1NGQxug",
            "language": "English (auto-generated)",
            "languageCode": "en",
            "isAutoGenerated": true,
            "text": "They came bearing handbeed offerings inscribed with sacred numbers. 22 13 89. But this, my friends, is not the story of an apocalyptic sect on a far away compound. No, this was a T",
            "srt": "1\n00:00:00,240 --> 00:00:09,040\nThey came bearing handbeed offerings\n\n2\n00:00:02,400 --> 00:00:11,600\ninscribed with sacred numbers. 22 13 89.\n\n3\n00:00:09,040 --> 00:00:13,760\nBut",
            "vtt": "WEBVTT\n\n00:00:00.240 --> 00:00:09.040\nThey came bearing handbeed offerings\n\n00:00:02.400 --> 00:00:11.600\ninscribed with sacred numbers. 22 13 89.\n\n00:00:09.040 --> 00:00:13.760\nBu",
            "sentences": [
                {
                    "start": 0.24,
                    "text": "They came bearing handbeed offerings inscribed with sacred numbers. 22 13 89."
                },
                {
                    "start": 9.04,
                    "text": "But this, my friends, is not the story of an apocalyptic sect on a far away compound. No, this was a Taylor Swift concert."
                },
                {
                    "start": 18.64,
                    "text": "I'm not here to call out Swifties' cult followers. No, I wouldn't dare. I'm here to share how we're all susceptible to cultish thinking for better and for worse and our everyday vo"
                }
            ],
            "wordCount": 368,
            "durationSeconds": 137,
            "wordsPerSecond": 2.69,
            "hook": "They came bearing handbeed offerings inscribed with sacred numbers.",
            "suggestedCaption": "We’re all less cult-prof than we would like to think #TEDTalks\n\n#want #feel #cult #cultish #apocalyptic #thinking",
            "suggestedHashtags": [
                "#want",
                "#feel",
                "#cult"
            ],
            "scrapedAt": "2026-11-06T13:09:12Z"
        },
        {
            "videoId": "JOPuUlsXMso",
            "url": "https://www.youtube.com/shorts/JOPuUlsXMso",
            "title": "Instead of asking why they stay, ask how we can help #TEDTalks",
            "channelName": "TED",
            "channelUrl": "https://www.youtube.com/channel/UCAuUUnT6oDeKwE6v1NGQxug",
            "language": "English (auto-generated)",
            "languageCode": "en",
            "isAutoGenerated": true,
            "text": "It's incredibly dangerous to leave an abuser. Because the final step in the domestic violence pattern is kill her. Over 70% of domestic violence murders happen after the victim has",
            "srt": "1\n00:00:00,000 --> 00:00:04,320\nIt's incredibly dangerous to leave an\n\n2\n00:00:02,200 --> 00:00:06,480\nabuser.\n\n3\n00:00:04,320 --> 00:00:09,520\nBecause the final step in the domest",
            "vtt": "WEBVTT\n\n00:00:00.000 --> 00:00:04.320\nIt's incredibly dangerous to leave an\n\n00:00:02.200 --> 00:00:06.480\nabuser.\n\n00:00:04.320 --> 00:00:09.520\nBecause the final step in the dome",
            "sentences": [
                {
                    "start": 0,
                    "text": "It's incredibly dangerous to leave an abuser."
                },
                {
                    "start": 4.32,
                    "text": "Because the final step in the domestic violence pattern is kill her. Over 70% of domestic violence murders happen after the victim has ended the relationship because then the abuse"
                },
                {
                    "start": 15.44,
                    "text": "nothing left to lose."
                }
            ],
            "wordCount": 161,
            "durationSeconds": 77.2,
            "wordsPerSecond": 2.09,
            "hook": "It's incredibly dangerous to leave an abuser.",
            "suggestedCaption": "Instead of asking why they stay, ask how we can help #TEDTalks\n\n#leave #abuser #domestic #violence #final #kill",
            "suggestedHashtags": [
                "#leave",
                "#abuser",
                "#domestic"
            ],
            "scrapedAt": "2026-11-06T13:09:17Z"
        }
    ]
}
YouTube Shorts Transcript Scraper — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14704/youtube+shorts+api/38022/youtube+shorts+transcript+scraper?shortsUrls=https://www.youtube.com/@TED&maxShortsPerChannel=5&languages=en&maxItems=5' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Viral Clip Finder - Podcast Clips & YouTube Shorts Moments. Returns up to 100 results per request as JSON.
Endpoint ID: 38023
GET https://zylalabs.com/api/14704/youtube+shorts+api/38023/viral+clip+finder
INPUT PARAMETERS

Viral Clip Finder — Endpoint Features

Object Description
videoUrls Optional Podcasts, interviews, streams or talks: a video URL or ID, a playlist URL, or a channel URL / @handle (its newest videos are used). Several values: comma separated.
clipsPerVideo Optional How many of the best moments to return for each video.
minClipSeconds Optional Shortest clip to return.
maxClipSeconds Optional Longest clip. 55-60 for YouTube Shorts and Reels, up to 180 for TikTok.
minViralityScore Optional Skip weaker moments. 0 returns all requested clips.
hashtags Optional Your own hashtags added to every suggestion, e.g. #podcast.
includeSrt Optional Ready-to-use subtitles for every clip, timed from 0.
languages Optional Preferred caption languages, e.g. en, es, de. Falls back to any available language. Several values: comma separated.
maxVideosPerSource Optional How many of the newest videos to take from each playlist or channel.
maxItems Optional Hard limit on how many clips the run saves (and you pay for).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

videoUrls
clipsPerVideo
minClipSeconds
maxClipSeconds
minViralityScore
hashtags
includeSrt
languages
maxVideosPerSource
maxItems
API EXAMPLE RESPONSE
JSON
{
    "count": 10,
    "items": [
        {
            "videoId": "arj7oStGLkU",
            "videoUrl": "https://www.youtube.com/watch?v=arj7oStGLkU",
            "videoTitle": "Inside the Mind of a Master Procrastinator | Tim Urban | TED",
            "channelName": "TED",
            "rank": 1,
            "startSeconds": 77.7,
            "endSeconds": 132,
            "durationSeconds": 54.3,
            "viralityScore": 10,
            "hook": "How hard could it be to walk up the stairs?",
            "suggestedTitle": "How hard could it be to walk up the stairs?",
            "suggestedHashtags": [
                "#months",
                "#went",
                "#laughter"
            ],
            "transcript": "How hard could it be to walk up the stairs? No big deal, right? But then, the funniest thing happened. Those first few months? They came and went, and I couldn't quite do stuff. So",
            "whyThisClip": "strong opening line, concrete numbers, emotional words, a twist/contrast, a question that creates curiosity, ends on a complete thought, fast, clear pace",
            "clipUrl": "https://www.youtube.com/watch?v=arj7oStGLkU&t=77s",
            "embedUrl": "https://www.youtube.com/embed/arj7oStGLkU?start=77&end=133",
            "language": "en",
            "url": "https://www.youtube.com/watch?v=arj7oStGLkU&t=77s",
            "scrapedAt": "2026-11-06T13:08:45Z",
            "srt": "1\n00:00:00,000 --> 00:00:02,060\nHow hard could it be to walk up the stairs?\n\n2\n00:00:02,530 --> 00:00:03,850\nNo big deal, right?\n\n3\n00:00:05,390 --> 00:00:07,200\nBut then, the funn"
        },
        {
            "videoId": "arj7oStGLkU",
            "videoUrl": "https://www.youtube.com/watch?v=arj7oStGLkU",
            "videoTitle": "Inside the Mind of a Master Procrastinator | Tim Urban | TED",
            "channelName": "TED",
            "rank": 2,
            "startSeconds": 245,
            "endSeconds": 287.1,
            "durationSeconds": 42.1,
            "viralityScore": 9.2,
            "hook": "Now, what does this mean for the procrastinator?",
            "suggestedTitle": "Now, what does this mean for the procrastinator?",
            "suggestedHashtags": [
                "#rational",
                "#decision",
                "#laughter"
            ],
            "transcript": "Now, what does this mean for the procrastinator? Well, it means everything's fine until this happens. [This is a perfect time to get some work done.] [Nope!] So the Rational Decisi",
            "whyThisClip": "strong opening line, concrete numbers, a twist/contrast, a question that creates curiosity, ends on a complete thought, fast, clear pace",
            "clipUrl": "https://www.youtube.com/watch?v=arj7oStGLkU&t=245s",
            "embedUrl": "https://www.youtube.com/embed/arj7oStGLkU?start=245&end=288",
            "language": "en",
            "url": "https://www.youtube.com/watch?v=arj7oStGLkU&t=245s",
            "scrapedAt": "2026-11-06T13:08:45Z",
            "srt": "1\n00:00:00,000 --> 00:00:02,300\nNow, what does this mean for the procrastinator?\n\n2\n00:00:02,330 --> 00:00:04,770\nWell, it means everything's fine until this happens.\n\n3\n00:00:04,7"
        },
        {
            "videoId": "arj7oStGLkU",
            "videoUrl": "https://www.youtube.com/watch?v=arj7oStGLkU",
            "videoTitle": "Inside the Mind of a Master Procrastinator | Tim Urban | TED",
            "channelName": "TED",
            "rank": 3,
            "startSeconds": 653,
            "endSeconds": 687.4,
            "durationSeconds": 34.4,
            "viralityScore": 8.8,
            "hook": "Why are all of these people in such a dark place?",
            "suggestedTitle": "Why are all of these people in such a dark place?",
            "suggestedHashtags": [
                "#procrastination",
                "#deadlines",
                "#i've"
            ],
            "transcript": "Why are all of these people in such a dark place? Well, it turns out that there's two kinds of procrastination. Everything I've talked about today, the examples I've given, they al",
            "whyThisClip": "strong opening line, emotional words, a twist/contrast, a question that creates curiosity, ends on a complete thought, fast, clear pace",
            "clipUrl": "https://www.youtube.com/watch?v=arj7oStGLkU&t=653s",
            "embedUrl": "https://www.youtube.com/embed/arj7oStGLkU?start=653&end=688",
            "language": "en",
            "url": "https://www.youtube.com/watch?v=arj7oStGLkU&t=653s",
            "scrapedAt": "2026-11-06T13:08:45Z",
            "srt": "1\n00:00:00,030 --> 00:00:02,520\nWhy are all of these people in such a dark place?\n\n2\n00:00:02,540 --> 00:00:05,840\nWell, it turns out that there's two kinds of procrastination.\n\n3"
        }
    ]
}
Viral Clip Finder — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/14704/youtube+shorts+api/38023/viral+clip+finder?videoUrls=https://www.youtube.com/watch?v=UF8uR6Z6KLc,https://www.youtube.com/watch?v=arj7oStGLkU&clipsPerVideo=5&minClipSeconds=20&maxClipSeconds=55&minViralityScore=OptionalincludeSrt=true&languages=en&maxVideosPerSource=5&maxItems=10' --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 YouTube Shorts 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.

Starts at
$10,000/Year


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

Overview

Find the best Shorts/Reels/TikTok moments in any long YouTube video (timestamps, hook, virality score, title, hashtags, SRT) and get captions of any Short as SRT/VTT/text.

YouTube Shorts API FAQs

Find the best Shorts/Reels/TikTok moments in any long YouTube video (timestamps, hook, virality score, title, hashtags, SRT) and get captions of any Short as SRT/VTT/text.

Up to 100 results per request. Set it with the maxItems parameter.

Every request collects live data from the public source. Identical requests may be served from a cache for up to 6 hours.

List parameters accept several values separated by commas, for example: london,paris.

The YouTube Shorts API has two main endpoints. The "YouTube Shorts Transcript Captions Downloader" returns captions in SRT/VTT format, including details like channel name, duration, and auto-generated status. The "Viral Clip Finder" provides viral moments with clip URLs, hooks, and embed links, along with metadata such as duration and rank.

Key fields include "channelName," "hook," "durationSeconds," "language," and "srt" for the Viral Clip Finder. For the Transcript Captions Downloader, important fields are "isAutoGenerated," "sentences" (with start time and text), and "scrapedAt" for timestamping the data.

The API returns data in JSON format. Each response includes a "count" of results and an "items" array containing individual data objects. Each object has structured fields relevant to the endpoint, such as "clipUrl" and "hook" for viral clips, or "sentences" and "language" for captions.

The Transcript Captions Downloader provides captions, timestamps, and language details for Shorts. The Viral Clip Finder offers viral clip metadata, including hooks, URLs, and duration, helping users identify popular moments in longer videos.

The endpoint accepts these query parameters, all optional: videoUrls, clipsPerVideo, minClipSeconds, maxClipSeconds, minViralityScore, hashtags, includeSrt, languages, maxVideosPerSource, maxItems. videoUrls: Podcasts, interviews, streams or talks: a video URL or ID, a playlist URL, or a channel URL / @handle (its newest videos are used). Several values: comma separated. clipsPerVideo: How many of the best moments to return for each video. minClipSeconds: Shortest clip to return. maxClipSeconds: Longest clip. 55-60 for YouTube Shorts and Reels, up to 180 for TikTok. minViralityScore: Skip weaker moments. 0 returns all requested clips. hashtags: Your own hashtags added to every...

The endpoint accepts these query parameters, all optional: shortsUrls, maxShortsPerChannel, languages, translateTo, hashtags, maxItems. shortsUrls: Shorts URLs or IDs, or channel URLs / @handles (their newest Shorts are used). Several values: comma separated. maxShortsPerChannel: How many of the newest Shorts to take from each channel. languages: Preferred caption languages, e.g. en, es. Falls back to any language. Several values: comma separated. translateTo: Language code to translate captions into using YouTube translation, e.g. en. hashtags: Your hashtags added to every suggested caption. maxItems: Hard limit on saved results (and cost).

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