Sitemap Inventory Intel: URL Count, Freshness & Health
Pricing
from $15.00 / 1,000 analysed sites
Sitemap Inventory Intel: URL Count, Freshness & Health
Analyse any website's XML sitemaps and get one row per site: URL count, top sections, lastmod coverage, freshness bands, publishing velocity, hreflang languages, duplicates and a 0-100 sitemap health score. Public sitemaps, no login, no proxy.
Pricing
from $15.00 / 1,000 analysed sites
Rating
0.0
(0)
Developer
Sam
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Give this Actor a website and it reads the site's public XML sitemaps and returns one analysed row: how many URLs the site lists, which sections hold them, how much of it has a trustworthy last-modified date, how fresh or stale the content is, how fast the site publishes, which languages and media it declares, how many entries are duplicates, and a 0-100 sitemap health score. Use it for SEO audits, competitor content tracking, migration checks, lead research and feeding an AI agent a site profile instead of 50,000 raw URLs.
What you get for each site
| Field | What it means |
|---|---|
site, sitemapUrls, sitemapCount | The site and the sitemap files that were read (first 20 listed) |
declaredInRobots | true when robots.txt has a Sitemap: line. Otherwise the Actor tries /sitemap.xml, /sitemap_index.xml, /sitemap.xml.gz |
urlCount | Distinct URLs listed |
duplicateUrls | Entries beyond the first for a URL already listed (scheme and host letter case are folded together; paths and query strings are compared as written) |
offHostUrls | URLs that point to a different host than the site |
topSections, sectionCount | The 10 biggest sections by first path segment, each with urls and pct, and the number of sections |
lastmodCoveragePct | Share of URLs that have a valid lastmod date |
freshUnder30d, aged30to365d, staleOver365d | URLs with lastmod less than 30 days old, 30 to 365 days old, and over 365 days old |
staleSharePct | staleOver365d divided by URLs that have a lastmod, as a percent |
updatedLast30d, updatesPerDay30d | URLs added or updated in the last 30 days (a sitemap shows only the latest lastmod, so added and updated cannot be told apart), and that count divided by 30 |
newestLastmod, oldestLastmod | The date range of lastmod values |
lastmodUniform | true when over 90% of dated URLs share one lastmod date (ten or more dated URLs). Generators often stamp every URL with the build date, so freshness is not reliable |
hasImageSitemap, hasVideoSitemap, hasNewsSitemap | Whether any URL carries image, video or Google News extension tags |
hreflangLanguages, hreflangUrlPct | Language codes from xhtml:link hreflang tags (up to 50) and the share of URLs that have them |
truncated | true when a file, URL or depth cap stopped the read. Counts then cover part of the site |
sitemapHealth | 0-100 score, formula below |
healthIssues | Plain-language reasons the score lost points |
Sitemap health formula
sitemapHealth is the sum of five parts, rounded:
| Part | Points | How |
|---|---|---|
| Discovery | 20 | 20 when robots.txt declares the sitemap, 10 when it was only found at a standard path |
| Lastmod coverage | 25 | 25 x lastmodCoveragePct / 100 |
| Freshness | 25 | 25 x (1 - staleSharePct / 100) x lastmodCoveragePct / 100; 0 when no URL has a lastmod |
| Cleanliness | 20 | 20 x (1 - (duplicateUrls + offHostUrls) / urls listed), not below 0 |
| Fetch success | 10 | 10 x sitemap files read / sitemap files tried |
When lastmodUniform is true, the coverage and freshness points are halved. Hreflang and media
sitemaps are reported but do not change the score: not every site needs them.
Input
| Field | Default | Notes |
|---|---|---|
siteUrls | one demo site | Websites, or direct sitemap URLs ending .xml or .xml.gz |
maxSitemapsPerSite | 30 | Sitemap files read per site, index files included. Each costs one request, about 0.6 s |
maxUrlsPerSite | 50,000 | URL cap per site (up to 500,000) |
includeUrls | false | Also write one row per URL to a separate named dataset urls |
maxUrlRowsPerSite | 1,000 | Cap on URL rows per site |
{ "siteUrls": ["https://www.sitemaps.org"], "maxSitemapsPerSite": 10 }
Output example
{"site": "www.sitemaps.org","sitemapCount": 1,"sitemapUrls": ["https://www.sitemaps.org/sitemap.xml"],"declaredInRobots": true,"urlCount": 84,"duplicateUrls": 0,"offHostUrls": 0,"topSections": [{"section": "/da","urls": 4,"pct": 4.8},{"section": "/de","urls": 4,"pct": 4.8},{"section": "/en_GB","urls": 4,"pct": 4.8}],"sectionCount": 24,"lastmodCoveragePct": 100.0,"lastmodUniform": false,"freshUnder30d": 0,"aged30to365d": 0,"staleOver365d": 84,"staleSharePct": 100.0,"updatedLast30d": 0,"updatesPerDay30d": 0.0,"newestLastmod": "2022-12-15","oldestLastmod": "2016-11-21","hasImageSitemap": false,"hasVideoSitemap": false,"hasNewsSitemap": false,"hreflangLanguages": [],"hreflangUrlPct": 0.0,"truncated": false,"sitemapHealth": 75,"healthIssues": ["100.0% of dated URLs were last modified over a year ago"]}
Per-URL rows (optional)
With includeUrls on, each URL also becomes a row in the named dataset urls: site, url,
section, lastmod, ageDays, freshness (under_30d, 30_to_365d, over_365d or null),
hasImage, hasVideo, isNews, hreflangLanguages. Find it in Storage > Datasets on the run. These
rows are not charged; only the site rows in the default dataset are.
Pricing
Pay per event: you pay for each analysed site written to the default dataset, plus the standard Apify start event. See the Pricing tab. No proxy or browser is used. A site with ten sitemap files takes about ten seconds. A run that analyses no site fails, so you do not pay for an empty run.
How it works and limits
- Sitemaps are found from
Sitemap:lines in robots.txt, then standard paths. Sitemap index files are followed up to 3 levels deep; gzip files are supported. Only files on the site's own host are read. - The Actor checks robots.txt before every fetch, waits at least 0.6 s between requests, and stops on repeated HTTP 429 or 403. It never uses a proxy or evades blocks.
- Sitemap files are read as XML with entity declarations refused, and size is capped at 60 MB per file after decompression. Private, local and non-public addresses are refused.
- A sitemap lists what the site owner chose to list. It is not a crawl: pages missing from the sitemap
are not counted, and
lastmodis only as honest as the generator behind it. - A site that cannot be read (no sitemap, blocked, unreachable) is skipped with the reason in the run
status message and in the
SKIPPEDrecord. The run only fails when no site could be analysed.
FAQ
Why is my health score low when the site is fine? The score rewards a sitemap that is declared,
dated, fresh and clean. A site with no lastmod dates loses up to 50 points however good its content is.
healthIssues lists the reasons.
Can I track a competitor's publishing speed? Yes. Schedule the Actor weekly and read
updatedLast30d, urlCount and topSections.
Why does urlCount differ from the pages Google indexed? Sitemaps list submitted URLs, not indexed
ones.