# YouTube Transcript

> Fetch transcripts from YouTube videos with precise timing information for content analysis and accessibility.

Source: https://cotera.co/docs/reference/tools/individual-tools/youtube-transcript

---

**Authentication Type:** API Key\
**Description:** Fetch transcripts from YouTube videos with precise timing information for content analysis and accessibility.

***

## Authentication

To authenticate, you'll need a RapidAPI key for the [YouTube Transcriptor API](https://rapidapi.com/benrhzala90/api/youtube-transcriptor/pricing).

**Note:** The free plan includes 20 requests per month.

***

## Transcript Operations

Retrieve video transcript data.

### Get Video Transcript

Fetch the transcript for a YouTube video by video ID.

**Operation Type:** Mutation (Write)

**Parameters:**

* **videoId** `string` (required): The YouTube video ID to get transcript for (e.g., "dQw4w9WgXcQ")

**Returns:**

* **transcript** `array of objects`: Array of transcript segments with timing information
  * **text** `string`: The transcript text segment
  * **start** `number`: Start time in seconds
  * **duration** `number`: Duration of the segment in seconds

**Example Usage:**

```json
{
  "videoId": "dQw4w9WgXcQ"
}
```

***

## Common Use Cases

**Content Analysis:**

* Extract video content for text analysis and sentiment research
* Create searchable transcripts for video content libraries
* Analyze speech patterns and keyword usage in videos

**Accessibility:**

* Generate closed captions and subtitles for videos
* Create text-based summaries of video content
* Enable text search within video content

**Research and Documentation:**

* Extract quotes and key points from educational videos
* Create timestamped notes and references
* Analyze presentation structure and content flow

