YouTube

Registering your application

You need to register your application with Google to be able to use the YouTube Data API. The following steps explain how to register your application and then find its authorization credentials in the Google Cloud Console.

Create your project and select API services

Video Tutorial

To register a new application, do the following:

  1. Go to the Google Cloud Console.
  2. Select a project, or create a new one.
  3. In the sidebar on the left, select APIs & auth. In the list of APIs, make sure the status is ON for the YouTube Data API v3.
  4. In the sidebar on the left, select Registered apps.
  5. At the top of the page, select Register App.
  6. Fill out the form and select Register.
  7. YouTube Data API requests must specify an API key or an OAuth 2.0 token.

    • API keys: The Browser Key and Server Key sections show your application's API keys. Use the Browser Key in a browser-based application that accesses public data, and use the Server Key in a server application that accesses public data.

    • OAuth 2.0 token: Expand the OAuth 2.0 Client ID section to find your application's client ID and client secret or to set a redirect URI. Your application must send an OAuth 2.0 token with any YouTube Data API request that accesses private user data.

Find authorization credentials for a project

To find the authorization credentials for an existing project, follow these steps:

  1. Go to the Google Cloud Console.
  2. Select a project.
  3. In the sidebar on the left, select APIs & auth.
  4. In the sidebar on the left, select Registered apps.
  5. Select an application to view its authorization credentials. YouTube Data API requests must specify an API key or an OAuth 2.0 token.

    • API keys: The Browser Key and Server Key sections show your application's API keys. Use the Browser Key in a browser-based application that accesses public data, and use the Server Key in a server application that accesses public data.

    • OAuth 2.0 token: Expand the OAuth 2.0 Client ID section to find your application's client ID and client secret or to set a redirect URI. Your application must send an OAuth 2.0 token with any YouTube Data API request that accesses private user data.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.