# Example: transcript of one TED talk

**Use case:** 

Runs the YouTube Transcript Scraper on one public TED talk and returns its transcript as text with timestamps.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=iG9CE55wbtY"
  ],
  "languages": [
    "en"
  ],
  "fallbackToAnyLanguage": true,
  "includeAutoGenerated": true,
  "maxVideosPerSource": 50,
  "includeSegments": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "channelName": {
    "label": "Channel",
    "format": "string"
  },
  "language": {
    "label": "Transcript language",
    "format": "string"
  },
  "isAutoGenerated": {
    "label": "Auto-generated",
    "format": "boolean"
  },
  "durationSeconds": {
    "label": "Duration, seconds",
    "format": "number"
  },
  "transcriptAvailable": {
    "label": "Transcript available",
    "format": "boolean"
  },
  "reason": {
    "label": "Why there is no transcript",
    "format": "string"
  },
  "url": {
    "label": "Video URL",
    "format": "string"
  },
  "transcriptText": {
    "label": "Transcript",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The YouTube Transcript Scraper: Text & JSON, $1.90/1K Transcripts Actor is ready to run with the inputs already set for "Example: transcript of one TED talk". [Sign up or log in](https://console.apify.com/create-task-from-example/XKJbRq59gTraNGbyO) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Example: transcript of one TED talk" task

The YouTube Transcript Scraper: Text & JSON, $1.90/1K Transcripts Actor will start running based on the input automatically. You can also change all the input fields, like youtube urls, preferred languages, and more, to match your specific use case.

### 3. Receive the "Example: transcript of one TED talk" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, channel, transcript language, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Example: transcript of one TED talk" task via API](https://apify.com/actorforgehq/youtube-transcript-scraper.md).

## FAQ

### What does one output row of the TED talk transcript example task contain?

The TED talk transcript example task returns one row per video: title, channelName, durationSeconds, language, isAutoGenerated, transcriptText, timed segments (start, duration, text), transcriptAvailable and reason.

### What input does the TED talk transcript example task use and how do I change it?

The TED talk transcript example task takes one video URL (watch?v=iG9CE55wbtY) and languages ["en"]. Replace urls with other videos, Shorts, playlists, channels or bare ids, and set languages as codes in order of preference.

### Does the TED talk transcript example task need a YouTube account or API key?

The TED talk transcript example task needs no YouTube account, cookies or API key. The YouTube Transcript Scraper reads only the captions that YouTube serves publicly to any visitor and never signs in.

### What does the TED talk transcript example task return for a video without captions?

For a video without captions, the TED talk transcript example task returns a row with transcriptAvailable false and a reason. The YouTube Transcript Scraper does not transcribe audio itself and does not translate.

### Which caption track does the TED talk transcript example task return?

The TED talk transcript example task returns the first of your languages the video has, manual captions before auto-generated ones. The language and isAutoGenerated fields show which track you got.

### How do I run the TED talk transcript example task on a schedule or from an AI agent?

To run the TED talk transcript example task on a schedule, use Apify Schedules, with a small maxVideosPerSource for channel links. The YouTube Transcript Scraper can also be called through the Apify API or by AI agents over the Apify MCP server.

### Which videos can the TED talk transcript example task not read?

The TED talk transcript example task skips private, members-only and age-restricted videos with a reason, because the Actor never signs in. It has no keyword search: give it links, playlists or channels.

## About this Actor

This example demonstrates how to use [YouTube Transcript Scraper: Text & JSON, $1.90/1K Transcripts](https://apify.com/actorforgehq/youtube-transcript-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/actorforgehq/youtube-transcript-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/actorforgehq/youtube-transcript-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
