SEOVENTRA
Home/Blog/Guides
Guides2 min read

Google Search Console API: The Features Most Teams Never Use

Most teams use GSC through the UI and miss half of what the API makes possible. Here's a practical tour of the underused API capabilities that can automate your SEO workflows.

AR
Asar R.
CTO
May 15, 2026
2 min · 504 words
Tags
GSCGoogle Search ConsoleAPIAutomationSEO ToolingGuides
Share

The Google Search Console UI gives you a good overview. The API gives you everything else. Most teams interact with GSC through the dashboard, which means they're limited to 16-month data windows, fixed dimensions, and manual exports. The API removes almost all of those constraints — and opens up automation workflows that would take hours a week to do manually.

The Search Analytics API: beyond basic clicks and impressions

The Search Analytics endpoint (/searchanalytics/query) is the one most teams know — it's how you pull clicks, impressions, CTR, and position data. But the default UI only shows combinations of a few dimensions. The API supports querying on page, query, country, device, and search type simultaneously, which opens up analysis the UI simply can't surface.

typescript
// Compare mobile vs. desktop performance per URL
const response = await fetch(
  `https://www.googleapis.com/webmasters/v3/sites/${encodeURIComponent(siteUrl)}/searchAnalytics/query`,
  {
    method: 'POST',
    headers: { Authorization: `Bearer ${accessToken}`, 'Content-Type': 'application/json' },
    body: JSON.stringify({
      startDate: '2026-01-01',
      endDate: '2026-05-01',
      dimensions: ['page', 'device'],
      dimensionFilterGroups: [{
        filters: [{ dimension: 'device', operator: 'equals', expression: 'MOBILE' }]
      }],
      rowLimit: 1000,
    }),
  }
);

URL Inspection API: bulk index status checking

The URL Inspection API lets you check the index status of any URL: whether it's indexed, when it was last crawled, what the canonical is, whether rich results are detected, and any mobile usability issues.

Quota constraint

The URL Inspection API has a quota of 2,000 requests per day per property. For bulk workflows, prioritise recently published and recently updated URLs rather than running checks across your entire site daily.

Sitemaps API: programmatic sitemap management

Most teams submit sitemaps once and forget about them. The Sitemaps API lets you submit new sitemaps, list all submitted sitemaps, check submission status, and delete old ones — all programmatically.

typescript
async function submitSitemap(siteUrl: string, sitemapUrl: string, accessToken: string) {
  const res = await fetch(
    `https://www.googleapis.com/webmasters/v3/sites/${encodeURIComponent(siteUrl)}/sitemaps/${encodeURIComponent(sitemapUrl)}`,
    { method: 'PUT', headers: { Authorization: `Bearer ${accessToken}` } }
  );
  return res.status === 204; // 204 = success
}

Building a practical automation stack

  1. 01On content publish → trigger URL submission via Indexing API + sitemap submission
  2. 0224 hours post-publish → check index status via URL Inspection API, alert if not indexed
  3. 03Weekly → pull Search Analytics data, identify declining CTR patterns and rank drops
  4. 04Monthly → cross-reference top-impression pages against index status to catch cannibalization
  5. 05On CMS content deletion → submit URL_DELETED notification via Indexing API

Rate limits and error handling in practice

Beyond URL Inspection quota (2,000/day), the Search Analytics API allows up to 1,200 requests per minute, per property. The Indexing API is 200 URL notifications per day. Errors worth handling explicitly: 403 (auth/permission), 429 (rate limit — back off), 500 (retry with exponential backoff), and 503 (service unavailable, typically transient).

Contents
01The Search Analytics API: beyond basic clicks and impressions
02URL Inspection API: bulk index status checking
03Sitemaps API: programmatic sitemap management
04Building a practical automation stack
05Rate limits and error handling in practice
Audit your AI
visibility score

See how discoverable your content is to AI search engines — free, no card required.

Start free →
Related reading
All posts →
Back to blogPublished May 15, 2026 · 13 min read