☀️ Summer Sale: Massive Discount + 2x PRO Benefits

¡APRENDE MÁS!

How to Get a YouTube API Key

Rank Math PRO allows you to automatically fetch data from YouTube videos to use in Video Schema and Video Sitemap. The data is fetched using YouTube’s Public API, which works well for most users.

However, if you notice any discrepancies, such as incorrect titles, descriptions, or no thumbnails, we recommend generating a YouTube Data API key for more accurate results.

Nota: YouTube’s Data API is free but has a daily quota. You can fetch data of up to 100 videos per day, which should be sufficient for most users.

In this tutorial, we will walk you through the steps to get an API key for yourself and use it with Rank Math.

1 Configure Rank Math’s Video Sitemap PRO

To use this advanced feature, you must first ensure that Rank Math’s Video Sitemap module is enabled from WordPress Dashboard → Rank Math SEO → Dashboard → Modules.

Mapa del sitio de vídeo

Now, when you head over to Rank Math SEO → Sitemap Settings → Video Sitemap, you should see the YouTube API Key campo.

YouTube API Key

If you don’t see this option, switch to Modo avanzado en Rank Math.

2 Login to Google’s Cloud Console

Visita el Google’s Cloud Console. If you haven’t already created a project, you will need to create a new one. If you already have a project created, then you can proceed to the next step.

To create a new project, click the CREATE PROJECT option that appears on the screen.

Create New Project in Google Cloud Console

Next, enter the project details and click the CREATE botón.

Project Details

3 Create API Key

Once you’ve created a project, click the Credentials tab in the left menu.

Visit Credentials tab

On the Credentials page, click the Create Credentials option, and from the dropdown, choose Clave API.

Create Credentials and API Key

Wait for a few moments for the API key to be created. Then, copy the generated API Key.

Copy API Key

Paste it into the YouTube API Key field in the Rank Math Settings, and click the Guardar cambios botón como se muestra a continuación.

Guardar cambios

4 Enable the YouTube Data API

Google, by default, doesn’t enable the YouTube Data API for all the projects.

So, we still need to head over to the Enabled APIs & services tab in the Cloud console menu and choose ENABLE APIS AND SERVICES opción, como se muestra a continuación.

Enable APIs & services

From the API Library, search for YouTube Data API v3 and select it.

YouTube Data API v3

Then, ENABLE the YouTube Data API as shown below.

Enable YouTube Data API

Now that you’ve enabled the YouTube Data API, you can start using it within Rank Math PRO.

And that’s it. If you have any questions about Rank Math or facing any issues with the setup, feel free to get in touch with our support team here, and our support team will always be happy to assist you.

¿Aún no utilizas Rank Math?

¡La configuración toma menos de 5 minutos, incluida la importación desde su antiguo complemento SEO!

Obtenga más información sobre la versión PRO

¿Aún necesitas ayuda?

?

Envíe su pregunta

Por favor danos los detalles, nuestro equipo de soporte se comunicará contigo.

Entrada abierta

Related Articles

🇪🇸 Español
Rank Math
https://www.facebook.com/RankMath
Base de conocimientos
Schema
How to Get a YouTube API Key
How to Get a YouTube API Key » Rank Math
In this tutorial, you'll learn how to get a YouTube API key. This will help Rank Math PRO to automatically fetch data from your YouTube videos.
Equipo Rank Math