Clair API
  • All APIs
  • Pricing
  • Docs
Web Scraping
  • Web Scraper API
E-commerce
  • Amazon API
    • Product
    • Reviews
    • Search
    • Price
    • Best sellers
    • Seller
    • ASIN lookup
  • Google Shopping API
SERP & Search
  • Google Search API
  • Google Maps API
    • Scraper
    • Place
Jobs & Hiring
  • Glassdoor API
    • Jobs
    • Reviews
    • Salary
  • Indeed API
Company Data & Reviews
  • Trustpilot API
  • Crunchbase API
    • Company
    • People
Video & Social
  • YouTube API
  • TikTok API
  • Instagram API
News & Media
  • Google News API
  • Reuters API
  • Bloomberg API
  • Associated Press API
Missing a data source? Ask for one →
  • Use cases
  • Comparisons
  • Glossary
Ecommerce and reviews
  • Amazon price monitoring
  • Trustpilot review monitoring
  • MAP enforcement on Amazon
  • Amazon rating monitoring
  • Amazon category research
  • Trustpilot competitor benchmarking
  • Google Shopping price tracking
Search and local
  • Google rank tracking
  • Local lead generation
  • Local SEO competitor audit
  • Grounding LLM answers in search results
  • Content research from People also ask
Leads and companies
  • Account research briefs
Jobs and hiring
  • Salary benchmarking
  • Job market analytics
  • Employer reputation tracking
News
  • Brand and media monitoring
  • Financial news tracking
  • News corpus for research and RAG
Social and video
  • YouTube transcripts for RAG
  • Instagram engagement rate
  • Influencer campaign tracking
Comparisons
  • Clair vs SerpApi
  • Clair vs Google Places API
  • Clair vs Google Custom Search API
GlossarySERPSERP APIPeople also askGoogle place IDASINBuy BoxGTINSalary percentilesTrustScoreWeb scrapingAll 38 terms →
PricingDocsStatus
Dashboard

Glossary

YouTube transcript

The text of what is said in a YouTube video, built from its captions, with a timestamp for each line.

Last updated October 29, 2026.

What YouTube transcript means

A YouTube transcript is a video's caption track read as text. Each caption line has a start time and a duration, so the transcript can be read straight through or used to jump to the moment something was said.

Captions come from two places. The uploader can add their own, which are usually accurate and punctuated. Otherwise YouTube often generates automatic captions by speech recognition, which miss punctuation and misspell names and technical terms. A video can have tracks in several languages, from either source.

Clair's YouTube Transcript API returns one caption track of a public video as JSON: the full text, and segments with start_ms and duration_ms. kind says whether the track is the uploader's (manual) or YouTube's (auto).

How to get the transcript of a YouTube video

  • On youtube.com: open the video, expand the description, and choose Show transcript. The transcript opens beside the video with a timestamp on every line, and you can copy it from there.
  • With YouTube's own API: the YouTube Data API downloads a caption track only for a video the signed-in user can edit, so it works for your own channel, not for other people's videos.
  • With a transcript API: an API such as Clair's reads the caption track any viewer can see and returns it as text and timed segments, for any public video, from a link or an id.

How it appears in a response

GET /v1/youtube/transcript?video_id=jNQXAC9IVRw · transcript.segments

[
  {
    "start_ms": 1200,
    "duration_ms": 2160,
    "text": "All right, so here we are, in front of the elephants"
  },
  {
    "start_ms": 5318,
    "duration_ms": 2656,
    "text": "the cool thing about these guys is that they have really..."
  },
  {
    "start_ms": 7974,
    "duration_ms": 4642,
    "text": "really really long trunks"
  },
  {
    "start_ms": 12616,
    "duration_ms": 1751,
    "text": "and that's cool"
  },
  {
    "start_ms": 14421,
    "duration_ms": 1312,
    "text": "(baaaaaaaaaaahhh!!)"
  },
  {
    "start_ms": 16881,
    "duration_ms": 2000,
    "text": "and that's pretty much all there is to say"
  }
]
Caption lines with their start time and duration, in milliseconds. From a recorded YouTube API response.

Common questions

Does every YouTube video have a transcript?

No. A video has one only if it has captions: the uploader's, or automatic ones YouTube generated. Videos with neither, and many music videos, have none.

Are automatic captions accurate?

