Google Search Console URL Inspection API Used Correctly
The API returns Google’s indexed view of a URL you manage. It is a diagnostic read surface—not a live test, crawler, ranking feed, or indexing request endpoint.
A Search Console URL Inspection API guide covering indexed data, canonicals, crawl states, quotas, sampling, authentication, and limitations.
01 / Contract
The result describes Google’s indexed version
The method accepts an inspection URL and the Search Console property URL. The response can include coverage state, robots status, indexing state, fetch state, last crawl time, Google-selected canonical, user-declared canonical, sitemaps, referring URLs, and supported enhancement results. It reflects information available to the URL Inspection system for the indexed version.
It does not execute the live-test workflow exposed in the Search Console interface, request crawling, submit indexing, or report every ranking signal. A stale last-crawl date may explain why a deployment is not reflected. The appropriate label is “inspection result retrieved at,” with the underlying crawl time preserved separately.
02 / Access
Authenticate with explicit property access
The caller needs OAuth authorization and access to the Search Console property being inspected. Domain properties and URL-prefix properties have different identifiers, so persist the exact siteUrl used in the request. Do not print refresh tokens, client secrets, or application-default credentials in logs while diagnosing access.
A 403 may indicate missing property permission, an API or quota-project configuration issue, or a credential that belongs to another account. Prove access with the smallest read-only request and report the status without mutating Cloud projects or Search Console ownership unless separately authorized.
| Field | Decision supported | Common mistake |
|---|---|---|
| verdict | Overall attention state | Treat as ranking score |
| coverageState | Index diagnosis | Assume current deploy |
| googleCanonical | Canonical selection | Ignore declared canonical |
| lastCrawlTime | Freshness of evidence | Use retrieval time |
| pageFetchState | Fetch diagnosis | Call it live uptime |
03 / Sampling
Use quotas to enforce a priority sample
Google documents per-property quotas of 2,000 requests per day and 600 per minute. That is enough for a focused verification system, not an excuse to inspect every URL continuously. Sample the homepage, major hubs, newly published pages, recently changed templates, high-impression pages, and representatives of each page family.
Deduplicate requests by canonical URL and cache results with the retrieval timestamp. A release can inspect ten priority URLs after data has had time to update, while a scheduled monitor rotates through the broader set. Reserve quota for incident diagnosis rather than exhausting it on unchanged low-value routes.
04 / Diagnosis
Interpret fields together, not as isolated labels
A canonical mismatch means Google selected a different URL; compare redirects, canonical tags, internal links, sitemap entries, content similarity, and protocol or host variants. A robots block requires checking the production robots.txt that applied when Google crawled. A fetch issue should be compared with server logs and current availability without assuming a transient historical failure is still active.
Sitemap and referring URL fields are helpful but not guaranteed to be exhaustive. Enhancement results apply only when the markup and feature are supported. Preserve raw enums beside a normalized internal status so a future API value does not disappear into “unknown error.”
05 / Release
Publish a read-only inspection report after the release settles
For each priority URL, record the canonical route, family, HTTP validation result, inspection retrieval time, last crawl time, verdict, coverage state, user canonical, Google canonical, robots state, and fetch state. Separate “not yet recrawled” from “recrawled with a defect.” That distinction prevents unnecessary rewrites while Google still holds the prior version.
Do not call the Indexing API for standard articles. Manual indexing requests in Search Console may be used sparingly where appropriate, but neither the interface nor API guarantees inclusion. The durable release gate remains under publisher control: complete public HTML, correct status, indexable directives, canonical consistency, internal links, sitemap presence, and useful content.
- 01Crawl and Indexation Audit Checklist
A crawl and indexation audit checklist for discovery, status codes, robots controls, canonicals, sitemaps, renderability, logs, and Search Console states.
- 02Canonical Mismatch: Detection, Fix, and Validation
Canonical Mismatch diagnosis uses page-specific Atlas evidence, intent review, a narrow technical fix, false-positive checks, and claim-safe validation.
- 03URL Blocked By Robots: Detection, Fix, and Validation
Robots Blocked URL diagnosis uses page-specific Atlas evidence, intent review, a narrow technical fix, false-positive checks, and claim-safe validation.
- 01Google: URL Inspection API method
The request shape, required property access, inspection URL, language option, and indexed-result response contract.
Checked 2026-07-20 - 02Google: URL Inspection API launch and quotas
The diagnostic use cases and documented per-property limits of 2,000 queries per day and 600 per minute.
Checked 2026-07-20 - 03Google: Indexing API usage
The separate Indexing API and its restriction to job posting or livestream pages rather than ordinary articles.
Checked 2026-07-20