Fetch transcripts/subtitles for up to 500 YouTube videos per run. Returns plain text, timestamped snippets and optional SRT, with language selection. Built for AI agents and bulk pipelines: strict output schema, only successful transcripts are charged.
One successfully delivered transcript. Videos that fail or have no captions are never charged.
ACTOR=steadydata~youtube-transcript-bulk URL="https://api.apify.com/v2/acts/$ACTOR/run-sync-get-dataset-items" curl -X POST "$URL?token=$APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "preferManualCaptions": true, "includeTimestampedSnippets": true}'
import os, requests ACTOR = "steadydata~youtube-transcript-bulk" URL = f"https://api.apify.com/v2/acts/{ACTOR}/run-sync-get-dataset-items" rows = requests.post( URL, params={"token": os.environ["APIFY_TOKEN"]}, json={'videos': ['https://www.youtube.com/watch?v=dQw4w9WgXcQ'], 'preferManualCaptions': True, 'includeTimestampedSnippets': True}, timeout=900, ).json() # every row carries a status; failures are records, not exceptions ok = [r for r in rows if r.get("status") == "ok"] print(len(ok), "rows delivered")
const ACTOR = "steadydata~youtube-transcript-bulk"; const url = `https://api.apify.com/v2/acts/${ACTOR}/run-sync-get-dataset-items` + `?token=${process.env.APIFY_TOKEN}`; const rows = await fetch(url, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "preferManualCaptions": true, "includeTimestampedSnippets": true}), }).then((r) => r.json()); // one object per delivered row, same shape every time console.log(rows.filter((r) => r.status === "ok").length, "rows");
Point an MCP client at Apify's hosted server with this dataset in the tools list, or run our own server locally. The field explanations in the table below travel with the schema, so your agent reads them straight from the platform instead of from this page.
https://mcp.apify.com?tools=steadydata/youtube-transcript-bulk # the tool arrives in your agent as steadydata--youtube-transcript-bulk
| Field | Type | Name | What it does |
|---|---|---|---|
videosrequired | array of string | Video URLs or IDs | YouTube video URLs (watch, shorts, youtu.be, embed) or bare 11-character video IDs. Max 500 per run. |
languages | array of string | Preferred languages | Language codes in order of preference, e.g. ["en", "nl"]. Leave empty to take the original-language track. |
preferManualCaptions | boolean | Prefer manual captions over auto-generated | When both exist for the chosen language, take the human-made track. |
includeTimestampedSnippets | boolean | Include timestamped snippets | Adds a snippets array with start time and duration per line, next to the plain text field. |
includeSrt | boolean | Include SRT subtitle format | Adds an srt field with a ready-to-use subtitle file per video. |
{
"videoId": string,
"status": string,
"title": string,
"channel": string,
"durationSeconds": integer,
"language": string,
"languageName": string,
"isAutoGenerated": boolean,
"availableLanguages": array,
"text": string,
"snippets": array,
"srt": string,
"errorCode": string,
"error": string,
"input": string
}| Field | Type | When it is filled |
|---|---|---|
videoId | string | |
status | string | Either 'ok' or 'error'. An error row carries errorCode and error, and leaves the data fields empty; it is never charged. |
title | string | |
channel | string | |
durationSeconds | integer | |
language | string | |
languageName | string | |
isAutoGenerated | boolean | |
availableLanguages | array | |
text | string | |
snippets | array | Filled when includeTimestampedSnippets is on; empty otherwise. |
srt | string | Filled when includeSrt is on; empty otherwise. |
errorCode | string | Filled on an error row only; a delivered row leaves it empty. |
error | string | Filled on an error row only; a delivered row leaves it empty. |
input | string | The input this row was built from, so a row can always be traced back. |
Channel profiles for up to 500 YouTube channels per run, by handle, id or URL: name, handle, subscribers, exact total views and video count, country, description, verified badge, external links, avatar and banner. No e-mail addresses. Pay only for delivered channels.
$2.50 per 1,000 · Channel fetchedEvery stream on a YouTube channel's Live tab, up to 100 channels per run: live now with viewers watching, scheduled with the start time, and past streams with views and duration. One row per stream, in YouTube's order. No viewer or chat data. Pay per delivered stream.
$1.00 per 1,000 · Stream listedFind YouTube channels by keyword: channel id, name, handle, subscriber count, video count, verified badge and thumbnail, ranked as YouTube ranks them. Up to 200 keywords per run. No email addresses or contact details. Only delivered channels are charged.
$1.00 per 1,000 · Channel listedAlready using this one? Ratings are the first thing other buyers look at, and this dataset has none yet. If it does a job for you, a rating on its Apify page is the one thing that helps. It takes a minute and it is the only thing we ask for.