Skip to main content
ScrapingRabbit

YouTube data API

YouTube scraper API

Transcripts, channel details, video tags and comments from YouTube as JSON, with no YouTube Data API quota to manage on your side.

YouTube endpoints

  • YouTube Transcript API

    Convert any YouTube video to a transcript with timestamps.

    GET /youtube/transcript?v={videoId}

  • YouTube Channel API

    See a channel's subscribers, views, video count and links.

    GET /youtube/channel?channel_id={@handle|id}

  • YouTube Tags API

    See the tags and keywords any YouTube video uses.

    GET /youtube/video?v={videoId}

  • YouTube Comments API

    Read the top comments of any YouTube video with likes and replies.

    GET /youtube/comments?v={videoId}

  • YouTube Channel ID API

    Turn a YouTube @handle into the channel ID.

    GET /youtube/resolve?handle={handle}

  • YouTube Channel Banner API

    Get a channel's full-size banner and profile picture.

    GET /youtube/channel/banner?channel_id={channel}

Example request

This is the YouTube Transcript API request. The other endpoints work the same way.

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

Example response

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

Frequently asked questions

How is this different from the YouTube Data API?

The official API needs a Google Cloud project and has a daily quota. This is a separate service that you call with a plain GET request and that returns the data as JSON. It does not use your Google quota.

What YouTube data can I get?

Video transcripts, channel details, video tags and comments. Each is listed above with an example response.

Do all videos have transcripts?

No. A video needs captions, either added by the owner or generated by YouTube. When there are none, the API answers that nothing was found.

Can I try it first?

Yes. Every endpoint has a free browser tool that calls the same API.

Ready to build?

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