Most marketing teams find out a page is not indexed the worst possible way: a launch page gets zero organic traffic for three weeks, someone opens Search Console, and the status says "Discovered, currently not indexed." By then the campaign is half over. Our position is simple. Indexing is a deployment outcome, and it should be monitored like one. The Search Console URL Inspection API lets you check the real index status of your most important URLs every day, automatically, and alert the moment something slips. If you publish pages that matter and you are not doing this, you are flying blind.
What the API Actually Tells You
The URL Inspection API returns the same data you see when you paste a URL into the inspection bar in Search Console, but as JSON you can store, diff, and alert on. You send a POST request to https://searchconsole.googleapis.com/v1/urlInspection/index:inspect with two fields: inspectionUrl (the page) and siteUrl (the verified property it belongs to). The response includes an indexStatusResult object with the fields that matter:
verdict: PASS, NEUTRAL, or FAIL, the fastest way to triage.coverageState: the human-readable status, such as "Submitted and indexed" or "Crawled, currently not indexed."lastCrawlTime: when Googlebot last fetched the page.googleCanonicalanduserCanonical: the canonical Google chose versus the one you declared.robotsTxtState,indexingState, andpageFetchState: the plumbing checks that explain most failures.
That canonical pair is the sleeper feature. When Google picks a different canonical than the one in your markup, your page is effectively folded into another URL. This happens constantly with parameterized campaign URLs, near-duplicate location pages, and staging copies that leaked. No rank tracker will show you this. The API will.
The constraint is quota. Each Search Console property gets 2,000 inspections per day and 600 per minute. That is not enough to crawl a 50,000-page site, and it is not meant to be. It is meant for the URLs you actually care about.
Choose the URLs That Deserve a Daily Check
Spending your quota well is the whole game. A daily job that inspects random URLs is noise. A job that inspects the right 300 is a smoke alarm. Here is how we split it:
Where to Spend 2,000 Daily Inspections
| URL group | How many | Check frequency | Why it matters |
|---|---|---|---|
| Pages published in the last 14 days | All of them | Daily | Catches new pages stuck in Discovered or Crawled status early |
| Top revenue and lead-gen pages | 50 to 200 | Daily | A deindexed money page is an outage, not an SEO issue |
| Pages changed in the last deploy | All changed URLs | Once, 48 hours after deploy | Detects canonical, noindex, or robots regressions from code changes |
| Rotating sample of the long tail | Remaining quota | Rolling weekly | Gives you a trend line on overall index health |
Pull the "published recently" list straight from your CMS or sitemap lastmod values, and the "changed in deploy" list from your build output. The money-page list should be explicit and owned by a person, not inferred. If the list lives in a spreadsheet nobody updates, it will rot within a quarter.
Build the Job in an Afternoon
You need three things: a service account, a scheduler, and a table.
First, create a Google Cloud service account, enable the Search Console API, and add the service account email as a user on the Search Console property. Restricted access is enough for inspection. Use the https://www.googleapis.com/auth/webmasters.readonly scope.
Second, write a small script that reads your URL list, calls the endpoint for each one, and writes the result to a table. In Python, the official google-api-python-client exposes it as service.urlInspection().index().inspect(body=...). Throttle to well under 600 requests per minute, retry on 429 and 5xx responses with backoff, and stop cleanly when you hit the daily limit instead of hammering the API until it errors.
Third, store every result with a timestamp. BigQuery, Postgres, or even a SQLite file on a small VM all work. The table needs the URL, check date, verdict, coverage state, last crawl time, both canonicals, and the robots and fetch states. Storing history is what turns a status check into monitoring, because the useful signal is change, not state.
Schedule it with whatever you already run: a GitHub Actions cron, Cloud Scheduler with Cloud Run, or a cron job on an existing box. Run it once a day, early in the morning, so results are waiting when the team logs on.
Alert on Changes, Not on Everything
The fastest way to kill this project is to send a Slack message for every URL that is not indexed. Some pages should not be indexed, and new pages take days. Alert on transitions and on rules that indicate a real problem:
Index Monitoring Alert Rules
- A money page moves from PASS to NEUTRAL or FAIL: page the owner immediately
- googleCanonical differs from userCanonical on any monitored URL: open a ticket
- robotsTxtState is DISALLOWED or indexingState shows a noindex on a page that should rank: treat as a deploy regression
- A page published more than 10 days ago is still Discovered or Crawled, currently not indexed: flag for content and internal linking review
- lastCrawlTime on a top page is older than 30 days: check internal links and sitemap inclusion
- Daily job failed or used under 50 percent of planned quota: alert the job owner, because silent monitors are worse than none
Route the urgent rules to the channel where on-call or the web owner actually reads, and roll everything else into a weekly digest. Pair the digest with your Search Console performance data so you can see whether an indexing problem is costing clicks or is merely cosmetic.
One more opinion: wire the deploy check into your release process. If a release changes 40 templates, inspect a sample of affected URLs 48 hours later and post the results back to the pull request. Developers fix what they see in their own workflow. They ignore what lives in a marketing dashboard.
Start With Fifty URLs This Week
You do not need a platform for this. Pick your 50 most important URLs, set up the service account, and run the script by hand on Monday. Look at the canonical fields first; most teams find at least one surprise. Add the schedule and the history table on Wednesday. Turn on the two highest-value alerts, money-page verdict changes and canonical mismatches, by Friday. Expand to new-page monitoring the following week. Within a month, "why is this page getting no traffic" stops being a mystery and becomes an alert you already acted on.
Tags
LETSGROW Dev Team
Marketing Technology Experts
Ready to Apply This Insight?
Schedule a strategy call to map these ideas to your architecture, data, and operating model.
Schedule Strategy Call