Submit sitemap URLs to IndexNow
indexnow_submitSubmits a site's URLs to every IndexNow search engine. Use it when the user asks to submit their sitemap or changed pages to Bing, Yandex or IndexNow, for example "submit the pages that changed this week on example.com". Pass site and key; optional changed_since, path_prefix, sitemap or urls. It reads the key file first and sends nothing unless the file holds exactly the key. Then it posts the URLs to Microsoft Bing, Yandex, Seznam.cz, Naver, Yep, Amazonbot and returns each engine's status, HTTP code and meaning. At most 10,000 URLs per submit; pass batch 2, 3 and on for the rest. Limits: one submit per site every 60 seconds, and the same batch once every 5 minutes. Accepted is not indexed. Do not use it for a site the user does not own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The site's IndexNow key. Its key file must be live: nothing is sent unless the file holds exactly this key. | |
| site | Yes | The site's domain or address, such as example.com or https://www.example.com. A bare domain means https. One host per call: www.example.com and example.com are different hosts. | |
| urls | No | Optional list of URLs to send instead of the sitemap, all on the site's host. At most 10,000. | |
| batch | No | Optional, default 1. When more URLs qualify than one submit takes, batch 2 is the next slice of the newest-first list, and so on; urls.batches says how many there are. | |
| engines | No | Optional subset of engines. Default: all 6 (bing, yandex, seznam, naver, yep, amazonbot). | |
| sitemap | No | Optional sitemap or sitemap index address. Without it the Sitemap lines of robots.txt are used, then /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml. Gzip files work. | |
| max_urls | No | Optional URLs per submit, default 10,000. When more URLs qualify, the newest lastmod goes first and the rest wait for the next batch. | |
| path_prefix | No | Optional path start, such as /blog/. Only URLs under it. | |
| key_location | No | Optional https address of the key file when it is not at /<key>.txt. It must be on the same host and end in .txt; it then covers only URLs in its folder and below. | |
| changed_since | No | Optional YYYY-MM-DD. Only sitemap URLs whose lastmod is on or after this day; URLs with no lastmod are left out. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| urls | Yes | ||
| as_of | Yes | ||
| reason | Yes | ||
| ad_line | Yes | ||
| engines | Yes | ||
| sitemap | Yes | ||
| summary | Yes | ||
| key_file | Yes | ||
| protocol | Yes | ||
| url_list | No | ||
| next_step | Yes | ||
| submitted | Yes | ||
| acceptance_note | Yes | ||
| retry_after_seconds | No |