# Collect YouTube transcripts from a topic search

**Use case:** 

Use this when you need transcripts from YouTube videos found by a keyword search for research or review, with title, channel, and transcript text returned.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "channelUrl": "https://www.youtube.com/@mkbhd",
  "searchQuery": "remote work productivity",
  "maxResults": 5,
  "language": "en",
  "includeMetadata": true,
  "outputFormat": "plain_text",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "title": {
    "label": "Video title",
    "format": "string"
  },
  "transcriptText": {
    "label": "Full transcript (plain text)",
    "format": "string"
  },
  "wordCount": {
    "label": "Word count",
    "format": "integer"
  },
  "tokenEstimate": {
    "label": "Estimated token count",
    "format": "integer"
  },
  "languageUsed": {
    "label": "Language used",
    "format": "string"
  },
  "isAutoGenerated": {
    "label": "Auto-generated captions",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Transcript and Subtitle Data Scraper](https://apify.com/khadinakbar/youtube-transcript-extractor) with a specific input configuration. Visit the [Actor detail page](https://apify.com/khadinakbar/youtube-transcript-extractor) to learn more, explore other use cases, and run it yourself.