# Extract a YouTube transcript from a video URL

**Use case:** 

Get timestamped segments, plain text, SRT, and video metadata from a single public YouTube video for quoting, review, or research.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "channelUrl": "https://www.youtube.com/@mkbhd",
  "searchQuery": "how to use ChatGPT for business",
  "maxResults": 10,
  "language": "en",
  "includeMetadata": true,
  "outputFormat": "all",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "title": {
    "label": "Video title",
    "format": "string"
  },
  "channelName": {
    "label": "Channel name",
    "format": "string"
  },
  "viewCount": {
    "label": "View count",
    "format": "integer"
  },
  "transcriptText": {
    "label": "Full transcript (plain text)",
    "format": "string"
  },
  "tokenEstimate": {
    "label": "Estimated token count",
    "format": "integer"
  },
  "status": {
    "label": "Extraction status",
    "format": "string"
  }
}
```

## 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.