Documents & media
Documents & media · AI-assisted
YouTube Chapters & Shorts Clip Finder API
Video file, YouTube Studio captions or SRT to YouTube chapters, Shorts clips, titles and tags.
Base URLhttps://youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com/v1/video-chaptersopenapi.json
- Free plan
- 15 credits a day
- Paid plans
- from $4.99 a month
- One credit
- 10 credits per video up to 10 minutes, +1 per minute beyond; a media file +2 per minute transcribed.
- Endpoints
- 4, on
/v1/video-chapters
Example call
curl -X POST "https://youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com/v1/video-chapters/transcript" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{
"transcript_url": "https://images-assets.nasa.gov/video/NHQ_2019_0923_AskNASA%20-%20What%20is%20Artemis/NHQ_2019_0923_AskNASA%20-%20What%20is%20Artemis.srt",
"clips": 3
}'
import requests
url = "https://youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com/v1/video-chapters/transcript"
payload = {
"transcript_url": "https://images-assets.nasa.gov/video/NHQ_2019_0923_AskNASA%20-%20What%20is%20Artemis/NHQ_2019_0923_AskNASA%20-%20What%20is%20Artemis.srt",
"clips": 3
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com",
}
r = requests.post(url, json=payload, headers=headers)
print(r.json())
const res = await fetch("https://youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com/v1/video-chapters/transcript", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com",
"Content-Type": "application/json",
},
body: JSON.stringify({
"transcript_url": "https://images-assets.nasa.gov/video/NHQ_2019_0923_AskNASA%20-%20What%20is%20Artemis/NHQ_2019_0923_AskNASA%20-%20What%20is%20Artemis.srt",
"clips": 3
}),
});
console.log(await res.json());
{
"source": "transcript",
"duration_seconds": 173.48,
"minutes_billed": 3,
"language": "en",
"output_language": "en",
"summary": "NASA astronaut Serena Aunon-Chancellor answers a variety of questions from the public regarding the Artemis lunar program, the Orion spacecraft, and her personal experiences living and working in space. She explains the strategic importance of returning to the Moon as a stepping stone for future Mars missions, while also sharing lighthearted insights into astronaut life, including her favorite space snacks and what she misses most about Earth.",
"chapters": [
{
"start": 0.0,
"end": 57.18,
"timestamp": "00:00",
"title": "The Artemis Program",
"summary": "An overview of the Artemis mission goals and why the Moon serves as a training ground for Mars."
},
{
"start": 57.18,
"end": 112.22,
"timestamp": "00:57",
"title": "Spacecraft and Personal Life",
"summary": "A look at the Orion vehicle and personal anecdotes about being an astronaut, including food and items taken to space."
},
{
"start": 112.22,
"end": 173.48,
"timestamp": "01:52",
"title": "Life in Orbit",
"summary": "Reflections on the reality of living in space, missing Earth, and the human side of being an astronaut."
}
],
"chapters_text": "00:00 The Artemis Program\n00:57 Spacecraft and Personal Life\n01:52 Life in Orbit",
"youtube_chapters_valid": true,
"titles": [
"NASA Astronaut Answers Your Questions",
"What is the Artemis Program?",
"Life as an Astronaut: Q&A with Serena Aunon-Chancellor",
"Returning to the Moon: NASA's Artemis Mission Explained",
"Behind the Scenes with a NASA Astronaut"
],
"description": "Join NASA astronaut Serena Aunon-Chancellor as she answers questions about the future of lunar exploration and the Artemis program. She shares insights into the technology behind the Orion spacecraft and offers a personal look at what it is really like to live and work in space.",
"tags": [
"nasa",
"artemis",
"astronaut",
"space exploration",
"orion spacecraft",
"moon mission",
"mars exploration",
"space travel",
"asknasa",
"serena aunon-chancellor",
"space life",
"science education"
],
"hashtags": [
"#nasa",
"#artemis",
"#space",
"#astronaut"
],
"quotes": [
{
"start": 44.43,
"timestamp": "00:44",
"text": "Essentially we practice we have, it's an engineering battleground so we can go to Mars."
},
{
"start": 117.42,
"timestamp": "01:57",
"text": "I missed feeling the Earth, so I missed the wind. I missed the rain, I missed the smell of the Earth, the smell of the grass."
},
{
"start": 128.96,
"timestamp": "02:08",
"text": "It's not scary being in space. I mean it's, it's your home and it's a size of a five bedroom house it's absolutely huge and your friends are up there with you so what's better than that."
}
],
"clips": [
{
"rank": 1,
"start": 117.42,
"end": 136.78,
"duration": 19.36,
"start_timestamp": "01:57",
"end_timestamp": "02:16",
"title": "What Astronauts Miss Most",
"hook": "I missed feeling the Earth, so I missed the wind.",
"caption": "Ever wonder what you'd miss most if you left Earth? Even astronauts get homesick for the simple things. #space #nasa #earth",
"hashtags": [
"#space",
"#nasa",
"#earth"
],
"score": 85,
"reason": "It provides a relatable, emotional connection to the experience of being in space.",
"text": "I missed feeling the Earth, so I missed the wind. I missed the rain, I missed the smell of the Earth, the smell of the grass. These are the things you just can't imitate on station. Is it scary being in space? It's not scary being in space. I mean it's, it's your home and it's a size of a five bedroom house it's absolutely huge and your friends are up there with you so what's better than that."
},
{
"rank": 2,
"start": 94.44,
"end": 110.16,
"duration": 15.72,
"start_timestamp": "01:34",
"end_timestamp": "01:50",
"title": "Astronaut Essentials",
"hook": "Oh, I took multiple personal items it wasn't just one.",
"caption": "What would you bring to space? Turns out, a back scratcher is a must-have! #astronautlife #nasa #space",
"hashtags": [
"#astronautlife",
"#nasa",
"#space"
],
"score": 75,
"reason": "It's a fun, lighthearted look at the personal side of space travel.",
"text": "Oh, I took multiple personal items it wasn't just one. Funny enough , I took a back scratcher because you need a back scratcher wherever you go What food would you take to the Moon? Oh easy, cheeseburger french fries every time YUM If you were in a dance-off with an alien what song would you pick?"
},
{
"rank": 3,
"start": 18.72,
"end": 50.46,
"duration": 31.74,
"start_timestamp": "00:18",
"end_timestamp": "00:50",
"title": "Why We Go To The Moon",
"hook": "so the Artemis program is our lunar exploration program.",
"caption": "The Moon is more than just a destination; it's our training ground for Mars. #artemis #nasa #spaceexploration",
"hashtags": [
"#artemis",
"#nasa",
"#spaceexploration"
],
"score": 70,
"reason": "It explains the strategic purpose of the Artemis program in a clear, concise way.",
"text": "so the Artemis program is our lunar exploration program. We will get to the South Pole of the Moon by 2024, landing the first American woman and the next man. Why are we doing this? Well, in order for us to head towards Mars we need a special place where we can practice, essentially develop robust engineering technologies, figure out how well the human does with long-duration spaceflight, learn how to build habitats. And we do all of this on the Moon. Essentially we practice we have, it's an engineering battleground so we can go to Mars."
}
]
}
Analyze Transcript: POST /v1/video-chapters/transcript. A real call and its real response.
What the YouTube Chapters & Shorts Clip Finder API returns
Chaptering a video and finding its best short-form moments takes an editor an hour per video. Send a transcript you already have (SRT, VTT, timestamped text, or the JSON of any YouTube transcript scraper) or a video or audio file, and get YouTube chapters that pass YouTube's rules with a ready-to-paste description block, a summary, 5 title ideas, a description draft, tags and hashtags, verbatim quotes with timestamps, and up to 10 short-form clips for Shorts, TikTok and Reels, each with an on-screen title, the hook, a caption and a virality score. About $0.0125 per video up to 10 minutes on PRO.
- Chapters that YouTube accepts
- First at 00:00, at least 3, each 10 seconds or more, placed where the topic really changes, plus
chapters_textready to paste - Short clips, cut clean
- Start and end snapped to sentence boundaries, inside your duration range (15-60 s by default, up to 180 s), never overlapping, never past the end
- Virality score 0-100
- With the reason, an on-screen title, the opening hook (verbatim) and a caption with hashtags
- Metadata pack
- Summary, 5 titles, description draft, 10-15 tags, hashtags, 3-5 quotes checked word for word
- Chains with transcript scrapers
- Their
transcript,captions,timestampedordataarrays work as they are, milliseconds and all - Or a media file
- MP4, MOV, WEBM, MP3, M4A, WAV... up to 90 minutes, transcribed first (transcript returned too)
- Any language
- In, the output in the language you choose
Endpoints
Host youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com, header X-RapidAPI-Key. Parameters and examples for each one are in the API reference.
From Transcript
Chapters, clips and metadata from a transcript you already have: SRT, VTT, text or JSON segments.
-
POST
/v1/video-chapters/transcriptTranscript to YouTube chapters, short clips, titles and tags -
POST
/v1/video-chapters/transcript/uploadUploaded transcript file (SRT, VTT, TXT, JSON) to chapters and clips
From Video or Audio
The same from an audio or video file, transcribed first.
Use cases
- YouTube creators and agencies. Chapters, titles, tags and a description for every upload, in one call
- Clipping tools and editors. A ranked cut list of Shorts, TikToks and Reels with clean in and out points
- Podcast networks. Chapters and social clips for every episode from its audio or its transcript
- Course and webinar platforms. Navigable chapters and highlight reels for long recordings
- Content pipelines. Chain any YouTube transcript scraper's output into chapters and clips, no glue code
Tutorial
Documents & media
Pricing
10 credits per video up to 10 minutes, +1 per minute beyond; a media file +2 per minute transcribed. Failed calls are never billed.
| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 15 / day | resets every day |
| PRO | $4.99/mo | 4,000 / month | $0.015 per credit |
| ULTRA | $14.99/mo | 12,000 / month | $0.015 per credit |
| MEGA | $49.99/mo | 40,000 / month | $0.015 per credit |
Subscribe on RapidAPI (opens in a new tab)
No code: the Apify actor
The YouTube Chapters & Shorts Clip Finder - AI Video Timestamps actor runs the same engine on a list of inputs and exports a table (JSON, CSV, Excel, Google Sheets). It is billed per result; free-plan users get 3 videos per run, media files of up to 10 minutes.
| Event | Charged for | Price |
|---|---|---|
video-analyzed | Each video analysed (first 10 minutes) | $0.011 |
extra-minute | Each minute analysed beyond 10 | $0.001 |
audio-minute | Each minute of audio or video transcribed | $0.0025 |
Questions about the YouTube Chapters & Shorts Clip Finder API
Will YouTube show these chapters?
youtube_chapters_valid is true: the first chapter is at 00:00, there are at least 3 and each lasts 10 seconds or more. Paste chapters_text in the description. Videos under 30 seconds cannot have 3 chapters.Can you take a YouTube link?
How exact are the clip times?
Which language is the output in?
language. Quotes and hooks stay verbatim, in the spoken language.





