Google Search Console API integration for website SEO monitoring

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1214
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    852
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    823
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    815

Google Search Console API for SEO Monitoring

Google Search Console provides data unavailable elsewhere: real search queries your site appears for, CTR by position, indexation coverage, Core Web Vitals errors from field data. Checking manually once a week misses signals. API allows automatic data extraction, building custom dashboards, and setting alerts on degradation.

API Access Setup

Authorize via Google OAuth 2.0. For server monitoring use Service Account:

  1. Create project in Google Cloud Console
  2. Enable Google Search Console API
  3. Create Service Account, download JSON key
  4. In GSC add service account email as resource user (Settings → Users and permissions)
from google.oauth2 import service_account
from googleapiclient.discovery import build

SCOPES = ['https://www.googleapis.com/auth/webmasters.readonly']
SERVICE_ACCOUNT_FILE = 'gsc-service-account.json'

credentials = service_account.Credentials.from_service_account_file(
    SERVICE_ACCOUNT_FILE,
    scopes=SCOPES
)

service = build('searchconsole', 'v1', credentials=credentials)

Fetching Search Data

Main method is searchanalytics.query. Parameters: date range, dimensions (query, page, country, device, date), filters, row limit (max 25,000 per request).

Monitoring Positions by Key Pages

Track positions for specific pages by brand and non-brand queries. Get top performing keywords.

Checking Indexation

URL coverage API allows checking indexation status of individual pages via urlInspection method.

Alerts on Degradation

Useful automation — compare current week with previous and send notification if click drop exceeds threshold.

Storage and Visualization

Collected data is written to PostgreSQL or BigQuery for long-term storage and trends. GSC stores data only 16 months — accumulation in own DB allows building long-term trends.

API Quotas

GSC API has limits: 1200 requests per minute per project, 200 requests per user per 100 seconds. For daily data collection over 28-day window with multiple dimensions this isn't a problem. For bulk export of historical data need exponential backoff.

Timeline

Basic integration (daily collection of clicks/positions to DB) — 2 working days. With degradation alerts, indexation checks, Grafana dashboard — 4–5 days. Setup for multiple sites/GSC resources with shared storage — 5–7 days.