check_sitemap
Scan any domain's sitemap to discover all declared URLs, categorize them by section, and report depth, freshness, and per-category counts.
Instructions
Live sitemap analysis for any domain — discovers URLs, categorizes them by section, and reports depth, freshness, and per-category counts. Reads both the conventional /sitemap.xml and every sitemap robots.txt declares, deduplicated, so a site publishing several returns all of them. status: 'partial' means the scan did not cover the whole corpus — NOT that the site is broken. It has two distinct causes and they are not interchangeable: the scan hit its own limits, or a sitemap the site declares could not be read. Only the second populates unreadSitemaps, and those entries ARE the site's own defect (a relative URL in robots.txt, a redirect off its domain, a server that refused). Never report a count from a partial scan as the site's total. Categories include programmatic: templated pages generated from a database or pattern, assigned only to groups of 25+ sibling URLs with machine-generated slugs. It describes how pages are generated, not their purpose — example URLs ship in insights.sampleUrlsByCategory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to scan, e.g. example.com | |
| sitemapUrl | No | Optional full URL to a specific sitemap (with http:// or https:// prefix). Short-circuits discovery. |