IndexNow: How to Ping Search Engines the Moment a Page Changes
IndexNow is a free protocol that tells Bing and other engines when a page is added, changed or deleted. Here's how it works, which engines use it, and how to wire it into a Next.js deploy on Vercel.
IndexNow is a free, open protocol that lets you tell search engines the moment a URL is added, updated or deleted. You host a key file on your site, then send the changed URLs to one endpoint. Bing, Yandex, Naver, Seznam, Yep and Amazon share those pings. Google does not take part, so IndexNow speeds up everything except Google.
Most guides stop at "turn on the plugin." That works for WordPress. It doesn't help a team on a custom Next.js site, where nobody owns the ping and the build doesn't know which pages changed.
This guide covers how IndexNow works, which engines read it, what it won't do, and how to wire it into a Next.js deploy on Vercel so it runs without anyone touching it.
Key takeaways
- It's a doorbell, not a pass. IndexNow tells engines where to look. It doesn't promise a crawl or a ranking.
- One ping reaches every member engine. Bing, Yandex, Naver, Seznam, Yep and Amazon share what you send.
- Google isn't in. For Google, a clean sitemap and good internal links still do the job.
- Send only what changed. Pinging your whole sitemap on every deploy burns trust and crawl quota.
- Ping after the deploy goes live. On Vercel, a build step fires too early. A deploy webhook fires at the right time.
What is IndexNow and how does it work?
IndexNow replaces waiting with telling. Without it, a search engine finds your change on its next crawl. That could be hours or weeks. With it, you send the engine a short message that says "this URL changed, come look."
The IndexNow documentation lays out three parts.
- Make a key. It's 8 to 128 characters, using letters, numbers and dashes.
- Host the key. Put a text file named after the key at your site root. The file holds the key and nothing else. Engines fetch it to check you own the site.
- Send URLs. Ping one URL with a GET request, or POST a list of up to 10,000 URLs in one go.
You can host the key file somewhere other than the root. But the docs say a key in a folder only covers URLs in that folder. Keep it at the root and you never have to think about it.
Every request comes back with a status code. These are the ones you'll see.
| Code | What it means | What to do |
|---|---|---|
| 200 | URLs received | Nothing. It doesn't mean indexed |
| 202 | URLs received, key check still pending | Make sure the key file loads |
| 400 | Bad format | Check your JSON and URL encoding |
| 403 | Key not valid | The file is missing or holds the wrong key |
| 422 | URLs don't belong to the host | Fix the host field or the URL list |
| 429 | Too many requests | Slow down and stop resending unchanged URLs |
Which search engines use IndexNow?
The IndexNow FAQ lists endpoints for Amazon, Bing, Naver, Seznam.cz, Yandex and Yep, plus a shared global endpoint. You only need to send to one. The engines agree to share every submission with all the others.
That shared list matters more than it looks. Bing's index feeds Copilot and other AI assistants, which the Bing SEO guide covers in depth. So a ping to Bing is also a ping to the answers those tools give. Amazon's crawler has its own endpoint on the list too.
Google is the gap. Shortly after IndexNow launched, a Google spokesperson told Search Engine Land that Google would be testing the protocol. It never showed up on the list of endpoints. For Google, your XML sitemap and internal links still carry the load. The Google Search Console guide shows how to check that new pages get picked up there.
What does IndexNow not do?
IndexNow is a hint. Treat it like one and you'll avoid most of the disappointment.
- It doesn't guarantee indexing. Bing's IndexNow getting started page says it "does not guarantee that web pages will be crawled or indexed." A thin page pinged fast is still a thin page.
- It doesn't save crawl quota. The same page says every crawl it triggers still counts toward your quota. Junk pings spend your crawl budget on pages that didn't change.
- It doesn't reach Google. See above.
- It doesn't replace a sitemap. The sitemap is your full list of pages. IndexNow only covers changes.
- It doesn't help old pages. Bing says to submit only URLs that changed since you started using IndexNow. Don't dump your back catalog into it on day one.
So what does it do? It shortens the gap between "we shipped it" and "the engine knows." For a new pricing page, a fixed error or a deleted product, that gap is real money.
How do you set up IndexNow step by step?
If your CMS or CDN has IndexNow built in, use that. Bing's getting started page lists built-in support in Wix Studio, Duda and GoDaddy, plus plugins for WordPress tools like Yoast and Rank Math. It also lists Cloudflare, which supports it through a feature called Crawler Hints.
For a custom site, here's the setup.
Verify the site in Bing Webmaster Tools
Do this first. It's where you'll check that pings arrive. The Bing Webmaster Tools guide walks through importing your site from Search Console in a few clicks.
Make and host the key
Generate a random string of 32 characters or so. Save it as a text file named after itself, with the key as the only content. Deploy it, then load it in a browser. It should return plain text with a 200 status.
Decide what counts as a change
This is the step everyone skips. A change is a new page, an edited page, a deleted page or a redirect. The FAQ says to send all four. A deploy that only touches CSS is not a content change, so it sends nothing.
Send the batch
Post the changed URLs as one JSON list. Here's the shape.
POST https://api.indexnow.org/indexnow
Content-Type: application/json; charset=utf-8
{
"host": "www.example.com",
"key": "your-key-here",
"keyLocation": "https://www.example.com/your-key-here.txt",
"urlList": [
"https://www.example.com/blog/new-post",
"https://www.example.com/old-page-now-gone"
]
}
Log the response
Write the status code and the URL count to your logs. A 403 that nobody sees can break IndexNow for months.
How do you add IndexNow to a Next.js site on Vercel?
Next.js makes the key easy. Put the key file in the public folder and Next.js serves it from the root. The hard part is timing and scope.
Why not ping from the build?
The obvious move is a postbuild script that sends URLs. It's the wrong spot. The build runs before the new version serves traffic. If Bing fetches the URL during that window, it sees the old page, or a 404 for a brand new one.
Vercel has a cleaner hook. Its webhook events include deployment.promoted, which fires when a production deployment starts serving production traffic. That's the moment to ping.
The pattern I'd use
Split the job in two. The build works out what changed. A webhook sends it once the deploy is live.


