# YouTube Video Transcript with Timestamps from a URL

**Use case:** 

Paste YouTube video URLs and get the full transcript as plain text and timestamped segments, with word count and the language actually returned.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=iG9CE55wbtY",
    "https://www.youtube.com/watch?v=UF8uR6Z6KLc"
  ],
  "includeVideo": true,
  "includeChannel": false,
  "includeComments": false,
  "includeTranscript": true,
  "includeSearch": false,
  "language": "en",
  "country": "US",
  "commentsPages": 1
}
```

## Output

```json
{
  "video_id": {
    "label": "Video ID",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "views": {
    "label": "Views",
    "format": "integer"
  },
  "channel_title": {
    "label": "Channel title",
    "format": "string"
  },
  "channel_subscribers": {
    "label": "Subscribers",
    "format": "integer"
  },
  "comments_total": {
    "label": "Comments total",
    "format": "integer"
  },
  "transcript_word_count": {
    "label": "Words",
    "format": "integer"
  },
  "search_self_rank": {
    "label": "Self rank",
    "format": "integer"
  }
}
```

## How it works

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

The YouTube Video Scraper - 5 datasets per URL | $0.60/video Actor is ready to run with the inputs already set for "YouTube Video Transcript with Timestamps from a URL". [Sign up or log in](https://console.apify.com/create-task-from-example/A64czdwwSJOAaz5z2) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube Video Transcript with Timestamps from a URL" task

The YouTube Video Scraper - 5 datasets per URL | $0.60/video Actor will start running based on the input automatically. You can also change all the input fields, like video urls or ids, include video metadata, and more, to match your specific use case.

### 3. Receive the "YouTube Video Transcript with Timestamps from a URL" 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, views, 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 Video Transcript with Timestamps from a URL" task via API](https://apify.com/doesaiknow/youtube-scraper-5-datasets-from-one-video-url.md).

## FAQ

### What does this transcript task return?

The YouTube video transcript preset returns, for its example video URLs, the full English transcript as plain text, timestamped segments, word count and language returned, plus video metadata. The input takes up to 500 URLs.

### How do I get a YouTube transcript from a URL?

In the YouTube video transcript task, paste watch URLs, youtu.be links, Shorts links, embed links or bare 11-character IDs into Video URLs or IDs. Each video returns one row with its transcript.

### How do I get a transcript with timestamps?

YouTube Video Scraper's transcript field lists segments as text, start, end, duration and lang in seconds. Its transcript_text field holds the same content as one plain-text string with markup removed.

### Can I get a transcript of a video without subtitles?

YouTube Video Scraper reads published subtitles only. A video without them returns status partial with transcript_unavailable in partial_reasons; its other sections still arrive and the row bills as one video.

### Is it cheaper if I switch sections off?

YouTube Video Scraper charges the same per delivered video with one section or five. Switching a section off only skips fetching it; its fields return null and are listed in sections_skipped.

### How many videos can I transcribe in one run?

YouTube Video Scraper takes up to 500 video URLs or IDs per run; this preset ships with example URLs to replace. The same video pasted as a watch URL, youtu.be link or bare ID merges into one row and one charge.

### How much does a video transcript cost?

YouTube Video Scraper bills a transcript at $0.60 per video on the free plan and $0.10 or less on paid plans, plus a $0.002 start per run. Duplicates, cache hits and failures skip the per-video event; the $0.002 start still applies.

## About this Actor

This example demonstrates how to use [YouTube Video Scraper - 5 datasets per URL | $0.60/video](https://apify.com/doesaiknow/youtube-scraper-5-datasets-from-one-video-url.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/doesaiknow/youtube-scraper-5-datasets-from-one-video-url.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/doesaiknow/youtube-scraper-5-datasets-from-one-video-url.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`).
