How to Get YouTube API Key

1. Start with New Project

First of all, you should visit Google APIs page. You will find “Project” tab in the YouTube API console. Click it and choose “Create project” button from the drop-down menu.

Create new Google APIs project

The new project window will appear in popup. Now it’s time to name your project and don’t forget to check “Yes” in Terms of Service agreement. Getting email notifications from Google is left to your discretion. Click “Create” button to proceed further.

Name your project and confirm your actions

Wait until the page will refresh. You will see a new notification in the header. Congratulations! You’ve just created your first Google APIs project. Now we will explain how to activate YouTube Data API.

2. Enable YouTube Data API

In order to make your project active, you should follow to the “YouTube Data API” web page. You will be redirected to the Dashboard section.

Visit YouTube Data API page

Afterwards, click “Enable” button. Wait for a second and you will see your API statistics including Traffic, Errors and Latency on the Dashboard.

Enable your API

Now there is only one step remained to complete the task. Time has come to claim what is yours by right.

3. Create Credentials and Get YouTube API Key

Leave the Dashboard and go to “Credentials”. You will find the link in the left sidebar menu.

Visit Credentials web page

Select “Create credentials” option and click “API key” in the drop-down list. Then you will see a pop-up window that informs you about the successful result.

Create credentials and choose API key section

Woohoo! You’ve got your API key. You are able to copy it and restrict its access to prevent unauthorized usage.

Using API Key in Third-Party Apps

You can use the key in your own application or in any other plugin related to YouTube API. For example, you can use it in one of our applications –

GS Youtube Gallery. It channels videos to a website through a beautiful grid.

Therefore,GS Youtube Gallery has a special field where you can paste the derived code. All you need is to copy-paste it and the work is done.