API Reference
Seven endpoints. Predictable JSON. Same shape forever.
Base URL
https://youtubetranscriptapi.com/api/v2OpenAPI 3.1 spec: /openapi.json
Authentication
Send your API key as a bearer token on every request:
Authorization: Bearer YOUR_API_KEYEndpoints
Click any endpoint to see its full reference: parameters, response shape, examples, and edge cases.
Extract YouTube transcripts with or without timestamps.
Search YouTube for videos or channels with rich metadata.
Search videos within a specific channel.
A channel's most recent uploads, up to 100 videos. Only the first page is served for now.
RSS-based monitoring for the latest 15 uploads of a channel.
Up to 100 videos from any public YouTube playlist. Only the first page is served for now.
Convert any @handle, URL, or UC… ID to a canonical channel ID.
Account
The plan and balance of the account that owns the key. Free, and it answers at a zero balance too, so it works as a pre-flight check before a batch job. credits.spendable is what the API can spend now; plan credits are left out of it while a renewal payment is failing.
curl "https://youtubetranscriptapi.com/api/v2/account/whoami" \
-H "Authorization: Bearer YOUR_API_KEY"{
"user_id": "…",
"plan": "free",
"plan_status": null,
"credits": { "spendable": 87, "plan": 0, "topup": 87 }
}You don't need to poll it: every successful call carries X-Credits-Charged and X-Credits-Remaining headers. See Rate Limits.