When to use this tool
Use the generator when a CMS, deploy hook, or backend needs a protocol-correct request without hand-writing JSON.
Building a deploy hook
Create a request that can be moved into CI or server-only code.
Debugging a 400 response
Compare your outgoing payload with a known-good shape.
Testing another language
Switch between curl and JavaScript without changing the payload.
How to generate a request
The tool validates host boundaries before it produces executable code.
- 1
Enter the exact host
Use the hostname shared by every URL, including the www or subdomain prefix.
- 2
Add the key and location
Leave the location empty to use the standard root path.
- 3
Paste the URL list
Fix invalid or mixed-host entries shown by the validator.
- 4
Copy the required format
Keep keys in server-side secrets when moving the snippet into production.
What usually goes wrong
Running secret-bearing code in the browser
Production automation belongs in trusted server-side code.
Mixing hostnames
www.example.com and example.com require separate requests.
Logging the key
Redact the key and private URLs from application and CI logs.
Frequently asked questions
- Does this send the request?
- No. It only generates code locally.
- Which endpoint is used?
- Generated snippets use the shared api.indexnow.org endpoint.
- Can one request contain multiple hosts?
- No. Generate one request for each exact hostname.