Build an IndexNow POST body
build_indexnow_payloadValidates a key and URL list against the IndexNow spec and returns the exact JSON POST body, the endpoint, a ready-to-run curl command, and the reason for every URL it dropped. Enforces the same-host rule, the 10000-URL batch limit, https/http consistency, fragment stripping and de-duplication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The IndexNow key, 8-128 characters of [a-zA-Z0-9-]. | |
| host | No | The host, e.g. example.com. Inferred from the first URL if omitted. | |
| engine | No | indexnow (default), bing, yandex, seznam or naver. | |
| urlList | Yes | Absolute URLs to submit. All must be on the same host. | |
| keyLocation | No | Optional URL of the key file if it is not at https://host/<key>.txt. |