n8n Verified Creator, with published platform-verified workflows→
All posts
GrowthNovember 25, 20267 min read

Free Google indexing tool: how I got every page of a new site crawled in an hour

Paid indexing services charge per link and ask for your Search Console keys. Here is the free script I use instead, the 10-minute setup, and the real output from submitting 45 pages: all 45 accepted.

S

Shahrukh Majeed

AI Automation Engineer & GTM Systems Architect

The problem

I rebuilt my site last week. New pages, new case studies, new blog posts. Then I searched for them and found nothing, because Google had not crawled them yet.


Google crawls new sites on its own schedule. For a site with no history, that means days for the homepage and weeks for the rest. You can submit a sitemap and request indexing in Search Console, but that is a few pages a day, by hand.


So I looked at the paid "instant indexing" tools. They charge per link, promise results in minutes, and most of them want you to upload your Search Console credentials. I did not want to pay per page or hand my keys to a service I cannot see inside.


The thing is, the fast path they are selling is something Google gives you directly. It is called the Indexing API, and you can use it yourself for free.

What the Indexing API does

It is a way to tell Google "this page changed, crawl it now." Google built it for sites with pages that go stale within hours, like job boards and livestream listings. When you submit a page, Google usually fetches it within minutes instead of whenever it next gets round to your site.


Two honest caveats before you get excited:


  • Google's documentation says the API is intended for pages with job posting or livestream structured data. Ordinary pages submitted this way get crawled quickly in my experience, but Google still decides whether to keep each page in its index. "Accepted" means crawled soon, not ranked.
  • It works only for sites you own. You have to make a Google account you control an Owner of the site in Search Console. You cannot use it to push someone else's pages.

That second point is why the paid tools are a bad deal: either they are using your own credentials, in which case you could do it yourself, or they are using pools of accounts to get around Google's limits, which Google says can get access revoked.

The free tool

I wrote a small Node.js script. It reads your sitemap, or the pages you name, and submits each one to the API. No dependencies, no service, no credits. It is open source here:


github.com/shahrukh0909/google-indexing-tool


Here is what it printed when I ran it on my own site:


Submitting 45 pages as service-test@indexing-ap-515722.iam.gserviceaccount.com
  accepted  https://www.shahrukhmajeed.com
  accepted  https://www.shahrukhmajeed.com/overview
  accepted  https://www.shahrukhmajeed.com/work
  accepted  https://www.shahrukhmajeed.com/diagnostic
  ...
  accepted  https://www.shahrukhmajeed.com/blog/why-ai-automation-fails
45 of 45 accepted.

Every page of the site, submitted in about a minute.

The setup, step by step

This takes about 10 minutes and you only do it once.

1. Create a Google Cloud project

Go to console.cloud.google.com/projectcreate and create a project. Any name works.

2. Enable the Indexing API

Open the Indexing API page, make sure your new project is selected at the top, and click Enable.

3. Create a service account and download its key

A service account is a Google identity for a program rather than a person.


  • Go to the service accounts page and click Create service account.
  • Give it a name. On the permissions screens, grant nothing and click through. It needs no role in Google Cloud.
  • Open the new account, go to the Keys tab, then Add key, Create new key, JSON. The key file downloads once.

Treat that file like a password. Move it out of your Downloads folder, keep it out of any git repository, and never upload it to a third-party service. If it ever leaks, delete the key in Google Cloud and create a new one.

4. Make the service account an Owner of your site

In Search Console, Users and permissions, add the service account's email address (it ends in .iam.gserviceaccount.com) with the permission set to Owner. "Full" is not enough; the API rejects it.

5. Run the script

# See what would be sent, without sending anything
SITE=https://www.example.com node index.mjs --dry-run

# Submit every page in your sitemap
SITE=https://www.example.com GOOGLE_INDEXING_KEY=~/.keys/google-indexing.json node index.mjs

# Submit only the pages that changed
SITE=https://www.example.com GOOGLE_INDEXING_KEY=~/.keys/google-indexing.json node index.mjs /about /blog/new-post

If a line comes back as 403, the service account is not an Owner yet or the API is not enabled on the project. 429 means you hit the daily quota of 200.

How to use it without hurting yourself

  • Submit a page when it is new or has changed. That is what the API is for.
  • Do not resubmit unchanged pages every day. It adds nothing and burns quota.
  • Do not create extra accounts to get past the quota. Google names that specifically as abuse.
  • Check the result in Search Console a day or two later. URL Inspection tells you whether a page is on Google. Submission gets you crawled; the page itself has to earn the index.

What happened after

Within an hour, Google had fetched the pages. A few hours after that, Search Console emailed me to say the pages were indexed. For a new domain with no history, that would normally have taken weeks.


The script is now part of my publish routine: push the change, run it for the pages that changed, done.


If you run your own site and have been paying a service for this, you can stop.

Discuss this

I also published this as an article on LinkedIn. Questions and corrections are welcome there, or as issues on the GitHub repo.

If your own systems keep breaking

Fast crawling was a side quest. My day job is building outbound engines, AI agents and CRM systems for B2B companies, and keeping them running after launch. If you have a workflow that keeps breaking, send me one and I will tell you exactly what is wrong with it. Free, and the answer is yours either way.

Free calculator

What could AI help your business make?

Four free calculators: AI agents, CRM automation, paid ads and operations. Your number in two minutes.

Open the calculators
Newsletter

Get the next post by email.

I write about AI agents, outbound and prompt engineering. About the newsletter

You confirm by email before anything is sent. Unsubscribe any time.

Free, yours either way. Reply within 24 hours.