Get your own YouTube API key

For use with Cloaki's "Bring your own key" feature

Cloaki works out of the box using its own privacy proxy — you don't need an API key for normal use. The optional Bring your own key feature lets power users supply a personal YouTube Data API key, which gives you your own daily quota (so you're never limited by the shared one) and lets you verify exactly what data is sent. This guide walks you through creating one. It's free, and it takes about five minutes.

You'll need a Google account. For the best privacy protection you may want to create a dummy account that is only used for Cloaki and not otherwise associated with your personal details. The YouTube Data API has a generous free tier (10,000 quota units per day by default), and Cloaki's usage stays well within it for typical browsing. Google does not charge for this API.

Step 1 — Open the Google Cloud Console

Go to console.cloud.google.com and sign in with your Google account. If this is your first time, accept the terms of service when prompted.

Step 2 — Create a project

At the top of the page, click the project selector (it may say Select a project) and choose New Project. Give it any name you like — for example, Cloaki — and click Create. Wait a few seconds for the project to be created, then make sure it's selected in the project selector.

Step 3 — Enable the YouTube Data API v3

  1. In the search bar at the top, type YouTube Data API v3 and select it from the results.
  2. On the API's page, click Enable.

If you'd rather navigate by menu, open APIs & Services → Library, search for the same API, and enable it there.

Step 4 — Create an API key

  1. Go to APIs & Services → Credentials.
  2. Click Create Credentials at the top, then choose API key.
  3. Google generates a key and shows it in a dialog. Click the copy icon to copy it.

Step 5 — Restrict the key (recommended)

Restricting the key limits the damage if it's ever exposed. In the dialog (or later from Credentials, by clicking your key's name):

Click Save.

Step 6 — Add the key to Cloaki

  1. Open Cloaki and go to Settings.
  2. Find Bring your own key and paste your API key.
  3. Save. Your searches and channel requests now use your personal quota.

How your key is used

With the proxy enabled (the default), your key is forwarded by Cloaki's proxy server, so your IP address stays hidden from Google even though the requests count against your key's quota. With the proxy disabled, your key — and your IP address — are sent directly to Google. Either way, requests made with your key count against your own Google account's quota and can be associated with that account by Google. See the Privacy Policy for full details.

Troubleshooting

Still stuck?

Email and we'll help you get set up.