google-search-console-api
Share this post

The Google Search Console API is a free tool offered by Google to help SEOs and webmasters query and backup all their search analytics data.

Here is the complete guide to learn how to use the Google Search Console API.

Chapter 1: Definitions


What is Google Search Console?

Google Search Console (GSC), formerly Google Webmaster Tool (GWT), is the platform that Google offers to help monitor a website’s search performance. It provides tools that let webmasters test whether a page is indexed, how it is rendered and other traffic metrics like clicks, impressions, click-through-rate and position in Google.


What Is the Google Search Console API?

Even if Google drastically improved their tool in the last few years, Google imposes limitations to the amount of data they report to the user. In the search performance report, you can only see 1000 rows and can only get 16 months of historical data (used to be only 3 months of data).

The Google Search Console API however lets you extract almost all of the data you want. You can then store it and use it however it pleases you.


Chapter 2: Google Search Console API Basics


Introduction to the GSC API with Python – Video Tutorial

In this tutorial, I will show you how to extract all your Google Search Console data into CSV files, using the GSC API and Python. View the video Introduction to the GSC API


How To Query the Google Search Console API?

You can use your browser, python or R to query the Google Search Console API. When you query the GSC API, you basically make an HTTP request to the API and it returns a JSON that you can work with. Learn how to make a simple GSC API Request


How to Connect to a Google API

Google APIs are amazing! Learning them is one of the most important things that you should learn when learning technical SEO. Learn how to connect to a Google API.


Chapter 3: Google Search Console API With Python


How to Connect to Google Search Console API using Python

This tutorial is for SEOs that would like to authorize and use Google Search Console API with Python. This is the simplest way to learn how to make your first API call to the Google Search Console and Python. Make your first Google Search Console API call


Google Search Console Data From a List of URLs

With this Python script, I will show you how to extract Google Search Console data from a list of URLs. This is the perfect solution to get GSC data from URLs you have crawled. Extract GSC data from a list of URLs


Get All Your Search traffic With Google Search Console API (more than 50,000 keywords)

This post will show you how you can automatically extract all your search traffic and all your keywords from Google Webmaster Tool using Python and the Google Search Console API. Get all your search traffic from Search Console


Find Keyword Cannibalization Using Google Search Console and Python

Keyword cannibalization is a major issue on large websites that deal with lots of keywords. This post will show you how you can identify internal pages that compete for the same keywords using Python and Google Search Console. Find Keyword Cannibalization issues


Backup Google Search Console Data Into MySQL With Python

This guide will show you the easiest way to automatically backup your Google Search Console Data in MySQL using Python. Learn how to backup GSC Data in MySQL


Chapter 4: Google Search Console API With R


How to use Google Search Console API with R

In this guide, I will show you how to connect to the Google Search Console API and extract keywords from the API with the “searchConsoleR” package created by Mark Edmondson. Query Google Search Console with R


That’s it! You know everything you need to use the Google Search Console API with Python and R.