# YouTube Shorts Transcript & Subtitles Scraper

**Use case:** 

Extract clean transcripts, captions, and metadata from YouTube Shorts URLs in bulk. Deduplicated auto-captions, multi-language support, and MCP-ready JSON output; $0 charged on failed Shorts.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/shorts/dQw4w9WgXcQ"
  ],
  "searchQueries": [],
  "maxVideos": 5,
  "languages": [
    "en"
  ],
  "allowAutoTranslation": true,
  "includeTimestamps": true,
  "includeMetadata": true,
  "includeRagChunks": false,
  "ragChunkTokens": 400,
  "ragChunkOverlapTokens": 50,
  "stripSoundMarkers": true,
  "concurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "videoId": {
    "label": "Video ID",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "channelName": {
    "label": "Channel",
    "format": "string"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "isAutoGenerated": {
    "label": "Auto-Generated",
    "format": "boolean"
  },
  "wordCount": {
    "label": "Words",
    "format": "integer"
  },
  "durationSeconds": {
    "label": "Duration (s)",
    "format": "integer"
  },
  "ragChunkCount": {
    "label": "RAG Chunks",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  }
}
```

## How it works

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

The YouTube Transcript Scraper — Subtitles, Chapters & RAG (MCP) Actor is ready to run with the inputs already set for "YouTube Shorts Transcript & Subtitles Scraper". [Sign up or log in](https://console.apify.com/create-task-from-example/LE8FrK0BUMUciucfC) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube Shorts Transcript & Subtitles Scraper" task

The YouTube Transcript Scraper — Subtitles, Chapters & RAG (MCP) Actor will start running based on the input automatically. You can also change all the input fields, like youtube urls or video ids, youtube search queries (optional), and more, to match your specific use case.

### 3. Receive the "YouTube Shorts Transcript & Subtitles Scraper" 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 Shorts Transcript & Subtitles Scraper" task via API](https://apify.com/datapipestudio/youtube-transcript-rag.md).

## FAQ

### What specific data does the YouTube Shorts Transcript & Subtitles Scraper return?

The YouTube Shorts Transcript & Subtitles Scraper returns video ID, title, channel name, language, whether captions are auto-generated, word count, duration in seconds, and status.

### Can this task handle multiple languages for subtitles?

The YouTube Shorts Transcript & Subtitles Scraper supports multi-language captions, as per the languages specified in the input.

### What different types of URLs can I provide for the YouTube Shorts Transcript Scraper?

The YouTube Shorts Transcript & Subtitles Scraper accepts YouTube Shorts URLs, allowing bulk extraction of transcripts from up to 5 specified URLs.

### Does this task charge for failed or unavailable YouTube Shorts?

The YouTube Shorts Transcript & Subtitles Scraper charges $0 for failed or unavailable Shorts.

### Is there any notable metadata included in the output?

The output of the YouTube Shorts Transcript & Subtitles Scraper includes rich video metadata such as title, channel name, duration, and language.

### How does the YouTube Shorts Transcript & Subtitles Scraper ensure clean transcripts?

The YouTube Shorts Transcript & Subtitles Scraper deduplicates auto-captions, removes noise, and stitches paragraphs for clearer readability.

### How can I connect this task to an AI agent?

The YouTube Shorts Transcript & Subtitles Scraper is MCP-ready, allowing easy integration with AI agents through the Apify MCP server.

## About this Actor

This example demonstrates how to use [YouTube Transcript Scraper — Subtitles, Chapters & RAG (MCP)](https://apify.com/datapipestudio/youtube-transcript-rag.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/datapipestudio/youtube-transcript-rag.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/datapipestudio/youtube-transcript-rag.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`).
