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
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
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
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
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
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
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
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
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
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.