YouTube API for transcripts, comments, channels and search

Fetch transcripts in every available language, video metadata and chapters, comments, channel details and video lists, and keyword search, as clean JSON.

No credit card needed. One API key works on every endpoint.

Endpoints and prices

EndpointWhat you getPrice
GET /v1/youtube/transcripts/{video_id}Get a transcript1 credit / call$1 per 1,000 calls
GET /v1/youtube/transcripts/{video_id}/languagesList transcript languages1 credit / call$1 per 1,000 calls
GET /v1/youtube/videos/{video_id}Get video metadata1 credit / call$1 per 1,000 calls
GET /v1/youtube/videos/{video_id}/chaptersGet video chapters1 credit / call$1 per 1,000 calls
GET /v1/youtube/videos/{video_id}/commentsList video comments1 credit / 100 comments$0.010 per 1,000 comments
GET /v1/youtube/channels/{channel_id}Get a channel1 credit / call$1 per 1,000 calls
GET /v1/youtube/channels/{channel_id}/videosList channel videos1 credit / call$1 per 1,000 callsup to 100 items per call
GET /v1/youtube/searchSearch videos1 credit / call$1 per 1,000 callsup to 50 items per call

Make your first request

GEThttps://api.scrapecrate.com/v1/youtube/transcripts/{video_id}
curl "https://api.scrapecrate.com/v1/youtube/transcripts/dQw4w9WgXcQ" \
  -H "X-API-Key: YOUR_API_KEY"

Response:

{
  "data": {
    "video_id": "dQw4w9WgXcQ",
    "language": "en",
    "is_generated": false,
    "text": "We're no strangers to love. You know the rules and so do I.",
    "segments": [
      {
        "text": "We're no strangers to love",
        "start": 18.6,
        "duration": 3.2
      },
      {
        "text": "You know the rules and so do I",
        "start": 22.4,
        "duration": 4.1
      }
    ]
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 1,
    "credits_remaining": 9999
  }
}

Illustrative values: a real response carries the live data you ask for.

Lists are paginated with a cursor: pass pagination.next_cursor as cursor to get the next page. Each page is one call. For example, /v1/youtube/videos/{video_id}/comments:

curl "https://api.scrapecrate.com/v1/youtube/videos/dQw4w9WgXcQ/comments" \
  -H "X-API-Key: YOUR_API_KEY"

What people build with it

AI and RAG pipelines

Feed video transcripts to LLMs for summaries, Q&A and embeddings, in the video's language or translated.

Content research

Track what competitors publish: channel video lists, views, likes and upload dates.

Audience insight

Read what viewers say in comments, sorted by top or newest, page by page.

Video SEO

Pull titles, tags, chapters and descriptions to analyse what ranks for a keyword.

Pricing

  • 1 credit per successful call on every endpoint (comments: 1 credit per 100), whatever it returns
  • $1 per 1,000 calls, volume packs down to half price
  • 100 free credits every month (100 calls), no credit card
  • Starter plan: 22k calls a month for $19
  • Only successful calls are billed
  • Credits are valid for 12 months and work on every API

See the full price list →

Also for AI assistants (MCP)

The ScrapeCrate MCP server exposes every endpoint of this API as a tool for Claude, Cursor and other MCP clients. Run it with uvx scrapecrate-mcp; see the MCP guide.

Frequently asked questions

Do I need a YouTube Data API key or OAuth?
No. You only need your API key from the dashboard; there is no Google quota to manage.
Which languages are supported for transcripts?
Every caption track a video has, manual or auto-generated; ask for another language with `lang` and it is translated automatically when possible.
What happens if a video has no captions?
You get a 404 error and you are not charged. Only successful calls cost credits.
How are calls billed?
1 credit per successful call. Comments cost 1 credit per 100 comments returned, so a full page of 100 comments is 1 credit.
Am I charged for failed requests?
No. Only successful calls cost credits; errors, timeouts and not-found results are free.
Can I use the same API key for the other ScrapeCrate APIs?
Yes. One account, one API key and one credit balance work on every API: YouTube, Google Maps, Trustpilot, Meta Ad Library.

Start using the YouTube API

100 free credits every month. No credit card required.