YouTube Transcript Scraper

Extract timestamped YouTube captions from video IDs or URLs.

by ApifyReady to run$0.0056 per result · $0.56 per 100 results

Example

You ask your agent

“Get the transcript of this YouTube video: youtube.com/watch?v=jNQXAC9IVRw”

You get

Text
All right, so here we are, in front of the elephants
Start (seconds)
1.2
Duration (seconds)
2.16
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

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

Response

{
  "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
}

Use it with your agent

Copy the prompt and paste it into your agent, then 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.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

Other tools for this job

Compare all 11 →

Questions

Is YouTube Transcript Scraper by Apify free?

Scrollport has no free tier: it costs $0.0056 per result ($0.56 per 100 results), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Apify?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.

Details

About this tool

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

All inputs and outputs

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Maximum number of records to return.

minimum: 1 · maximum: 50

Output

transcript_countnumber
transcriptsarray
Errors and limits

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