API Setup Guide

How to Set Up YouTube Data API v3

πŸ“‹ Prerequisites

  • Setting up on a smartphone is possible but using a computer is recommended
  • You need a Google account
  • You can perform about 50-100 searches per day for 50 results each (quota consumption varies by search parameters)

πŸ“Ή Watch Video Guide

Detailed video guide on setting up YouTube Data API v3

With Screenshots

Access Google Cloud Console

Google Cloud Console and log in with your Google account.

Google Cloud Console

Google Cloud Console

πŸ“ About 2-Step Verification

If you haven't set up 2-step verification, you may see an alert recommending it.
Currently, you can skip 2-step verification, but this may not be possible in the future.

2-Step Verification Recommendation Screen

2-Step Verification Recommendation Screen

Enable via phone number

Enable via phone number

We recommend following the on-screen instructions to enable it via phone number verification.

For detailed setup instructions, please refer to this page.

Create or Select a Project

To create a new project:

  1. Click 'Select a project' at the top of the screen
  2. Click 'New Project'
  3. Enter a project name (e.g., 'Youtube-search' - any name is OK)

1. After logging in, click 'Select a project'

1. After logging in, click 'Select a project'

2. Click 'New Project'

2. Click 'New Project'

3. Enter project name and create

3. Enter project name and create

Enable YouTube Data API v3

  1. Select the created project
  2. From the left menu, select 'APIs & Services' β†’ 'Library'
  3. Enter 'YouTube Data API v3' in the search box
  4. Click 'YouTube Data API v3'
  5. Click the 'Enable' button

1. Select the created project

1. Select the created project

2. Select 'APIs & Services' β†’ 'Library'

2. Select 'APIs & Services' β†’ 'Library'

3. Search for YouTube Data API v3

3. Search for YouTube Data API v3

4. Select YouTube Data API v3

4. Select YouTube Data API v3

5. Enable YouTube Data API v3

5. Enable YouTube Data API v3

Create API Key

  1. Select 'Credentials' from the left menu
  2. Click 'Create Credentials' β†’ 'API key'
  3. Enter a name for the API key (e.g., 'Youtube-search' - any name is OK)
  4. Select 'Restrict key'
  5. In Select APIs, choose 'YouTube Data API v3'
  6. Click Create
  7. Done: Copy the API key

1. Select 'Credentials' from the left menu

1. Select 'Credentials' from the left menu

2. Click 'Create Credentials' β†’ 'API key'

2. Click 'Create Credentials' β†’ 'API key'

3. Enter API key name

3. Enter API key name

4. Set API restriction to 'Restrict key'

4. Set API restriction to 'Restrict key'

5. Select YouTube Data API v3 in Select APIs

5. Select YouTube Data API v3 in Select APIs

6. Click Create

6. Click Create

7. Done: Copy the API key

7. Done: Copy the API key

Set API Key in This Application

Configure the created API Key in this application:

  1. γ€ŒAPI Key Settings」Go to the '' page
  2. Enter the created API Key
  3. Click the 'Set API Key' button

⚠️ Important Notes

  • Save the API Key by copying it to a text file on your computer. If reading fails, please reconfigure it on the 'API Settings' page.
  • API Key is confidential information. Do not share it with others.
  • Do not commit it to public repositories like GitHub.
  • We recommend rotating your API Key periodically.
  • If you detect suspicious activity, disable the API Key immediately.

πŸ’‘ About Usage

  • YouTube Data API v3 offers 10,000 free quota per day
  • About 20-700 quota consumed per 50 results
  • About 20-500 searches possible per day (varies by search parameters)
  • Quota resets at midnight Pacific Time