sitemap_audit
Fetch a sitemap, including sitemap indexes, and compare its URLs with Search Analytics pages to find URLs without search visibility data.
Instructions
Fetch a sitemap and compare its URLs with pages visible in Search Analytics.
Handles both regular sitemaps () and sitemap index files (), with one level of recursion for sitemap indexes. Uses defusedxml for safe XML parsing (prevents XXE and billion-laughs attacks from untrusted external XML).
Search Analytics is not an indexation inventory: a page without search data can still be indexed. The original urls_in_gsc, urls_missing_from_gsc, missing_sample and verdict fields are retained for compatibility, but only describe Search Analytics visibility. Prefer the explicit visibility fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| sitemap_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |