Manual and automatic tracks
Use the caption track that fits the preferred language without maintaining separate extractors.
Use native mode when your application needs the fastest available caption track and must never start a generated transcript in the background.
GET /v1/transcriptcurl 'https://capslane.com/v1/transcript?url=dQw4w9WgXcQ&mode=native&lang=en' \
-H 'x-api-key: YOUR_API_KEY'Capslane normalizes the available YouTube tracks into one response instead of exposing extraction details to every client.
Use the caption track that fits the preferred language without maintaining separate extractors.
Read availableLangs before deciding whether to use the selected result or request another track.
Every segment includes a millisecond offset and duration for search, playback and editing workflows.
Set text=true when indexing, summarizing or sending the complete transcript to another service.
A missing track returns an explicit error and never consumes local generation capacity.
Cached captions use the same fields and expose a cached flag for observability.
Pass a public YouTube URL or video ID with mode=native.
Add lang when the product requires a preferred track, or let Capslane select the source language.
Store structured segments for subtitle search, chaptering, clip selection or synchronized playback.
Yes. Native mode can return manual or automatically generated caption tracks that are available for the public video.
No. Native mode only checks available caption tracks and returns transcript_unavailable when none can be used.
Yes. Pass the lang query parameter with an ISO language code. The response also lists available languages.
Offsets and durations are returned in milliseconds so applications can align text with playback precisely.
Start free with no credit card and move to a paid plan when the integration grows.