Short answer: Check three things together: the submitted URL must belong to the declared host, the key file must be publicly reachable, and its location must cover that URL. An HTTP 200 means the IndexNow endpoint received the submission. It does not prove that a search crawler fetched the page or added it to an index. The IndexNow documentation defines response meanings and key-file verification.
Test one URL before resending a large list. Fetch the key file directly, compare its text with the key in your request, then inspect the complete request. Once those parts match, the response code becomes useful evidence about the submission itself. The published IndexNow overview explains which search engines may receive a notification. This guide focuses on diagnosing the request and key proof.
Match the key file to the host and URL path
An IndexNow key file is a publicly retrievable UTF-8 text proof. In the recommended root setup, the file name is the key followed by .txt, and its contents contain that same key. For example:
textURL: https://www.example.com/REPLACE_WITH_KEY.txt
Body: REPLACE_WITH_KEY
REPLACE_WITH_KEY is a placeholder for a key you generate for your own site. Use a placeholder instead of copying a site's key into an unrelated public example, issue, or screenshot. The key must be 8 to 128 characters and contain only ASCII letters (A–Z or a–z), digits (0–9), or hyphens (-). In the root setup, the filename is the key plus .txt, and the file body contains the same key. With a non-root keyLocation, check that the URL points to the public key file, that its body matches the request key, and that its directory covers the submitted URL; do not infer validity from the filename alone.
If the file is not at the host root, include its full URL as keyLocation. That location also limits the URLs the file can verify. A file at https://www.example.com/catalog/key.txt covers URLs under /catalog/; it does not automatically verify pages under /help/. The protocol documentation therefore recommends the root file where possible. The IndexNow FAQ also summarizes file-name and placement requirements. This is distinct from crawling: a submission is a signal to a participating service, not a guarantee that it will perform a crawl.
Check the exact host you use. www.example.com and shop.example.com are separate hosts. A different scheme can also produce a different URL. In a JSON batch, the host value must correspond to the hosts in the URL list. For a non-root file, keyLocation must point to that file and its path must cover the submitted URL. An XML sitemap is a separate way to list important URLs; submitting one does not replace the IndexNow key proof.
Test one request without guessing at encoding
For a single URL, let a client encode the query parameters instead of pasting punctuation into the request URL by hand:
shcurl --get \
--data-urlencode "url=https://www.example.com/products/blue?size=large" \
--data-urlencode "key=REPLACE_WITH_KEY" \
"https://www.bing.com/indexnow"
The endpoint is an example for a participating search service. Use the endpoint intended for your integration, your changed page URL, and your own key. The Bing IndexNow setup page describes the initial setup. RFC 3986 describes how URI components are encoded; the IndexNow documentation also requires the URL to be properly URL-encoded in the request.
Use this sequence:
- Fetch
https://www.example.com/REPLACE_WITH_KEY.txtdirectly in a browser or withcurl -i. Check the status and response body. A login screen, HTML error page, preview redirect, or protected file is not a reliably public key file. - Compare the request key with the file contents. For a root file, check that the filename is the key plus
.txt. For a file outside the root, verify its full publickeyLocationand that its path covers the submitted URL. Also check for accidental whitespace or an outdated key in the deployed environment. - For JSON submissions, compare the host in the URL with the
hostfield. WithkeyLocation, also check that the URL is within the allowed path below the key file. - Submit one URL whose status you just checked. Record the request shape, response code, host, and key path. Replace the site-specific key with a placeholder in any public log or screenshot.
- Read the response table below and change only the failing part. If the request format is valid but the key proof is not, fix the proof instead of repeatedly sending the same list.
The same checks apply to every URL in urlList. One entry with a different host or outside the path scope can make a batch fail. Split the initial diagnostic by host or URL path so you can tell whether the key check or one part of the list is responsible.
Read the response as a troubleshooting signal
| Response | What the IndexNow documentation says | Useful next check |
|---|---|---|
200 | The submission was accepted or received. | Record receipt, then verify crawling and indexing separately. |
202 | The URL was received; key validation is pending. | Confirm the file is already available and check the later result. |
400 | The request format is invalid. | Check the method, parameters, JSON shape, and URL encoding. |
403 | The key is invalid or proof is missing. | Check the file name, body, public access, and keyLocation. |
422 | The URLs do not belong to the declared host, or the key does not match the protocol schema. | Compare the host value, every URL host, and the key in use. |
429 | Too many requests were sent. | Stop automatic retries, respect the rate limit, then retry deliberately. |
The response code does not replace checking the actual request. A 403, for instance, can follow from a file that was never deployed, not only from a mistyped key. For 422, check whether every URL belongs to the declared host, and separately confirm that the key matches the protocol schema. The HTTP status codes glossary explains the general difference between success, redirects, and error responses.
For the batch API, the JSON body needs a matching host, a key, and a list of valid URLs. Include keyLocation when the file is outside the root. Do not copy a placeholder request into production. A URL on www.example.com does not automatically say anything about example.com; the host is part of the verification. Indexing happens later and should not be inferred from a successful HTTP reply.
What an accepted notification does not establish
IndexNow reports URLs that have been added, updated, or deleted to participating services. A successful response is evidence about transport: the service received the notification. It does not tell you when a crawler will visit the URL, whether the server can serve it to that bot, or whether the page will be indexed. The protocol documentation explicitly says that HTTP 200 only indicates receipt.
If the URL does not appear in search later, move to the next diagnostic layer. Check whether the service fetched it and whether the page returns an appropriate HTTP response with accessible content. Then examine Googlebot access and the relevant indexing report. Our guide to Crawled - Currently Not Indexed covers that later diagnosis. If a problem spans several hosts, status codes, or thousands of URLs, a technical Site Audit can organize the checks; it still cannot prove that a search engine indexed a URL.
Keep four states distinct in your incident notes: submission sent, submission accepted, URL crawled, and URL indexed. You can read the first two from your request and its HTTP response. The other two need separate evidence from logs and search engine reports.
Before the next submission
- The request key matches the body of the public key file.
- For a root key file, the filename is the key plus
.txt; for a non-root file, verify the publickeyLocationURL and its path scope. - The UTF-8 file is public and does not return HTML or a login page by mistake.
- The declared host, scheme, and every submitted URL are consistent.
- A non-root
keyLocationcovers the URL path being submitted. - Special characters in the URL are encoded correctly.
- One URL succeeds before the full list is submitted again.
- A
200is recorded as receipt, not as proof of crawl or indexing.
These checks help separate a request-format problem from a key ownership or path problem. They do not promise faster indexing; they make the submission route easier to verify.
Common questions
Does one root key file cover every page on a domain?
It is the recommended setup because it can cover URLs within that host. The exact host still matters. A file for www.example.com is not automatically proof for shop.example.com.
Can I put keyLocation in a subdirectory?
Yes. Supply the full file URL in the notification. The file's path limits the URLs it can verify. A file under /catalog/ is not a site-wide proof for /help/.
What should I check after HTTP 200?
Fetching the URL and indexing it are separate steps. Use the relevant crawl logs or search engine reports. The IndexNow response itself only confirms that the notification was received.