YouTube Video transcript full API
Fetch a YouTube transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
- Category VideoRequests / mo 9Routing 1 lane · no failover
Pricing
One price, in dollars
pay per request · no subscription · fallbacks added as the catalog growsTry it
Make your first request
run it free, no key · same shape for every API{
"data": {
"channel": "example",
"durationSeconds": 12.5,
"isAiGenerated": true,
"isAutoGenerated": true,
"language": "en",
"segments": [
{
"endSeconds": 180,
"startSeconds": 180,
"text": "A short example description of this item."
}
],
"title": "Example title",
"transcript": "example"
},
"found": true
}interface YoutubeVideoTranscriptFullResponse {
data: {
channel?: string;
durationSeconds?: number;
isAiGenerated?: boolean;
isAutoGenerated: boolean;
language: string;
segments?: {
endSeconds: number;
startSeconds: number;
text: string;
}[];
title?: string;
transcript: string;
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-08-23 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/youtube.video_transcript_full \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| url | string | "https://www.youtube.com/watch?v=dQw4w9WgXcQ"YouTube video URL (e.g. "https://www.youtube.com/watch?v=dQw4w9WgXcQ"). |
| captionKind | enum | Which caption track to accept: "manual" only creator-written captions, "automatic" only YouTube's speech recognition, "any" whichever exists. |
| language | string | Preferred caption language code (e.g. "en", "es"). Defaults to English. |
| Response | ||
| data | object | |
| data.channel | string | Channel name that published the video. |
| data.durationSeconds | number | Video duration in seconds. |
| data.isAiGenerated | boolean | True when the words were recognized from the audio by the serving lane rather than read from any YouTube caption track. |
| data.isAutoGenerated | boolean | True when YouTube generated the caption track by speech recognition rather than the creator supplying it. Automatic captions carry recognition errors, especially on names and jargon. Populated whenever the provider has data for the entity. |
| data.language | string | Caption language code (e.g. "en"). Populated whenever the provider has data for the entity. |
| data.segments | object[] | Timed transcript segments in playback order. Populated whenever the provider has data for the entity. |
| data.segments[].endSeconds | number | Segment end offset in seconds. |
| data.segments[].startSeconds | number | Segment start offset in seconds. |
| data.segments[].text | string | Text of this transcript segment. |
| data.title | string | Video title. |
| data.transcript | string | Full transcript text, segments joined in playback order. Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.00308 |
| Price /1k req | USD | $3.08 |
FAQ
About the YouTube Video transcript full API
The AnyAPI YouTube Video transcript full API returns YouTube video transcript full data as normalized JSON from one POST call to /v1/run/youtube.video_transcript_full. Fetch a YouTube transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition. AnyAPI returns one normalized schema whichever source serves it. It costs from $3.08 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of YouTube video transcript full calls through AnyAPI succeeded, with a median response time of 7.6 seconds across 9 measured calls.
More to call
Other YouTube endpoints
Get started
Two ways to start on AnyAPI
Humans fund a USD wallet and pay per request. Agents point a coding agent at one URL and onboard themselves.