Google Indexing API
Submit your site URLs directly to Google for faster indexing. Instead of waiting for Google to discover new or updated pages via crawling, the Indexing API lets you notify Google immediately.
Prerequisites
- A Google Cloud project with the Indexing API enabled.
- A service account with a downloaded JSON key file.
- The service account email added as an owner in Google Search Console.
Step 1 — Create a Google Cloud Project
- Go to Google Cloud Console.
- Click Select a project at the top, then New Project.
- Enter a project name (e.g. "Raita Indexing") and click Create.
Step 2 — Enable the Indexing API
- In the Cloud Console, go to APIs & Services > Library.
- Search for "Web Search Indexing API".
- Click Enable.
Direct link: Enable Indexing API
Step 3 — Create a Service Account
- Go to APIs & Services > Credentials (direct link).
- Click Create Credentials > Service account.
- Enter a name (e.g. "raita-indexing") and click Create and Continue.
- Skip the role step (click Continue) — the Indexing API does not require a project-level role.
- Click Done.
Step 4 — Download the JSON Key
- In the Credentials page, click on the service account you just created.
- Go to the Keys tab.
- Click Add Key > Create new key.
- Select JSON and click Create.
- A
.jsonfile will be downloaded — keep it safe.
Step 5 — Add Service Account to Search Console
This is the step most people miss. Google will reject all indexing requests unless the service account is verified as a property owner.
- Go to Google Search Console.
- Select your property.
- Go to Settings > Users and permissions.
- Click Add user.
- Enter the
client_emailfrom the JSON key (e.g.raita-indexing@your-project.iam.gserviceaccount.com). - Set permission to Owner.
- Click Add.
Step 6 — Configure in Raita
- Open Sites in the sidebar.
- Click Indexing on the site you want to configure.
- Upload the JSON key file or paste its contents.
- Click Save Config.
Step 7 — Submit URLs
- In the Indexing panel, all crawled pages are listed with checkboxes.
- New pages (never submitted) are checked by default.
- Previously submitted pages are unchecked — re-check them if the content has been updated.
- Click Submit to send selected URLs to Google.
- A green Submitted badge appears next to each successfully submitted URL.
The next time you open the Indexing panel, Raita remembers which URLs were already submitted and leaves them unchecked automatically.
Quotas and Limits
| Limit | Value |
|---|---|
| URL notifications per day | 200 per property |
| Notification type | URL_UPDATED (new or changed pages) |
| Supported content | Publicly accessible URLs only |
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| 403 Forbidden | Service account not an owner in Search Console | Complete Step 5 |
| 429 Too Many Requests | Daily quota exceeded | Wait 24 hours or reduce batch size |
| Invalid private key | Corrupted or wrong JSON file | Re-download the key from Cloud Console |
| Token exchange failed | Indexing API not enabled | Complete Step 2 |