O By OnLinker Growth Lab • Last updated: • ⏱ 5 min read

IndexNow Setup for Bing and Yandex, From Key File to Batch POST

IndexNow Setup for Bing and Yandex, From Key File to Batch POST

Set up an IndexNow key, submit URLs to Bing and Yandex, fix 403 and 422 errors, and see what a 200 response actually gets you.

IndexNow lets your site tell Bing and Yandex directly that a URL changed, and the whole exchange is one HTTP request. Setup is genuinely short: generate a key, drop a text file in your root, send a POST, and the shared endpoint notifies every participating engine at once. What takes real time is getting it right, because a 200 response means your submission was accepted, not that your page got crawled, and the 403 error that kills most installations has a mundane cause hiding behind it. This guide walks through how the protocol works, what each status code means, the exact setup steps, and the failure patterns nobody puts on the landing page. Start with the mechanics, because every fix later depends on understanding them.

How IndexNow Actually Works Under the Hood

IndexNow is a ping protocol, plain and simple. Your site tells the search engine "this URL changed", the engine decides what to do with that information, and the whole exchange takes one HTTP request. No crawl scheduling, no waiting in a discovery queue. Bing, Yandex, and Seznam all accept the same protocol, which is why one setup covers multiple engines.

The verification layer is what trips people up. Before an engine trusts your submission, it fetches a plain text file from your host to confirm you actually own the domain. That file must sit at your root, be named exactly after your key, and contain nothing but the key string itself. Yandex checks this key on every single API request, not just the first one.

The key itself has hard rules. It runs 8 to 128 characters, UTF-8 encoded, and only letters, digits, and hyphens are allowed. The engine expects the same value in the filename, the file body, and the request parameter. Mismatch any of those and you get a 403.

The Two Submission Methods

Single URL. A GET request with the URL and key as query parameters. You can fire it from a browser bar, curl, or wget. A 200 response means the engine received it, nothing more.

Batch mode. A POST with a JSON body containing host, key, and a urlList array. Up to 10,000 URLs per request, and you can mix http and https. The official documentation recommends automating this the moment content changes, within sane limits for user-generated content.

One detail worth knowing: if you place the key file somewhere other than the root, every request must carry a keyLocation variable, and the key then only covers URLs in that same directory. Yandex's docs spell this out. A key at /catalog/key.txt won't validate pages under /help/. Subdomains each need their own key, though a single key can be reused across multiple domains.

Key Metrics / Benchmark Ticker

Parameter Value
Key length 8-128 characters
Allowed characters a-z, A-Z, 0-9, hyphen
Batch limit 10,000 URLs per POST
Success codes 200 (accepted), 202 (key validating)
Key encoding UTF-8, plain text, no HTML
Engines on protocol Bing, Yandex, Seznam

Reading the Status Codes

The diagnosis lives entirely in the HTTP code the endpoint returns, and most CMS plugins flatten it into one useless error line. Here's the mapping:

  • 200: URLs received, nothing to fix.
  • 202: Key is still being verified. Resubmit a few URLs and wait.
  • 400: Malformed JSON, or a urlList that isn't absolute URLs.
  • 403: Key verification failed. The engine couldn't fetch your key file, or the content didn't match.
  • 422: A URL in the batch doesn't belong to the host in the request.
  • 429: Too many submissions too fast. Back off and batch them.

The 403 is the one you'll see most, and it almost always means the engine fetched something other than your key. Site builders that serve a template page on unknown paths fail here, because the URL "works" in a browser but returns HTML instead of the raw key. Test it yourself: open https://yourdomain/<key>.txt in a private window. It must return 200, directly, with the key and only the key in the body.

That covers the mechanics. The next question is what happens once you actually flip it on, because the protocol's marketing and its production behavior are two different things.

What Actually Happens When You Set It Up

The setup itself takes five minutes. That part of the marketing is true. Generate a key, drop a text file in your root directory, send a POST request. Done.

Then the complaints start.

Rank Math's own knowledge base exists because of one recurring failure: the 403 Forbidden error. Users enable the Instant Indexing module, the plugin is supposed to auto-create the key file at the root, and it doesn't. Plugin conflicts, aggressive caching, a redirect stripping the file, or a robots.txt rule blocking it. The bot asks for your key, gets refused, and every submission dies before it reaches the queue. The fix is mundane. You change the API key inside the plugin, clear cache, hit "Check Key", and if the URL still 404s, you create the txt file yourself.

Forum threads on 422 errors follow the same pattern. The endpoint accepted your request format but rejected the host and key combination, so nothing gets distributed. You'll see "Error submitting page to IndexNow" in your logs and no obvious reason why.

Here's the part nobody puts on the landing page. A 200 OK means one thing only: the submission passed the endpoint's checks. Not that your page was fetched, crawled, or indexed. One practitioner's guide puts it bluntly: a successful notification "does not promise that the page will be crawled immediately, indexed or ranked." The search engine still decides. You've moved from passive discovery to active notification, but the engine's judgment sits on the other side of that POST.

