YouTube Video transcript

Retrieve the video transcript with timestamps and language

Starting price
$0.0055 /record
Providers
1 same output format
Max URLs per request
100
Endpoint
POST /v1/extract

Providers

Every provider below returns the same normalized output. Pass a slug to pick one explicitly, or let SocialRouter route for you.

  • Apifyapify/youtube/video.transcript

    Up to 100 URLs per request

    $0.0055per record

Input

The public URL of the video whose transcript you want to fetch.

Example video url
https://youtube.com/watch?v=abc123

Output

Each record has the fields below, whichever provider serves the request. Providers may include additional platform-specific fields on top.

  • titlestring

    Video title

  • video_idstring

    Platform video ID

  • channel_namestring

    Name of the channel / creator

  • channel_urlurl

    Canonical channel URL

  • durationstring

    Duration (e.g. "00:03:17")

  • posted_atiso8601

    When the video was published

  • transcriptstring

    Full transcript text (SRT with timestamps)

  • transcript_languagestring

    ISO language code of the primary transcript

  • transcript_typestring

    "auto_generated" or "manual"

  • subtitlesobject[]

    All available transcript tracks (language, type, srt, srt_url)

  • sourcestring

    Platform the record was extracted from (e.g. "linkedin")

  • extracted_atiso8601

    UTC timestamp when the record was produced

How to call it

Pass a provider slug from the table above as the provider field on the POST /v1/extract endpoint.

Frequently asked questions

How much does YouTube video transcript cost?

Prices start at $0.0055 per record, depending on the provider you route to. You are only charged for records actually returned.

Which providers offer YouTube video transcript?

Apify — 1 provider is available through SocialRouter's unified API. Pick one explicitly with its slug, or let the router choose.

What input does it need?

The public URL of the video whose transcript you want to fetch. For example: https://youtube.com/watch?v=abc123

Is the output format the same for every provider?

Yes. Every provider returns the normalized record schema documented on this page; some providers add extra platform-specific fields on top, but the documented fields are always present.

How many URLs can I send per request?

Up to 100 URLs in a single request, depending on the provider.

What happens if a provider fails?

SocialRouter automatically fails over to another provider offering the same service, so a single provider outage doesn't break your integration.

Related services

Get youtube video transcript into your app or your AI agent

$5 in free credits to test it — no credit card, no commitment.