Google Search Console API to stop support for HTTP and JSON-RPC requests

Robin Fernandes is an SEO professional who has completed his Master’s Degree in Information Technology. He is a Hubspot-certified Content writer and an SEO Associate working at Infidigit.

Google Search Console API to stop support for HTTP and JSON-RPC requests

Witness an Increase in your ROI

Unlock higher rankings, quality traffic, and amplified conversions through tailored award-winning SEO strategies.


    Listen up, Google Search Console API users! Google Webmasters want you to know something, and it’s rather serious. Google announced on Twitter today that it will stop its Search Console API support for batch HTTP and JSON-RPC requests.

    Google Webmasters Tweet

    Google had already alerted Search Console API users in 2018 that it will discontinue support for HTTP and JSON-RPC requests in the future.

    Developers still use HTTP and JSON-RPC requests

    Google had decided to stop support for these requests by March 25, 2019. However, the timeline had to be extended because they had observed many developers continuing to use the HTTP and JSON-RPC requests in their code. Google feels this may be due to its customers not being notified of the discontinuation of these features from 2018.

    HTTP & JSON-RPC Timeline Extended

    Message to Developers

    Google has a message for all developers that use the Search Console API to fetch metrics. Although the scripts may have been written a few years ago, Google wants you to take some time out and dig into your code. You are expected to find any HTTP and JSON-RPC requests being made in your scripts and re-structure the code implementation.

    How to find JSON-RPC requests in code?

    To locate JSON-RPC requests in your scripts, you need to look for this piece of code:

    Javascript code

    JavaScript Code - 1

    You need to replace this with the JSON-REST client library. After the proper implementation, your code snippet should look something like this:

    Javascript code

    JavaScript Code - 2

    How to find HTTP batch requests in code?

    To locate HTTP Batch requests, search your script for any heterogeneous batch requests made. This would look something like:

    Javascript code

    JavaScript Code - 3

    These HTTP heterogeneous batch requests will soon be discontinued.

    Google suggests using homogeneous batch requests instead. After the proper implementation of code, your script should look something like this:

    Javascript code

    JavaScript Code - 4

    For more Programming language-specific code changes, visit Google’s official migration guide.

    Key Learning

    1. There are a lot of developers using scripts to fetch data from Google Search Console API. 
    2. Many SEO agencies and organizations use the API to create frequent reports for their clients. There are also dashboards, tracking, and automation tools built upon the Search Console API. If your code consists of any HTTP or JSON-RPC requests, the automation tools will fail to read through them.
    3. We would advise you to look into your code and adhere to the migrations recommended by Google. Make sure you are using the new JSON-REST and Homogeneous requests to fetch metrics from Google Search Console API.  

    Popular Searches

    Best SEO Company  |  Internet Marketing Services   |  Ecommerce SEO Services India  |  SEO Services in India  |  Website Audit Services  |  What is Digital Marketing  |  What is Technical SEO  |  Google Algorithm Updates  |  Google Reverse Image Search  |  What is Structured Data SEO  |  What is Cloaking  |  What is Featured Snippet  |  List of HTTP Status Codes  |  Top SEO Tools  |  What is PPC  |  Benefits of SEO  |  EAT Google SEO  |  SEO Strategy  |  Site Structure  |  SEO vs PPC

    How useful was this post?

    0 / 5. 0

    Leave a Comment

    Secrets to be the first on search, right in your inbox.

    Subscribe to our newsletter and get carefully curated SEO news, articles, resources and inspiration on-the-go.

    Share this article

    Google Search Console API to stop support for HTTP and JSON-RPC requests