Subtext

YouTube Captions API vs YouTube Data API v3

Google's official YouTube Data API v3 has a captions.download endpoint, so most developers try it first and immediately hit HTTP 403 Forbidden. That endpoint only lets channel owners download captions from their own videos; it cannot read public transcripts from third-party channels.

By Subtext

Read Subtext API docs Get a free API key Try free in browser

Why YouTube Data API v3 captions.download fails with 403

According to Google's YouTube Data API v3 documentation, calling captions.download requires OAuth 2.0 authorization (such as the youtube.force-ssl scope) from a Google account that has edit permission on the video. An API key alone is rejected, and OAuth from your own Google account is rejected for any video you do not own or manage.

Even on your own channel, the quota math is tight:

Side-by-side comparison

Dimension YouTube Data API v3 (captions.*) Subtext REST API (/api/v1)
Works on any public video No (channel owner / manager OAuth required) Yes, any public YouTube video with captions
Authentication Google Cloud project + OAuth 2.0 consent flow Single Bearer API key (stx_...) or MCP OAuth 2.1
Quota / rate limits 250 units per video (list + download) out of 10,000/day default Credit-based (1 credit per returned transcript, /v1/languages free, 120 req/min)
Output formats SRT, SBV, VTT, TTML JSON segments with timestamps, plain text, Markdown, SRT, WebVTT
Uploading or editing captions Yes (captions.insert, update, delete) No (read-only)

Reading public YouTube transcripts with Subtext

If your app needs captions from videos uploaded by other creators (for search, summarization, study tools, or RAG pipelines), call GET https://youtubevideototranscript.com/api/v1/transcript with a Bearer API key instead of OAuth:

export SUBTEXT_API_KEY=stx_...
curl -sS "https://youtubevideototranscript.com/api/v1/transcript?video=arj7oStGLkU&format=json" \
  -H "Authorization: Bearer $SUBTEXT_API_KEY"

Need to pick a specific language track first? Call GET https://youtubevideototranscript.com/api/v1/languages?video=arj7oStGLkU. Listing caption tracks is free and returns manual tracks, auto-generated tracks, and available translation languages.

When you should still use YouTube Data API v3

Keep Google's official Data API v3 when you are building creator tooling that uploads, updates, syncs, or deletes captions on channels whose owners authenticate your app with Google OAuth, or when you need private and unlisted videos that belong to that signed-in creator. Subtext only reads public caption tracks.

Comparing other developer options? See YouTube transcript API alternatives compared, fixing Python youtube-transcript-api IP blocks, or the YouTube MCP server for AI agents. For manual downloads without code, use the download guide.