Use the Google Search Console URL Inspection API to inspect URLs and understand quota constraints

domain: developers.google.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable the Google Search Console API and authenticate with an OAuth 2.0 token using the webmasters or webmasters.readonly scope
  2. Send a POST request to the urlInspection.index.inspect endpoint with a JSON body containing 'inspectionUrl' (the URL to inspect) and 'siteUrl' (the property in GSC, must match exactly)
  3. Parse the response object which includes indexStatusResult (coverageState, robotsTxtState, indexingState, lastCrawlTime, pageFetchState) and richResultsResult if applicable
  4. Check the 'verdictEnum' and 'coverageState' fields to determine whether the URL is indexed, excluded, or has errors
  5. Respect the per-day quota limits by implementing request throttling and exponential backoff on 429 responses

Known gotchas

Related routes

Inspect individual URLs at scale using the Google Search Console URL Inspection API and manage quota constraints
developers.google.com · 6 steps · unrated
Batch URL Inspection API calls within the 2000 QPD quota to audit index status across a large URL set
google-search-console · 5 steps · unrated
Use regex filters in the Search Console Search Analytics API to segment queries or pages matching a pattern
developers.google.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans