Authentication
Read the Scority x-api-key reference and key safety notes.
Open →Learn what a YouTube API key is, when you need a Google Cloud key, and how Scority API keys work for transcript extraction.
If you are using Google's official YouTube APIs, you usually start in Google Cloud and follow Google's credential model. If you are using Scority's transcript API, you use a Scority API key in the x-api-key header.
When developers say YouTube API key, they often mean a Google Cloud credential used with official YouTube APIs. That key belongs to the Google API project and its quota, permissions and restrictions.
A Google Cloud key is not the same as a normalized transcript API response. Transcript workflows usually need text, segment timing, language handling and clear unavailable/error states.
Scority protects the Transcript API with the x-api-key header. The key identifies the account or integration for quota, usage logging and support.
Use placeholders in docs and environment variables in code. Never put real API keys in public examples, browser bundles or screenshots.
curl "https://api.scority.ai/v1/youtube/transcript?video_id=dQw4w9WgXcQ" \
-H "x-api-key: YOUR_API_KEY"A Scority API key should be treated like a server credential. Browser-only JavaScript cannot keep it secret.
Scority returns unauthorized when the API key is missing, invalid or revoked.
Read the Scority x-api-key reference and key safety notes.
Open →See the endpoint, query parameters and response shape.
Open →Map unauthorized and other errors to recommended actions.
Open →Learn how transcript-specific API access differs from broad YouTube API intent.
Open →Decide whether your workflow needs official metadata or transcript text.
Open →Understand when API key auth is enough and when OAuth is still required.
Open →