# YouTube transcript with timestamps and SRT subtitles

**Use case:** 

Paste a YouTube video link and get the full transcript as plain text, a list of timestamped segments and a ready SRT subtitle file. Manual captions are preferred over auto-generated ones, and you can set preferred languages. Works with watch, youtu.be, Shorts and live links. No browser, no API key, no login needed.

## Input

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=arj7oStGLkU"
  ],
  "maxVideosPerChannel": 15,
  "languages": "en",
  "includeTimestamps": true,
  "includeSrt": true
}
```

## Output

```json
{
  "videoId": {
    "label": "Video ID"
  },
  "title": {
    "label": "Title"
  },
  "channel": {
    "label": "Channel"
  },
  "language": {
    "label": "Language"
  },
  "isAutoGenerated": {
    "label": "Auto captions",
    "format": "boolean"
  },
  "durationSec": {
    "label": "Duration, s",
    "format": "number"
  },
  "chars": {
    "label": "Characters",
    "format": "number"
  },
  "truncated": {
    "label": "Truncated",
    "format": "boolean"
  },
  "status": {
    "label": "Status"
  },
  "text": {
    "label": "Transcript"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "error": {
    "label": "Error"
  }
}
```

## How it works

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

The YouTube Transcripts & Subtitles: Bulk, Channels, Playlists Actor is ready to run with the inputs already set for "YouTube transcript with timestamps and SRT subtitles". [Sign up or log in](https://console.apify.com/create-task-from-example/CzDET4Rkaqda5O5Rf) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube transcript with timestamps and SRT subtitles" task

The YouTube Transcripts & Subtitles: Bulk, Channels, Playlists Actor will start running based on the input automatically. You can also change all the input fields, like video urls or ids, latest videos per channel or playlist, and more, to match your specific use case.

### 3. Receive the "YouTube transcript with timestamps and SRT subtitles" 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 video id, title, channel, 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 "YouTube transcript with timestamps and SRT subtitles" task via API](https://apify.com/stoplus/youtube-transcripts.md).

## FAQ

### What is the output of the YouTube transcript task?

The YouTube transcript task returns video ID, title, channel, language, duration, character count, transcript text, and optionally includes timestamps and SRT subtitle file.

### What languages can I get transcripts in?

Transcripts can be requested in any preferred caption language, with manual captions prioritized over auto-generated ones.

### Does the task require a YouTube API key or login?

The YouTube transcript task does not require a YouTube API key, login, or any proxy setup to run.

### How are the transcripts formatted?

Transcripts are provided as clean text, with options for timestamped segments and an SRT file format for subtitles.

### Can I automate this task to run on a schedule?

This task can be scheduled to run automatically using the Apify Console.

### What if a video has no captions?

Videos without captions come back as free, meaning you are not charged for those transcripts.

## About this Actor

This example demonstrates how to use [YouTube Transcripts & Subtitles: Bulk, Channels, Playlists](https://apify.com/stoplus/youtube-transcripts.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/stoplus/youtube-transcripts.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/stoplus/youtube-transcripts.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`).
