Normally a search engine has to find a new page on its own: a crawler returns to the site, reads the sitemap or follows links to the new address. That can take hours or weeks. IndexNow reverses the approach: the site owner notifies the search engine the moment a page appears or changes. This guide covers how IndexNow works, how to set it up manually and automatically, and how to read its errors.
How IndexNow works
IndexNow is an open protocol proposed by Microsoft Bing and Yandex. Participants include Bing, Yandex, Naver, Seznam and Yep, and notifying one of them is enough because they share submitted URLs. Google does not officially support IndexNow, so sitemaps and Search Console remain essential for Google. IndexNow also does not guarantee indexing; it only signals that a URL has changed.
Step 1: create and host a key
The key proves you control the site. It must be 8 to 128 characters of letters, digits and dashes:
openssl rand -hex 16
# example: 3f9a2c7e51b04d8e9a6c1f2b7d3e8a40
Create a text file in the site root named after the key, containing only the key, so it opens at https://example.uz/3f9a2c7e51b04d8e9a6c1f2b7d3e8a40.txt. On sayt.uz hosting you can do this with the ISPmanager file manager or FTP.
Step 2: submit a single URL
curl "https://api.indexnow.org/indexnow?url=https://example.uz/news/sport-12&key=3f9a2c7e51b04d8e9a6c1f2b7d3e8a40"
A 200 or 202 response means the request was accepted.
Step 3: submit many URLs at once
When many pages change, for example prices across a shop, send up to 10,000 URLs in one JSON POST. All URLs must belong to the host:
curl -X POST "https://api.indexnow.org/indexnow" \
-H "Content-Type: application/json; charset=utf-8" \
-d '{
"host": "example.uz",
"key": "3f9a2c7e51b04d8e9a6c1f2b7d3e8a40",
"urlList": [
"https://example.uz/product/fridge-a1",
"https://example.uz/product/washer-b2"
]
}'
Add keyLocation only if the key file is not in the root.
Response codes
| Code | Meaning | Action |
|---|---|---|
| 200 | Accepted | Nothing to do |
| 202 | Accepted, key being validated | Make sure the key file opens |
| 400 | Bad format | Check JSON and parameters |
| 403 | Key not valid | Compare file name and content |
| 422 | URLs do not belong to host | Check domain and http/https |
| 429 | Too many requests | Slow down |
Automating it
For WordPress, Microsoft publishes an official IndexNow plugin, and some SEO plugins include the feature; they ping on publish, update and delete. A custom site needs only a small function called after saving a page:
function indexnow_ping(array $urls): int {
$ch = curl_init('https://api.indexnow.org/indexnow');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode([
'host' => 'example.uz',
'key' => '3f9a2c7e51b04d8e9a6c1f2b7d3e8a40',
'urlList' => $urls,
]),
CURLOPT_HTTPHEADER => ['Content-Type: application/json; charset=utf-8'],
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
]);
curl_exec($ch);
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
return $code;
}
A local news site in Namangan publishing dozens of stories a day can call this after each save, so Bing and Yandex learn about every story within seconds, when interest is highest.
Practical tips
Submit only genuinely new or meaningfully changed pages; resubmitting unchanged URLs does not help and can trigger rate limits. Deleted pages can be submitted too, as long as they return 404 or 410. Track results in the IndexNow report of Bing Webmaster Tools and in Yandex Webmaster. IndexNow complements your sitemap rather than replacing it.