They are usable for search and summaries but contain errors, especially with names, jargon, accents, and overlapping speech. Use the uploader's captions when the video has them.

Can I get a transcript in another language?

Yes, when the video has a caption track in that language. Clair's language parameter picks the track and lists the available languages when the one you ask for is missing.

Keep reading

Related terms

  • Retrieval-augmented generation (RAG)

APIs that return it

  • YouTube API

Guides

  • YouTube transcripts for RAG

    One plan, every API.

    Your plan's price is your monthly usage balance, spent across every Clair API. Start free, no card.

    Get API Key →Compare plans
    Clair API

    Live data APIs for search, news, jobs, marketplaces, companies, reviews, and social video, plus a scraper for any public page. Each call fetches the page when you ask.

    contact@serinlabs.com@clair_api

    APIs

    Web Scraping
    • Web Scraper API
    E-commerce
    • Amazon API
      • Amazon Product API
      • Amazon Reviews API
      • Amazon Search API
      • Amazon Price API
      • Amazon Best Sellers API
      • Amazon Seller API
      • Amazon ASIN Lookup API
    • Google Shopping API
    SERP & Search
    • Google Search API
    • Google Maps API
      • Google Maps Scraper API
      • Google Maps Place API
    Jobs & Hiring
    • Glassdoor API
      • Glassdoor Jobs API
      • Glassdoor Reviews API
      • Glassdoor Salary API
    • Indeed API
    Company Data & Reviews
    • Trustpilot API
    • Crunchbase API
      • Crunchbase Company API
      • Crunchbase People API
    Video & Social
    • YouTube API
    • TikTok API
    • Instagram API
    News & Media
    • Google News API
    • Reuters API
    • Bloomberg API
    • Associated Press API

    Use cases

    Ecommerce and reviews
    • Amazon price monitoring
    • Trustpilot review monitoring
    • MAP enforcement on Amazon
    • Amazon rating monitoring
    • Amazon category research
    • Trustpilot competitor benchmarking
    • Google Shopping price tracking
    Search and local
    • Google rank tracking
    • Local lead generation
    • Local SEO competitor audit
    • Grounding LLM answers in search results
    • Content research from People also ask
    Leads and companies
    • Account research briefs
    Jobs and hiring
    • Salary benchmarking
    • Job market analytics
    • Employer reputation tracking
    News
    • Brand and media monitoring
    • Financial news tracking
    • News corpus for research and RAG
    Social and video
    • YouTube transcripts for RAG
    • Instagram engagement rate
    • Influencer campaign tracking

    Compare and learn

    Comparisons
    • Clair vs SerpApi
    • Clair vs Google Places API
    • Clair vs Google Custom Search API
    Glossary
    • SERP
    • SERP API
    • People also ask
    • Google place ID
    • ASIN
    • Buy Box
    • All 38 terms
    Developers
    • Documentation
    • Quickstart
    • API catalog
    • Pricing
    • Status
    • All resources
    Featured onCITABLEClair API - Featured on Startup FameFeatured on Twelve Tools Listed on Turbo0 Featured on Wired BusinessClair API on Nick Launches Featured on neeed.directory Featured on DailyPings Startup Benchmarks Featured on LaunchVault Featured on EasyLaunch Featured on SubmitMySaas Featured on DodoDirectory Featured on LaunchZone Featured on LemonLaunch 'LiftOff' Default v2 badge Launched on LaunchBoard - Product Launch Platform Listed on CurlShip aListed onamaze.directory Featured on Brick Launch Featured on saas.fyi Featured on Wall of Tools Featured onfreeboard.lol
    Featured onCITABLEClair API - Featured on Startup FameFeatured on Twelve Tools Listed on Turbo0 Featured on Wired BusinessClair API on Nick Launches Featured on neeed.directory Featured on DailyPings Startup Benchmarks Featured on LaunchVault Featured on EasyLaunch Featured on SubmitMySaas Featured on DodoDirectory Featured on LaunchZone Featured on LemonLaunch 'LiftOff' Default v2 badge Launched on LaunchBoard - Product Launch Platform Listed on CurlShip aListed onamaze.directory Featured on Brick Launch Featured on saas.fyi Featured on Wall of Tools Featured onfreeboard.lol
    © 2026 Serin Technologies, LLC
    • About Clair
    • Terms of Service
    • Privacy Policy