---
title: "YouTube Data API Transcripts: Why It Fails | FetchTranscript"
description: "Why captions.download of the official YouTube Data API v3 only works for your own videos, what the quota costs, and how to get any public video’s transcript."
url: "https://fetchtranscript.com/blog/youtube-data-api-transcript"
markdown: "https://fetchtranscript.com/blog/youtube-data-api-transcript.md"
---

Comparisons

# Can the YouTube Data API Get Transcripts? Not Really

Why captions.download of the official YouTube Data API v3 only works for your own videos, what the quota costs, and how to get any public video’s transcript.

By FetchTranscript team Published March 17, 2026 Updated November 23, 2026 5 min read

The official YouTube Data API v3 cannot give you the transcript of an arbitrary public video. It can list a video's caption tracks, but its `captions.download` method requires OAuth authorization and only works for videos you own or are allowed to edit. For anyone else's video you need another route: the captions as the YouTube player loads them, read by an open-source library or a transcript API. Here is exactly where the official API stops, what its quota costs, and what to use instead.

## What the Data API offers for captions

The Data API has a `captions` resource with a handful of methods. Two of them matter for reading:

- **`captions.list`**: returns the caption tracks of a video (their ID, language, name, and whether they are automatic). It costs **50 quota units** per call.
- **`captions.download`**: returns the content of one track, in its original format or converted to SRT, WebVTT and a few others. It costs **200 quota units** per call.