- In the build, diff the sitemap. Your
sitemap.tsalready knows every URL and its reallastModifieddate, as the Next.js SEO guide explains. Compare it with the sitemap from the last production deploy. New URLs, URLs with a newer date and URLs that vanished make up the list. - Write the list to a file. Something like
public/indexnow-pending.json, served with the deploy. - Guard on the environment. Vercel's system environment variables include
VERCEL_ENV, which isproduction,previewordevelopment. Only production deploys should ever produce a list. Preview URLs should never reach a search engine. - On
deployment.promoted, send it. A small route handler or serverless function reads the pending list from the live site and posts it to IndexNow. - Store the new sitemap as the baseline. The next deploy diffs against it.
// app/api/indexnow/route.ts (called by the Vercel deploy webhook)
export async function POST(req: Request) {
// Verify the webhook signature first (omitted here).
const site = "https://www.example.com";
const pending = await fetch(`${site}/indexnow-pending.json`).then((r) => r.json());
if (!pending.urls?.length) return Response.json({ sent: 0 });
const res = await fetch("https://api.indexnow.org/indexnow", {
method: "POST",
headers: { "Content-Type": "application/json; charset=utf-8" },
body: JSON.stringify({
host: "www.example.com",
key: process.env.INDEXNOW_KEY,
urlList: pending.urls.slice(0, 10000),
}),
});
console.log("indexnow", res.status, pending.urls.length);
return Response.json({ status: res.status, sent: pending.urls.length });
}
Use your sitemap as the source of truth, not the git diff. A git diff tells you which files changed. It can't tell you that a change to a shared component touched 400 pages, or none. The sitemap's dates already encode that decision, as long as you set them from real content dates. The XML sitemap guide explains why a build-time date on every URL ruins this.
Worked example: changed URLs versus the whole sitemap
Here's the math with assumed numbers. It shows why "ping everything" is the most common mistake.


