If you've ever tried to get more than a handful of URLs indexed by Google, you already know the pain: Google's Indexing API works fine for one page — and then falls apart the moment you're dealing with hundreds.

Here's what that actually looks like, why it breaks down at scale, and how I ended up automating it.

The One-URL Version Works Fine

Google's Indexing API is straightforward for a single request:

async function submitUrl(url) {