YouTube data

YouTube Channel Transcripts: every video of a channel, one run

Transcripts for the recent videos of a YouTube channel in one run, up to 50 channels: give a handle or channel URL, get one row per video with full transcript text, language, duration and views. Videos without captions cost nothing. Pay per transcript.

$2.50per 1,000 · Transcript fetched

One video transcript delivered. Channels that fail and videos without captions are never charged.

Call it from your code

curl
ACTOR=steadydata~youtube-channel-transcripts
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 '{"channels": ["@RickAstleyYT"], "maxVideosPerChannel": 20, "preferManualCaptions": true}'
python
import os, requests

ACTOR = "steadydata~youtube-channel-transcripts"
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={'channels': ['@RickAstleyYT'], 'maxVideosPerChannel': 20, 'preferManualCaptions': 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")
javascript
const ACTOR = "steadydata~youtube-channel-transcripts";
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({"channels": ["@RickAstleyYT"], "maxVideosPerChannel": 20, "preferManualCaptions": true}),
}).then((r) => r.json());

// one object per delivered row, same shape every time
console.log(rows.filter((r) => r.status === "ok").length, "rows");

Use it in an agent

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.

mcp url
https://mcp.apify.com?tools=steadydata/youtube-channel-transcripts

# the tool arrives in your agent as steadydata--youtube-channel-transcripts

Input

FieldTypeNameWhat it does
channels
required
array of stringChannelsOne per row, up to 50: an @handle, a channel id (UC...) or any youtube.com channel URL.
maxVideosPerChannelintegerMax videos per channelCost ceiling per channel, newest first. Each delivered transcript is one charged event.
languagesarray of stringPreferred transcript languagesLanguage codes in order of preference, for example en, nl, de. Empty takes the video's default track.
preferManualCaptionsbooleanPrefer manual captionsOn, a human-made track wins over an auto-generated one when both exist.
includeTimestampedSnippetsbooleanInclude timestamped snippetsOn, each row also carries the transcript as timed snippets. Off keeps rows small.

What you get back

output schema, one object per delivered row
{
  "channelHandle": string | null,
  "channelId": string | null,
  "channelName": string | null,
  "videoId": string | null,
  "url": string | null,
  "title": string | null,
  "publishedText": string | null,
  "viewCount": integer | null,
  "durationSeconds": integer | null,
  "language": string | null,
  "isAutoGenerated": boolean | null,
  "text": string | null,
  "snippets": array | null,
  "status": string | null,
  "input": string | null,
  "errorCode": string | null,
  "error": string | null,
  "skippedNoCaptions": integer | null
}
FieldTypeWhen it is filled
channelHandlestring, null
channelIdstring, null
channelNamestring, null
videoIdstring, null
urlstring, null
titlestring, null
publishedTextstring, null
viewCountinteger, null
durationSecondsinteger, null
languagestring, null
isAutoGeneratedboolean, null
textstring, null
snippetsarray, null
statusstring, nullEither 'ok' or 'error'. An error row carries errorCode and error, and leaves the data fields empty; it is never charged.
inputstring, nullThe input this row was built from, so a row can always be traced back.
errorCodestring, nullFilled on an error row only; a delivered row leaves it empty.
errorstring, nullFilled on an error row only; a delivered row leaves it empty.
skippedNoCaptionsinteger, null

Related datasets

Already 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.

Open the Apify page