YouTube Video transcript

Retrieve the video transcript with timestamps and language

Starting price
$0.0055 /record
Offers
1 same output format
Max URLs per request
100

Endpoint

One endpoint for every offer below. Omit provider and the router picks with automatic failover — the response's served_by tells you which one ran.

POSThttps://api.socialrouter.io/v1/extract/youtube/video.transcript

Offers

Every offer below returns the same normalized output, in failover order — the first one serves unless you pin another with the provider field.

  • apify/streamersvia Apifydefault route

    Up to 100 URLs per request

    $0.0055per record

Parameters

JSON body of the request. Unknown fields and unknown options are rejected with the valid list, so a wrong guess costs nothing.

ParameterTypeDescription
urlsRequiredstring[]One URL per record to process. Accepted shapes:https://www.youtube.com/watch?v=<video_id> — youtu.be and /shorts/ URLs are accepted too.Example: https://www.youtube.com/watch?v=dQw4w9WgXcQA single url string is accepted too.
providerOptionalstringPin one offer, e.g. apify/streamers. Omit it and the router picks with failover.
limitOptionalintegerMax records to return per URL.

Output

Each record has the fields below, whichever offer serves the request. Offers 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

Going further

Auth, error semantics, and every other endpoint live in the API reference — including the machine-readable OpenAPI spec at /v1/openapi.json.

Frequently asked questions

How much does YouTube video transcript cost?

Prices start at $0.0055 per record, depending on the offer that serves the request. You are only charged for records actually returned.

Which offers serve youtube/video.transcript?

apify/streamers — 1 offer is available behind the same endpoint. Pin one with the optional "provider" field, or omit it and the router picks with automatic failover. The response's "served_by" field names the offer that ran.

What input does it need?

The "urls" field of the JSON body, as an array of strings: https://www.youtube.com/watch?v=<video_id> — youtu.be and /shorts/ URLs are accepted too.. For example: https://www.youtube.com/watch?v=dQw4w9WgXcQ

Is the output format the same for every offer?

Yes. Every offer returns the normalized record schema documented on this page; some 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 offer.

What happens if an offer fails?

SocialRouter automatically fails over to the next offer serving the same service, so a single upstream outage doesn't break your integration.

Related services

Get youtube video transcript into your app or your AI agent

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