The Google Indexing API only accepts job posting and livestream pages on sites you verify.

Check whether your page is eligible

Paste the page’s JSON-LD (script tags and @graph are fine) or pick its type.

2. Whose site is the page on?

In detail: a site owner whose service account is an owner in Search Console can tell Google that a job listing (JobPosting) or a livestream (BroadcastEvent inside a VideoObject) was published, changed or taken down, and any other kind of page is outside the API.

Pages of any other type on sites you do not control can go through Rapid URL Indexer’s own API instead: a separate REST service, authenticated by an X-API-Key header, that takes any public address, while Google still decides what it indexes. If the page is an ordinary one on your own site, our guide on how to get a page indexed faster walks through the free routes Google documents.

What the Google Indexing API is

The Indexing API is a Google Search Central API for sites with many short-lived pages. Google describes it as a way for site owners to “directly notify Google when their job posting or livestreaming video pages are added or removed”, which lets Google schedule those pages for a fresh crawl (Google Search Central, Indexing API Quickstart). Pushing updates one by one keeps such content fresh in results, where a sitemap would be read too late for a job that closes next week.

The limit is stated in the same documentation: the API “can only be used to crawl pages with either JobPosting or BroadcastEvent embedded in a VideoObject”. A JobPosting page is a job listing marked up with schema.org JobPosting; a livestream page carries VideoObject markup whose publication is a BroadcastEvent. Blog posts, product pages, category pages and backlink pages are outside its scope.

What you can do with the API: update, remove, get status, batch

  • Update a URL. A URL_UPDATED notification tells Google about a new URL or changed content. An HTTP 200 response means Google “may try to recrawl this URL soon”, not that it has indexed it.
  • Remove a URL. A URL_DELETED notification asks Google to drop the page and stop crawling it. Before you send it, the URL must return 404 or 410, or the page must carry a noindex robots meta tag.
  • Get notification status. A GET request to the metadata method returns the last time Google received each kind of notification for a URL. It does not tell you when Google indexed or removed it.
  • Send a batch. Up to 100 calls can share one HTTP request in a multipart batch. Each part is a complete request and cannot exceed 1MB (Google Search Central, Using the Indexing API).

Every request body holds two required fields, the fully qualified url and the notification type, and must be sent with the header Content-Type: application/json.

Setup: enable the API, create a service account, verify ownership, get a token

  1. Create a project and enable the API in the Google API Console, using Google’s setup tool for the Indexing API.
  2. Create a service account and create a key for it. Google recommends the JSON format; the downloaded file is the only copy of the private key, so store it safely.
  3. Verify ownership of the site in Search Console, with a Domain property or a URL-prefix property.
  4. Add the service account as an owner. In Search Console, open the property, choose Add an owner under Verified owners and enter the service account’s email address, which you find in the client_email field of the JSON key.
  5. Get an access token. Each call must carry an OAuth token obtained with the private key for the Indexing API scope (it ends in /auth/indexing). Google’s client libraries handle this for Python, Java, PHP and Node.js (Google Search Central, Prerequisites for the Indexing API).

WordPress plugins that send Indexing API requests ask for the same JSON key. Their setup is this list, done through the plugin settings instead of code.

Build a request body

Enter one or more URLs and pick the notification type. You get the JSON body for each URL and the multipart batch layout from Google’s documentation, with up to 100 calls per batch, ready to send from your own service account.

Quota and spam detection

Default Indexing API quota per Google Cloud project
QuotaDefaultCovers
Publish requests per day200Both URL_UPDATED and URL_DELETED. Resets at midnight Pacific Time.
Metadata requests per minute180Read-only status requests.
All requests per minute380Every endpoint together.

The figures above come from Google’s Indexing API quota and pricing page, which adds that because the daily count resets at midnight Pacific Time, new quota can take up to 24 hours to become effective. Quota is counted per URL, so a batch of 10 notifications uses 10 of the 200 daily publish requests (Google Search Central, Using the Indexing API).

Worked out from those defaults: two full batches of 100 use up a day’s publish quota (200 divided by 100), and a 30-day month allows about 6,000 publish requests (200 times 30). A list of 9,999 URLs, the size of one full Rapid URL Indexer project, would need 50 days of default quota (9,999 divided by 200 is 49.995, so the last request goes out on day 50), and that only if every page were an eligible job or livestream page.

