# YouTube Transcript Scraper

Apify

Extract timestamped YouTube captions from video IDs or URLs.

## Use this tool with your AI agent

1. Copy the prompt
2. Paste it into your agent
3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use YouTube Transcript Scraper (tool ID: apify.streamers-youtube-scraper-transcript-preset). Ask me for the details you need, then show me the result.

**Already connected:** Your agent can use that connection.

**New user:** Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

**Job:** [Search YouTube videos and channels](https://scrollport.com/tools/youtube-data-api)

**Current price:** $0.0056/result

**Availability:** Ready to run

## Tool details

**About this tool**

Extract available public YouTube captions as time-coded transcript segments for one video.

**Inputs and outputs**

### Input

`input` object · required

Provider-specific public source, URL or search criteria.

`maxItems` integer · optional

Maximum number of records to return.

minimum: 1 · maximum: 50

### Output

`transcript_count` number

Returned transcript count value.

`transcripts` array

Returned transcripts value.

**Example request and output**

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

### Request

```
{
  "tool_id": "apify.streamers-youtube-scraper-transcript-preset",
  "input": {
    "input": {
      "videoId": "jNQXAC9IVRw",
      "language": "en",
      "metadata": true
    },
    "maxItems": 1
  }
}
```

### Output

```
{
  "transcripts": [
    {
      "success": true,
      "language": "en",
      "segments": [
        {
          "text": "All right, so here we are, in front of the elephants",
          "start_seconds": 1.2,
          "duration_seconds": 2.16
        }
      ],
      "video_id": "jNQXAC9IVRw"
    }
  ],
  "transcript_count": 1
}
```

**Errors and limitations**

No listing-specific teaching errors are published. Inspect the tool before running to receive the current schema and error guidance.

---

Canonical page: https://scrollport.com/tools/providers/apify/streamers-youtube-scraper-transcript-preset
