Skip to main content
ScrapingRabbit

API

YouTube Transcript API

Convert any YouTube video to a transcript with timestamps. Returns clean JSON from one GET request.

Request

One GET request to /youtube/transcript?v={videoId}

curl "https://scrapingrabbit.com/youtube/transcript?v=dQw4w9WgXcQ"

Example response

A real answer, shortened: long lists show three items and links have their tracking parameters removed.

{
  "success": true,
  "message": "YouTube transcript retrieved successfully",
  "data": {
    "videoId": "dQw4w9WgXcQ",
    "transcript": [
      {
        "start": 1.36,
        "duration": 1.68,
        "text": "[♪♪♪]"
      },
      {
        "start": 18.64,
        "duration": 3.24,
        "text": "♪ We're no strangers to love ♪"
      },
      {
        "start": 22.64,
        "duration": 4.32,
        "text": "♪ You know the rules and so do I ♪"
      }
    ],
    "language": "en",
    "isAutoGenerated": false
  },
  "meta": {
    "timestamp": "2026-11-27T19:45:17.520Z",
    "apiVersion": "1.0",
    "responseTime": "1ms",
    "engine": "youtube_transcript",
    "videoId": "dQw4w9WgXcQ",
    "language": "en",
    "country": "US"
  }
}

What developers build with it

Turn videos into articles

Pull the spoken words into a draft you can edit into a blog post or newsletter.

Research faster

Search a long talk or lecture as text instead of scrubbing through the video.

Feed your own tools

Send transcripts to a summary, search or AI pipeline through one JSON call.

Limits to plan for

  • A transcript exists only when the video has captions, written by the creator or generated by YouTube.
  • Private videos and videos with captions turned off return no transcript.
  • Auto-generated captions can contain mistakes, especially with names and technical terms.
  • Public requests are limited to 100 per 15 minutes per IP address. Some routes have a lower limit.

Frequently asked questions

How do I convert a YouTube video to a transcript?

Paste the video's link into the box above and press Get results. The page reads the video's captions and shows them as text with a timestamp on each line, ready to copy.

Is the YouTube transcript extractor free?

Yes. You can use it without an account. To avoid abuse there is a daily limit per visitor. If you need more, use the API.

Why does a video show 'no transcript found'?

The video has no caption track. This happens when the creator disabled captions or when YouTube has not generated automatic ones, for example for very new or music-only videos.

Does it work for auto-generated captions?

Yes. If YouTube generated captions for the video we return them. They may be less accurate than captions written by the creator.

Can I get the transcript as JSON?

Yes. The ScrapingRabbit API returns each caption line with its start time and duration. See the endpoint shown on this page.

Can I copy the transcript without timestamps?

Yes. Use the 'Copy text' button for plain text, or 'Copy with timestamps' to keep the time of each line.

Guides

Ready to build?

See how access works, or read the shared response format and error codes.