Google adds a warning that matters more than the numbers: “All submissions through the Indexing API undergo rigorous spam detection. Any attempts to abuse the Indexing API, including the use of multiple accounts or other means to exceed usage quotas, may result in access being revoked.” Its spam policies apply to everything you submit, and the guidelines ask you not to circumvent the submission limits.

Checking your quota and hitting the limit

Google’s quota page lists the defaults and sends you to the Google API Console to view your project’s quota; it does not set out a separate process for raising it. Past the limit, the API answers with HTTP 429 and an “Insufficient tokens for quota” message, the request is rejected and Google does not crawl the URL (Google Search Central, Indexing API errors). Spreading requests over several accounts to get around the limit is exactly what the spam warning above names.

Using the Indexing API for normal pages: what Google says

Some WordPress plugins and scripts send ordinary pages through the Indexing API. Google’s documentation does not support that use: it names only JobPosting pages and livestream pages, applies spam detection to every submission and warns that abuse may cost you access. It does not describe any benefit for other page types, so there is no documented reason to expect one.

A second limit rules the API out for backlinks entirely: it only works for a site where your service account is an owner in Search Console, and a guest post or a directory listing belongs to someone else. The usual follow-up question is “How do I request indexing for pages I don’t own?”, and our side-by-side of Search Console requests and indexing services answers it.

Is the Google Indexing API free?

Yes. Google’s quota and pricing page says “All use of the Indexing API is available without payment.” The cost is the setup work and the quota: 200 publish requests a day per project by default.

The price of the free API is its narrow scope. To submit ordinary pages and backlinks for indexing, which the Indexing API refuses, Rapid URL Indexer is the paid alternative: it accepts any public URL without Search Console access, runs on credits, lets a project hold at most 9,999 URLs, and leaves the indexing decision to Google.

Options for pages the API does not cover

Most pages fall outside the Indexing API, and each kind has a route that does apply. Before paying for a service that handles third-party pages, settle the basic question: do link indexers work? Our explainer covers what they can and cannot do. For Bing, Yandex and other engines there is a free protocol with no page-type limit; read our guide to IndexNow for Bing and other engines. To cover Google, Bing and the regional engines in one pass, use our checklist for submitting a site to every major search engine.

Sitemaps and Request Indexing for your own site

We explain how Google indexing works from discovery to serving; for your own pages, three free routes do most of the work:

  • XML sitemap. Submit it in Search Console or reference it in robots.txt. Google treats it as a hint for discovery, so keep only canonical, indexable URLs in it.
  • Internal links. Link new URLs from pages that Google revisits frequently, such as your homepage.
  • Request Indexing. Use the URL Inspection tool for a handful of URLs. Only property owners and full users have access, each request uses quota, and repeats do not help.

To choose between them for a given page, see the Google submission route planner.

Pages on other people’s sites

Search Console requests and the Indexing API share one condition: you must manage the site. A guest post or listing that links to you leaves three options: have its owner submit it, link to it from pages crawlers already visit, or pass it to a submission service.

Rapid URL Indexer’s REST API is built for that last case. Requests carry an X-API-Key header; a POST /api/v1/projects call opens a project of at most 9,999 URLs, after which you poll the status and report endpoints. The initial report is available after 4 days. The URLs can be any public pages, including backlink pages, profiles, directory listings and press releases. Whatever the route, a page with noindex, a robots.txt disallow rule, a redirect or a canonical aimed elsewhere will not be indexed.

Frequently asked questions

Is Google API still free?

The Indexing API is. Google’s quota and pricing page says all use of the Indexing API is available without payment. The default quota is 200 publish requests per day per project, plus per-minute limits for status and other requests.

How to get instant indexing google api key?

Create a project in the Google API Console, enable the Indexing API, create a service account and download its JSON key. Then verify your site in Search Console and add the service account’s email address (the client_email in the JSON file) as an owner. Plugins that offer instant indexing ask for that JSON key; it only covers job posting and livestream pages.

Can I use the Indexing API for normal pages?

Google’s documentation says no: it limits the API to job posting pages and to livestream pages marked up as a BroadcastEvent inside a VideoObject. All submissions go through spam detection, and abuse can lead to revoked access. For normal pages, use a sitemap, internal links and Request Indexing in Search Console.

How long can Google indexing take?

For ordinary pages, Google puts a crawl at days to weeks after a request and promises no inclusion. For eligible pages, an HTTP 200 from the Indexing API only means Google may try to recrawl the URL soon.