Google Search Console API: what you can do and how to use it with AI agents
The Google Search Console API gives access to search performance data (clicks, impressions, CTR and position), URL inspection, sitemaps and verified properties. SEO, marketing and product teams use it. Access is with a Google account that has permission on the property.
What the Google Search Console API offers
Search performance
Clicks, impressions, CTR and average position by query, page, country and device.
URL inspection
The indexing status of a URL, as Google sees it.
Sitemaps
Submit, list and check the status of sitemaps.
Properties
The list of sites and domains the account can access.
How to access the Google Search Console API
- With your company’s credentialsUses OAuth 2.0 with a Google Cloud project, or a service account added as a user on the Search Console property.
- The data lags by a few days and is aggregated.
- Query quotas apply per project and per property.
- URL inspection has a daily limit: prioritize your important pages.
Official documentation: developers.google.com/webmaster-tools
What an iTeam agent does with the Google Search Console API
Traffic drop explained
When clicks fall, the agent compares the periods by page and query and shows where the loss is concentrated.
New pages missing from the index
The agent inspects the URLs published during the week and lists the ones not yet indexed, with the reason reported.
CTR opportunities
The agent finds pages with many impressions and a low CTR and suggests new titles for review.
Monthly SEO report
The agent builds the report with the trend in clicks, top queries and the pages that gained or lost the most.
From the credential to the agent at work, with approval
Enable the API in Google Cloud
Enable the Search Console API in a Google Cloud project and create the OAuth credential or service account.
Give access to the property
Add the account as a user of the property and store the credential in the iTeam vault.
Start with read access
The agent reads data and suggests actions. Changes to the site stay with the SEO team.
Ready-made AI teams that use Google Search Console
Questions about the Google Search Console API
Is the Google Search Console API free?
Yes, in general it is free, within the quotas Google sets.
Do I need to write code to use the Google Search Console API with iTeam?
Not necessarily. The deployment team configures the credential and the reports, and the agent queries the data when you ask.
Does the API show every keyword?
Not every one. As in the interface, very rare or anonymized queries do not appear in the data.