Skip to content
Enjoy 20% off for 12 months on all plans. Use promo code: HYPERGROWTHClaim it

Google Indexing API Explained: The GSC Fix to Try First

By Toy Wen Da, Co-Founder · Updated · 7 min read · scored 95/100

The Google indexing API lets you tell Google directly when a page is new, updated, or deleted. Google then adds the URL to a priority crawl queue instead of waiting to discover the change on its own. The API speeds up crawling but guarantees nothing about indexing. If a page shows "Discovered, currently not indexed," try the free URL Inspection tool in Search Console first.

What the API does and doesn't do

You send Google a URL plus a notification type, either URL_UPDATED or URL_DELETED. Google queues the URL for crawling at a higher priority than its normal sitemap-driven schedule, and the crawler still has to visit the page and decide whether it deserves a place in the index.

Several things fall outside what the API can do:

  • It can't index a URL directly, and it can't override Google's quality signals, so a thin or duplicate page won't get in any faster.
  • It has no effect on ranking, because it touches crawling only.
  • It doesn't replace your sitemap, which should still carry the bulk of your URLs.
  • It isn't officially supported for every content type. In practice it accepts other URLs, but Google has made no promise that this will keep working.

The most common misconception is that a successful submission means the page will be indexed. The API gets Google to notice the page sooner, and nothing in it makes Google want the page.

See the problem first: simulate Googlebot

Before you touch Search Console or any API, check what Googlebot sees when it visits the page. Many "indexing" problems are rendering or blocking problems in disguise: a noindex tag left on by accident, a robots.txt rule, or JavaScript content that never loads for a crawler.

Run the page through the free Googlebot Simulator. It shows the rendered HTML, status codes, and any blocking directives the way Google's crawler meets them. If it turns up a noindex tag or a blocked resource, fixing that will do more for you than any API call.

Fix it inside Google Search Console first

Person in winter gear using a laptop with a Google search on screen outdoors.

For nearly every "my page won't index" complaint, Search Console's own tools are the right starting point. The sequence below covers the whole process.

Step 1: inspect the URL

Open Google Search Console, select your property, and paste the affected URL into the URL Inspection tool at the top of the page. It tells you whether the URL is on Google, whether a crawled version exists, and which canonical URL Google picked.

Step 2: read the status carefully

The coverage status Search Console reports tells you what to do next.

Status in Search Console What it means What to do
Submitted and indexed Page is live in Google's index No action needed
Crawled, currently not indexed Google visited but chose not to index it Improve content quality, check for duplication
Discovered, currently not indexed Google knows the URL but hasn't crawled it yet Request indexing; check crawl budget on large sites
URL is unknown to Google Never seen before Submit via sitemap and request indexing
Blocked by robots.txt Crawler is disallowed Edit robots.txt
Alternate page with proper canonical tag Google indexed a different URL as canonical Check for duplicate or near-duplicate content

Step 3: request indexing

If the inspection shows the page isn't indexed, click Request Indexing. Google queues the URL for a priority crawl, much as it does for the API, and the option is free and sits in the console you already use.

Step 4: check back and resist spamming

Wait a few days before requesting again on the same URL. Repeated requests on one page don't speed anything up and can look like manipulation to Google's systems.

When Google Search Console is enough, and when it isn't

Hands typing on MacBook Air with Google search open, coffee nearby.

Search Console is enough in these cases:

  • You have one or a handful of pages stuck in "Discovered, currently not indexed."
  • You just published something and want it checked faster.
  • Your site has a few hundred or a few thousand URLs, well within normal crawl budget.

You need something more, either the Indexing API or a service built on it, in these cases:

  • You run a job board or events site with pages that qualify for the JobPosting or BroadcastEvent schema types the API officially supports.
  • You manage a large sitemap with tens of thousands of URLs, where new pages sit buried for weeks before Google's scheduled crawl reaches them. One documented case involved an e-commerce site with 80,000 product URLs where new listings waited roughly two weeks for a first crawl, and routing submissions through the API cut that to under six hours.
  • You're migrating domains and need Google to drop an old canonical fast. One blogger who moved from a GitHub Pages subdomain to a custom domain found that manual Search Console requests didn't shift Google's canonical choice over 30 days, which is part of why some developers script bulk submissions.
  • You need to run the process daily rather than once.
  • You want removals acknowledged quickly. URL_DELETED notifications are a clean way to tell Google that an expired posting or a removed product is gone.

If none of those fit, stick with the free route. Building API authentication for a single stuck blog post is a lot of engineering for a problem Search Console solves in two clicks.

How the API works in plain terms

