YouTube Transcript API for AI Apps
Extract transcripts and captions from public YouTube videos with a developer API built for agents, RAG, search and automation.
Server-side APIJSON transcript responsesDirect captions + fallback infrastructureBuilt for AI workflows
Reliable transcripts, without the infrastructure hell.
Server-side API path
Call the protected API from your server, keep credentials out of the browser, and receive structured transcript JSON for your app.
Direct captions plus fallback
Scority starts with accessible caption tracks and has fallback infrastructure for harder videos, without promising every video will resolve.
Production error handling
Clients get normalized errors such as transcript_not_available, upstream_transcript_failed, rate_limited and quota_exceeded.
Use transcripts in your own AI workflow.
Scority gives your prompt, model, agent, or RAG pipeline clean transcript input. Your application decides what to do next: summarize, search, classify, answer questions, or build context windows.
The API returns transcript text and timestamped segments. That keeps Scority focused on the source material while your product stays free to choose its own prompt, model, storage, and evaluation stack.
The current cache is active for transcript requests, and API responses stay structured for downstream search, RAG and automation workflows.
- Summarize a 90-minute interview from timestamped segments
- Index podcast episodes for semantic search
- Classify videos before routing them to a review queue
{
"language": "en",
"source": "caption_track_direct",
"text": "We're no strangers to love...",
"segments": [
{
"text": "We're no strangers to love",
"start": 18.82,
"duration": 3.12
}
]
}{
"language": "en",
"source": "caption_track_direct",
"text": "We're no strangers to love...",
"segments": [
{
"text": "We're no strangers to love",
"start": 18.82,
"duration": 3.12
}
]
}Built for the agent ecosystem.
The REST API can power agent workflows today. Use transcript JSON in RAG pipelines, search indexes, summarizers, internal automations and assistant tools.
{
"tool": "get_youtube_transcript",
"request": {
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"language": "en"
}
}{
"tool": "get_youtube_transcript",
"request": {
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"language": "en"
}
}https://api.scority.ai/openapi.jsonhttps://api.scority.ai/openapi.jsonimport requests
response = requests.get(
"https://api.scority.ai/v1/youtube/transcript",
params={"video_id": "dQw4w9WgXcQ"},
headers={"x-api-key": SCORITY_API_KEY},
)import requests
response = requests.get(
"https://api.scority.ai/v1/youtube/transcript",
params={"video_id": "dQw4w9WgXcQ"},
headers={"x-api-key": SCORITY_API_KEY},
)Pricing starts at $9/month.
Plans are quota-based: Starter, Builder, Pro, Scale and custom Enterprise. Stripe checkout is not live yet, so Scority issues access through manual onboarding and keeps production clients on explicit quota and rate-limit terms.
Why developers choose Scority.
Transcript-specific API
One endpoint focuses on YouTube transcript extraction instead of broad platform operations.
Structured JSON
Responses include transcript text, timestamped segments, source, and language fields.
Language-aware cache
Default, English, Spanish, and other requested language buckets stay separate.
Caption and fallback path
The API starts with accessible caption tracks and can use supported fallback infrastructure for harder videos.
OpenAPI contract
Import the current API schema from https://api.scority.ai/openapi.json.
Server-side auth
Use x-api-key from trusted backend code without exposing credentials in browsers.
Proxy/captcha routing
Difficult upstream access can be handled through controlled proxy and captcha infrastructure for supported accounts.
GPU-capable fallback
Fallback processing capacity exists for account-specific workflows, with no blanket every-video guarantee.
Get API access.
Build with YouTube transcript extraction for AI agents, search, RAG and automation workflows.
curl "https://api.scority.ai/v1/youtube/transcript?video_id=dQw4w9WgXcQ" \
-H "x-api-key: $SCORITY_API_KEY"curl "https://api.scority.ai/v1/youtube/transcript?video_id=dQw4w9WgXcQ" \
-H "x-api-key: $SCORITY_API_KEY"