YouTube Data API v3
- URL
-
https://youtube.googleapis.com/ - Docs
- https://developers.google.com/youtube/v3/docs
?key=<credential> In Google Cloud Console, create or select a project, enable the YouTube Data API, then go to APIs & Services → Credentials and create an API key. The YouTube auth guide says API keys are one of the two supported credential types for the YouTube Data API and are used for general API access; you can restrict the key in Google Cloud Console.
Authorization: Bearer <credential> In Google Cloud Console, create or select a project, enable the YouTube Data API, then go to APIs & Services → Credentials and create an OAuth client ID for your app type. Use that client to run the Google OAuth 2.0 flow and obtain user access tokens for YouTube scopes such as https://www.googleapis.com/auth/youtube. The YouTube authorization docs list OAuth 2.0 as the credential type for private user data and authenticated write actions.