If you do qualify for the heavier approach, the setup runs through five steps, and none of them needs code until the last.

  1. Create a Google Cloud project and enable the Indexing API inside it.
  2. Create a service account and download its private key, which is a JSON file.
  3. Add that service account as an Owner in your Search Console property's user permissions. Almost everyone gets this step wrong the first time, and skipping it makes every API call return a 403 error.
  4. Wait for permission propagation, which can take anywhere from a few minutes to a few hours before calls start succeeding.
  5. Submit URLs with a notification type of URL_UPDATED or URL_DELETED, authenticated with an OAuth token exchanged for your private key.

A script that does this usually has the same few parts: an authentication module that loads the key, a function that submits one URL and retries on failure, and a main loop that reads URLs from your sitemap and submits them while staying under the daily quota.

Each project gets a default quota of 200 publish requests per day, with updates and removals counted together, plus 180 metadata requests and 380 total requests per minute. The daily limit resets at midnight Pacific Time. An October 2026 documentation update, reported by Search Engine Journal, removed the approval-request form and the steps for asking for a higher quota, and Google didn't say whether the approval requirement itself changed. If you're planning around a quota increase, check the current Google API Console quota page instead of older guides.

Several commercial tools wrap this same API in a dashboard so you don't write the authentication code yourself. They typically charge a monthly or per-project fee and advertise average indexing times of a couple of minutes, though results still depend on Google's crawl queue and on page quality.

When the API is the wrong tool

Skip it for evergreen content, for pages that Google has already crawled and rejected, and for any site where a clean sitemap and healthy internal linking already get new URLs picked up in reasonable time. For those sites, the alternatives are a sitemap submitted in Search Console and manual Request Indexing for the occasional page. A sitemap is the primary discovery path for your URLs in bulk, whereas the API is a priority lane for specific pages.

Common mistakes to avoid

  • Assuming submission equals indexing. The API queues a crawl and promises no result, so a thin or duplicate page won't index faster because you called it.
  • Skipping the Search Console ownership step. The service account must be an Owner of the property rather than a regular user, or every call fails with a 403.
  • Using it on content outside the supported types and expecting the reliability Google promises for job postings and broadcast events.
  • Requesting indexing on the same URL in Search Console several times within hours.
  • Treating the API as a sitemap replacement.
  • Committing the service account's JSON key to a public repository. Treat it like a password.

If a page keeps failing to index no matter what you request, the cause is often content quality or duplication rather than crawl speed. A free tool to confirm keyword rankings before assuming indexing is the bottleneck can help you check.

FAQs

Does the Google Indexing API guarantee my page gets indexed?

No. It notifies Google that a URL changed and asks for a priority crawl. Google's crawler still visits the page and applies its normal quality and relevance checks before deciding to index it.

Can I use the Indexing API for any type of page?

Officially, Google says the API supports pages with JobPosting or BroadcastEvent structured data. Many people submit other URL types and see them accepted, but Google has not committed to that working reliably going forward.

What's the daily limit for the Indexing API?

The default is 200 publish requests per day per project, covering both updates and removals, with a per-minute cap of 180 metadata requests. The daily count resets at midnight Pacific Time.

Why does the API return 403 Forbidden?

The usual cause is that the service account hasn't been added as an Owner of the property in Search Console. Permissions can also take a few minutes to a few hours to propagate, so a call made right after setup may still fail.

Can the API force Google to recrawl a page?

It asks for a priority crawl, and Google decides what happens next. Crawling a page doesn't oblige Google to index it.

Is Request Indexing in Search Console the same as the Indexing API?

Both put a URL into a priority crawl queue. Request Indexing is free, manual, and built into the console you already use, while the API automates the same kind of request across many URLs.

How is the API different from submitting a sitemap?

A sitemap lists your URLs for Google to crawl on its own schedule and remains the main route for the bulk of your pages. The API pushes individual URLs, such as new or deleted ones, into a faster queue.

Why does Google say "Discovered, currently not indexed" even after I request indexing?

Google is usually deprioritizing the page because of crawl budget, perceived content quality, or similarity to other pages on your site. Fixing the underlying page is often more effective than repeated submission.

Talk to the team

Chasing one stuck URL through Search Console takes about five minutes. Chasing indexing problems across a whole site, week after week, is a poor use of hand-fired API calls. If you want a clear picture of which pages are indexed, which are stuck, and why, talk to the team and get a sample report built around your own site.

Related reading: Search Console API: How to Get Access and What It Returns.

See what this looks like on your own siteEnter your website. You get the searches your buyers make and the page that should answer each one.

Sources

About the author

SearchBlueprint researched, wrote and scored this article with the content pipeline our customers run on their own sites. The score in the byline is what our content engine gave this page before it published. Nothing here is reviewed by hand, which is the point: it is the product's output, published where anyone can check it.

All Google Search Console guides