YouTube Transcript Scraper

Apify

Extract timestamped YouTube captions from video IDs or URLs.

Current price
$0.0056/result
Availability
Ready to run
Last accepted verification

What this API does

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

Agents select this operation with tool ID apify.streamers-youtube-scraper-transcript-preset, then inspect its current executable contract before a run.

Public input and output shape

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Maximum number of records to return.

minimum: 1 · maximum: 50

Output

languagestring

Returned language value.

segmentsarray

Returned segments value.

successboolean

Returned success value.

video_idstring

Returned video id value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

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

Output

{
  "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"
}
Teaching errors and limitations

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

Updated
18 August 2026

Use YouTube Transcript Scraper with Scrollport

Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.