On paper that looks like everything you need. In practice, the documentation of [captions.download](https://developers.google.com/youtube/v3/docs/captions/download) states the catch: the request must be authorized with OAuth 2.0, and it succeeds only when the authorized user can edit the video, or when the track's owner has enabled third-party contributions. An API key alone is not accepted for downloads at all.

So a call like the one below works for a video on your own channel, after you have gone through the OAuth consent screen, and fails with `403 forbidden` for a random public video:

```bash
curl -H "Authorization: Bearer YOUR_OAUTH_ACCESS_TOKEN" \
  "https://www.googleapis.com/youtube/v3/captions/CAPTION_TRACK_ID?tfmt=srt"
```

That design makes sense from Google's side: the captions API exists so that creators and their tools can manage subtitles, not so that third parties can collect them.

## The quota math

Even when you are allowed to download, the quota is tight. A new Google Cloud project gets **10,000 units per day** by default. One transcript needs a `captions.list` call to find the track ID (50 units) and a `captions.download` call (200 units): 250 units, or about **40 transcripts a day**. If you also search for videos first, each `search.list` costs 100 units, so a search plus ten transcripts uses 2,600 units, a quarter of the day.

You can apply for a quota increase through Google's audit and quota extension process, but it requires describing your use case, complying with the API terms and waiting for review. For a channel managing its own subtitles, the default quota is enough. For research, analytics or AI work across many channels, it is not, and the ownership rule blocks it anyway. The same quota squeeze applies to searching, which we cover in [YouTube search API without quota limits](https://fetchtranscript.com/blog/youtube-search-without-quota.md).

## Where automatic captions fit in

Auto-generated captions (ASR) add another wrinkle. They appear in `captions.list` with the `trackKind` `asr` (automatic speech recognition), but downloading them follows the same ownership rule. For your own videos you can download them; for anyone else's you cannot. Since automatic captions are what most videos have, that rules out the official API for nearly all transcript use cases outside your own channel.

## The alternatives that do work

Every public YouTube video with captions exposes them to its web player, which is why you can click "Show transcript" under a video. Tools that read transcripts at scale use that same data. You have three practical options.

| Option                                   | Cost                                    | Works from servers         | Best for                                   |
| ---------------------------------------- | --------------------------------------- | -------------------------- | ------------------------------------------ |
| YouTube Data API `captions.download`     | free within quota                       | yes                        | your own channel's videos                  |
| `youtube-transcript-api` or `yt-dlp`     | free (plus proxies at scale)            | often blocked on cloud IPs | personal projects, local scripts           |
| A transcript API such as FetchTranscript | 100 free calls/month, then $1 per 1,000 | yes                        | production apps, batches, any public video |

The open-source tools are great on your own computer. On a cloud server, YouTube blocks many of their requests and you end up buying residential proxies; the trade-offs are detailed in [youtube-transcript-api alternatives](https://fetchtranscript.com/blog/youtube-transcript-api-alternative.md).

## Getting a transcript without OAuth

With a transcript API, a single request with an API key returns the captions of any public video, manual or auto-generated:

```bash
curl -H "X-API-Key: yt_your_api_key" \
  "https://api.fetchtranscript.com/v1/transcripts/dQw4w9WgXcQ?format=json"
```

No track ID lookup is needed: without `lang` you get the video's original language, its manual track if there is one and the automatic one otherwise, and the response tells you which (`is_generated`). To choose a language, add `lang=es`; to see what is available, call `/languages`, which returns every track with `language_code`, `language`, `is_generated` and `is_translatable`.

In Python, with plain `requests`:

```python
import os
import requests

API = "https://api.fetchtranscript.com/v1"
HEADERS = {"X-API-Key": os.environ["FETCHTRANSCRIPT_API_KEY"]}

tracks = requests.get(f"{API}/transcripts/dQw4w9WgXcQ/languages", headers=HEADERS, timeout=60).json()
print([t["language_code"] for t in tracks["languages"]])

srt = requests.get(
    f"{API}/transcripts/dQw4w9WgXcQ",
    headers=HEADERS,
    params={"format": "srt", "lang": "en"},
    timeout=60,
).json()["text"]
```

In JavaScript:

```javascript
// Node 18+ as an ES module (a .mjs file, or "type": "module"), for the top-level await
const res = await fetch(
  "https://api.fetchtranscript.com/v1/transcripts/dQw4w9WgXcQ?format=text",
  { headers: { "X-API-Key": process.env.FETCHTRANSCRIPT_API_KEY } }
);
const data = await res.json();
if (!res.ok) throw new Error(data.detail.error); // e.g. transcripts_disabled
console.log(data.language, data.is_generated, data.text.slice(0, 200));
```

Formats are `json` (timed segments), `text`, `srt`, `vtt` and `chunks` (for embeddings), one credit each. Failed calls, such as a video whose owner disabled captions (404 `transcripts_disabled`), are free. The full walkthrough is in [How to get a YouTube transcript with Python](https://fetchtranscript.com/blog/get-youtube-transcript-python.md), and subtitle files specifically in [How to download YouTube subtitles](https://fetchtranscript.com/blog/download-youtube-subtitles.md).

## Mapping Data API concepts

If you started with the official API, these equivalents help:

| YouTube Data API v3                                         | FetchTranscript                                                          |
| ----------------------------------------------------------- | ------------------------------------------------------------------------ |
| `captions.list` (50 units, track IDs)                       | `GET /v1/transcripts/{video_id}/languages` (1 credit)                    |
| `captions.download` with `tfmt=srt` (200 units, owner only) | `GET /v1/transcripts/{video_id}?format=srt` (1 credit, any public video) |
| `trackKind` `asr`                                           | `is_generated: true`                                                     |
| `videos.list` with `part=snippet,statistics`                | `GET /v1/videos/{video_id}`                                              |
| `commentThreads.list`                                       | `GET /v1/videos/{video_id}/comments`                                     |
| `search.list` (100 units)                                   | `GET /v1/search?q=...`                                                   |
| OAuth 2.0 or API key, daily quota                           | API key, 500 requests per minute                                         |

The Data API stays the right tool for anything that writes to YouTube (uploading videos, managing your playlists, posting captions to your own videos) and for data only an owner can see, such as private analytics. For reading public data at scale, a scraping-based API covers more ground with less setup: [video metadata](https://fetchtranscript.com/youtube-video-metadata-api.md), [comments](https://fetchtranscript.com/youtube-comments-api.md), [channels](https://fetchtranscript.com/youtube-channel-api.md), [playlists](https://fetchtranscript.com/youtube-playlist-api.md) and [search](https://fetchtranscript.com/youtube-search-api.md) use the same key and the same credits.

## Is it allowed?

Reading public captions is different from using the official API, and it is fair to ask whether it is permitted. The short version: transcripts are the creator's content, YouTube's terms restrict automated access, and what you may do with the data depends on your jurisdiction and your use. We wrote a dedicated, practical guide: [Is it legal to scrape YouTube?](https://fetchtranscript.com/blog/is-it-legal-to-scrape-youtube.md).

## Frequently asked questions

### Can I download captions of any video with the YouTube Data API?

No. `captions.download` needs OAuth and only works for videos the authorized account can edit, or tracks whose owner allows third-party contributions. For other videos it returns a 403 error.

### Can I use an API key instead of OAuth for captions?

Not for the text. `captions.list` only returns information about the tracks, and `captions.download`, the one method that returns the content, always requires OAuth.

### How many transcripts can I download per day with the default quota?

About 40: each needs a `captions.list` call (50 units) and a `captions.download` call (200 units) out of the 10,000 daily units, and only for videos you own.

### Does FetchTranscript use the YouTube Data API?

No. It reads the captions the YouTube player shows, so it works for any public video with captions and does not consume your Google Cloud quota. You authenticate with a FetchTranscript key from the [sign-up page](https://fetchtranscript.com/auth/sign-up).

### What about videos without any captions?

Neither approach can return a transcript that does not exist. The API answers 404 `transcripts_disabled` or `no_transcript_found` for free; for such videos you would need to run speech-to-text on the audio yourself.

Try it on your own videos

100 free calls every month, no credit card. Then $1 per 1,000 calls, only for the calls that succeed.

[Get your free API key](https://fetchtranscript.com/auth/sign-up)[Read the docs](https://fetchtranscript.com/docs.md)

## Related guides

- [youtube-transcript-api Alternative: When the Library Breaks](https://fetchtranscript.com/blog/youtube-transcript-api-alternative.md)

  Why the youtube-transcript-api Python library gets RequestBlocked on servers, what proxies really cost, and when a hosted transcript API is the better choice.

- [YouTube Search API Without Quota Limits](https://fetchtranscript.com/blog/youtube-search-without-quota.md)

  The YouTube Data API allows about 100 searches a day. How its quota works, what it costs to go beyond it, and how to search YouTube from code without units.

- [How to Download YouTube Subtitles as SRT or VTT](https://fetchtranscript.com/blog/download-youtube-subtitles.md)

  Download the subtitles of a YouTube video as SRT, VTT or text, pick the language, tell manual captions from auto-generated ones, and batch it with code.

[← All articles](https://fetchtranscript.com/blog.md)