There's also a scenario that plays out in production and gets missed for weeks. A team migrates 4,000 product URLs, deploys, waits. Three weeks later, Bingbot has crawled 42 of the new URLs. That number comes from a real documented migration case, and the pattern is common: crawler discovery after a URL restructure is slow and unpredictable, and nobody notices the stall until organic traffic drops.

So the textbook says "immediate indexing." Reality has stages, and conflating them is where people get burned:

Signal What it proves What it doesn't prove Where to see it
Plugin logs a submission Your CMS fired an event The endpoint received it Rank Math IndexNow History
200/202 response Endpoint accepted host + key The page was fetched API response code
Server log shows bot fetch A verified crawler pulled the URL The URL entered the index Server access logs
URL appears in search The engine indexed it Anything about ranking Bing Webmaster, Yandex Webmaster

Track them separately. A site can show perfect 200s for months while its pages sit uncrawled, because the notification told the engine about the URL but nothing compelled it to act.

One more gap worth knowing before you build anything: Google isn't a participant. The official registry, checked in late 2026, lists Bing, Yandex, Naver, and Seznam. If your missing-page problem lives in Google Search Console under "discovered, currently not indexed," IndexNow won't touch it. That's a separate diagnosis.

Before writing any code, check whether your platform already ships support. WordPress, Shopify, Wix, Joomla, Drupal, and PrestaShop all have native or plugin-level integration, and Cloudflare handles it at the CDN layer. Manual implementation is only worth building when the CMS route is genuinely closed off.

Setting Up IndexNow: The Actual Steps

You can be live in under an hour. Here's the sequence.

Week 1, Day 1: Generate a key. Pick any string of 8-128 hexadecimal characters (a UUID with hyphens stripped works fine). Create a text file named after your key, so the file is {your-key}.txt, and put nothing inside it except the key itself. Drop it in your site root. Visit https://yoursite.com/{your-key}.txt in a browser. If you see the key and nothing else, you're done with this step.

Day 1, later: Send your first URL. One GET request is enough:

https://api.indexnow.org/indexnow?url=https://yoursite.com/page&key=••••••••

That single call notifies every participating engine at once, which is the whole point of the shared endpoint. Bing, Yandex, Naver, Seznam, and Yep all receive it. You can also POST a JSON payload if you're batching, and you should batch once you go past a few dozen URLs.

Week 1 to Month 1: Wire it into your publishing flow. Your CMS should ping the endpoint automatically whenever a page is created, updated, or deleted. WordPress plugins and Cloudflare's IndexNow integration both do this without custom code. Cloudflare is the easiest path if you're not on WordPress: enable it in the dashboard and it submits URLs as they change, using its own key it hosts for you.

Month 1 milestone: verify it's actually working. Check Bing Webmaster Tools and Yandex Webmaster. Both show IndexNow submission counts and, in Bing's case, how many submitted URLs got crawled. If submissions appear but crawl counts stay at zero after two weeks, your key file or content is the problem, not the protocol.

Where It Goes Wrong

The 403 error is the one everyone hits. Nine times out of ten, the key file is blocked, not missing. A firewall plugin, a CDN bot rule, maintenance mode, or HTTP basic auth will hide it from the crawler, and the engine can't verify you own the site. Test the key URL from an incognito window. If it loads, check robots.txt isn't disallowing it.

A few limits worth knowing before you build around this:

  • The protocol covers participating engines only. Google isn't one of them and has given no indication it will join. If Google traffic is your priority, IndexNow does nothing for you.
  • Submitting a URL is a notification, not a guarantee. The engine decides whether to crawl and index, and it can decline.
  • Repeatedly submitting unchanged URLs just to "refresh" them burns trust. Engines track key behavior, and spammy patterns get your submissions deprioritized.
  • The key file must stay accessible forever. Move hosts, and the first thing to check is whether that .txt file survived the migration.

FAQ

How long does IndexNow take to work? Usually minutes, sometimes hours. Bing has reported processing billions of URLs daily through the protocol, and most submissions get crawled the same day. Deindexing or major content changes take longer than simple updates.

Does IndexNow work with Google? No. Google doesn't participate, and it hasn't signaled any intention to. You still need Search Console's URL Inspection or sitemap submission for Google. IndexNow covers Bing, Yandex, Naver, Seznam, and Yep.

Is IndexNow free? Yes. The protocol is an open standard, the shared endpoint costs nothing, and there are no rate limits in the paid sense. No account, no OAuth, no expiring tokens.

Can I submit URLs in bulk? You can, via a POST request with a JSON body containing up to 10,000 URLs per batch. Generate the key file once, then batch from a script or plugin.

Why is my key file returning 403? Something is blocking it. Check for a security plugin, CDN bot rule, or maintenance mode, and confirm the file sits in your site root with only the key inside it. Test in an incognito window.

Do I need to resubmit updated pages? Yes, and you should. IndexNow handles updated and deleted URLs the same as new ones. That's the fastest way to get a changed page re-crawled.

If you haven't set the key file up yet, do that first today. Everything else builds on it.

O

OnLinker Growth Lab

The OnLinker research team tests search algorithms, crawl budget optimizations, and data-driven marketing playbooks for modern webmasters.

This guide was last reviewed on December 1, 2026. Editorial Policy · contact us with corrections