How to get Youtube API key
Create your application's API key
Step 1 Go to the Cloud Platform Console.
Step 2 From the projects list, select a project or create a new one.Fill in the Project fields, then click on Create button
Step 3 If the APIs & services page isn't already open,
- Open the left side menu
- Select APIs & services → Library
Step 4 In the YouTube APIs section, click on YouTube Data API
Step 6 Click Create credentials and then select API key.
Step 7 Click on the copy icon to copy the API Key.
Important: Set the Google Cloud API key restriction option to:
NONE