Say a startup's site has 1,200 URLs in its sitemap. The team ships 20 production deploys a week. Most are code changes. In a typical week, the content team adds 15 posts, edits 40 pages and removes 5. That's 60 URLs that really changed.
Option one: ping the whole sitemap on every deploy. That's 1,200 URLs times 20 deploys, or 24,000 URLs a week. Only 60 of them changed. The signal is a quarter of one percent.
Option two: ping the whole sitemap once a week. That's 1,200 URLs. Still 95% noise, and new pages wait up to a week.
Option three: ping only what changed, after each deploy goes live. That's 60 URLs, each sent within minutes of going live.
Your numbers will differ. The ratio won't change much. On any site that deploys often, a full-sitemap ping is mostly noise.
What are the common IndexNow mistakes?
Pinging from preview deploys. A preview URL reaching Bing is a mess to clean up. Gate every ping on the production environment.
Pinging before the page is live. A build hook fires too early. Use the deploy webhook.
Sending the whole sitemap. See the worked example. Send changes only.
Forgetting deletes and redirects. These are the pings that save the most crawl. A dead page that Bing keeps fetching wastes quota every day.
Never checking the key. A redesign that wipes the public folder breaks every ping with a 403. Add the key URL to your uptime checks.
Expecting Google to notice. It won't. Keep your Google indexing work separate, and read the crawl budget guide if large parts of your site aren't getting crawled.
What should you do this week?
Run your sitemap through the XML sitemap validator first. If the sitemap's dates are wrong, your IndexNow list will be wrong too. If you'd rather have it built and tracked for you, our SEO and AEO service sets this up as part of the technical work. The AI search visibility use case shows how it ties into getting cited in AI answers.
My take: build it once, then forget it exists
IndexNow is the cheapest technical SEO win on this list. It's free, it takes an afternoon, and it reaches Bing and the AI tools that read Bing's index.
But it only pays if it runs itself and sends the truth. A plugin that pings every URL on every save isn't IndexNow done well. It's noise with a nice name.
Diff your sitemap, ping after the deploy goes live, include the deletes, and log the response. Then stop thinking about it. Spend the time you saved on pages worth crawling.
FAQ
What is IndexNow?
IndexNow is a free, open protocol for telling search engines that a URL was added, updated or deleted. You host a key file on your site to prove you own it. Then you send changed URLs to one endpoint. Engines that take part share what you send with each other, so one ping reaches all of them.
Does Google use IndexNow?
No. Google isn't on the list of IndexNow endpoints. Soon after the protocol launched, Google said it would test it, but it never joined. For Google, keep a clean XML sitemap listed in robots.txt and submitted in Search Console, and use strong internal links so new pages get found.
How many URLs can you submit with IndexNow?
One POST request can carry up to 10,000 URLs. IndexNow doesn't publish a daily limit. Each engine sets its own threshold per site, and a 429 response means you sent too much. Send only URLs that changed, and don't resubmit pages that haven't changed since your last ping.
Does IndexNow guarantee indexing?
No. Both the IndexNow FAQ and Bing say a submission does not guarantee a page gets crawled or indexed. It's a hint that tells the engine where to look first. Whether the page gets indexed still depends on its quality, its canonical tag and whether it adds something new.
Should I submit deleted pages to IndexNow?
Yes. The IndexNow FAQ says to submit URLs that now return a 404 or 410, and URLs that redirect. That helps engines drop dead pages and update moved ones sooner. Most teams only ping new pages, so their deletes linger in Bing for weeks.
Where should the IndexNow key file go in Next.js?
Put a text file named after your key in the public folder, with the key as its only content. Next.js serves it from the site root, which is the recommended spot. Load the URL in a browser after you deploy, and make sure it returns the key as plain text with a 200 status.