Sitemap Extractor & Validator
Pricing
from $0.15 / 1,000 url results
Sitemap Extractor & Validator
Extract public XML/gzip sitemap entries via startUrls (files, indexes or roots). Rows contain declared metadata and issues, not live page status or verified freshness. maxUrls/maxSitemaps cap runs; SUMMARY reports failures and coverage. No page crawling, browser or login.
Pricing
from $0.15 / 1,000 url results
Rating
0.0
(0)
Developer
Riprap Tools
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
21 days ago
Last modified
Categories
Features
Share
Extract public XML/gzip sitemap entries via startUrls (files, indexes or roots). Rows contain declared metadata and issues, not live page status or verified freshness. maxUrls/maxSitemaps cap runs; SUMMARY reports failures and coverage. No page crawling, browser or login.
What it does
Sitemap Extractor & Validator by Riprap Tools extracts URLs from XML sitemaps, gzip sitemaps and nested sitemap indexes. It returns declared metadata and validation issues — without requesting destination pages or checking their live status.
Use it for bulk extraction across a sitemap index, including checks for invalid or future lastmod dates and duplicates. Start with a sitemap URL or a site root. For roots, it reads robots.txt Sitemap: lines, falling back to /sitemap.xml. Extraction is bounded by your URL and sitemap budgets; a small trial is not a full-site audit.
Illustrative dataset row using the GOV.UK test fixture:
{"url":"https://www.gov.uk/","normalizedUrl":"https://www.gov.uk/","sourceSitemap":"https://www.gov.uk/sitemaps/sitemap_1.xml","sitemapDepth":0,"lastmod":null,"lastmodValid":null,"changefreq":null,"priority":"0.5","issues":[]}
One result event costs $0.0003 per delivered unique URL with no discount ($0.30/1,000); Gold costs $0.00015. No start fee; event prices include run compute and data transfer. The trial costs at most $0.003. See Pricing for tiers and delivery-failure caveats.
To try it, run the input below with the defaults: up to 10 charged URLs and two sitemap attempts. Inspect both the dataset and SUMMARY before increasing limits. Rows show entry-level issues; the summary explains file failures, skips and incomplete coverage.
What you can use it for
These small examples are starting points, not scheduled monitoring or full-site audits.
Find sitemap URLs when only the site root is known
tasks/discover-sitemap-from-site-root.json uses this input:
{"startUrls": ["https://www.gov.uk/"],"maxUrls": 5,"maxSitemaps": 2}
Start at the GOV.UK root: discover Sitemap declarations in robots.txt, falling back to /sitemap.xml. Return a bounded sample, not a complete site audit. Destination pages are not requested.
Build a bounded URL inventory from a sitemap index
tasks/extract-urls-from-sitemap-index.json uses this input:
{"startUrls": ["https://www.gov.uk/sitemap.xml"],"maxUrls": 5,"maxSitemaps": 2}
Read the GOV.UK sitemap index and one child to return up to five URL rows. Budget: two sitemap files; the index and child each count.
Inspect declared dates and entry issues in one sitemap
tasks/validate-gov-uk-sitemap.json uses this input:
{"startUrls": ["https://www.gov.uk/sitemaps/sitemap_1.xml"],"maxUrls": 10,"maxSitemaps": 1}
Return up to 10 URL rows from one GOV.UK sitemap file, with declared lastmod, changefreq and priority values and per-entry issues. Missing metadata is null. Destination pages are not fetched. Budget: one sitemap file.
How to use it
- Enter this minimal input:
{"startUrls":["https://www.gov.uk/sitemaps/sitemap_1.xml"]}
- Set limits in Input. An index consumes one attempt, leaving one child attempt by default.
- Start the run, then inspect dataset rows and the key-value store's
SUMMARYrecord.
Input
| Field | Type; default | Meaning |
|---|---|---|
startUrls | string array; GOV.UK URL above | Required: 1–100 HTTP(S) sitemap, index or root URLs. |
maxUrls | integer; 10 | Distinct URL limit, 1–100,000. |
maxSitemaps | integer; 2 | Sitemap-file budget, 1–1,000; indexes, children and failed files count, not HTTP retries. |
sameHostOnly | boolean; true | Skip files/rows outside the starting host; www-only differences allowed. |
includeUrlParameters | boolean; false | Enable query-string result URLs; otherwise skip them. |
Output
url is the trimmed entry; normalizedUrl lowercases scheme/host and removes default ports/fragments for deduplication, preserving query order. sourceSitemap identifies its file; sitemapDepth starts at 0. lastmod, changefreq, priority preserve declared text, including invalid values; missing tags yield null, empty tags "". lastmodValid is true/false for date validity, or null for missing/empty dates. issues is an array, possibly empty. Results arrive file by file after each file is fully parsed, in traversal and XML order. Repeats of a URL first seen in the same file mark that file’s retained row without another delivery. Each occurrence in a later file of a normalized URL delivered from an earlier file produces a free extra row with that occurrence’s metadata and duplicate issue; earlier rows are not updated. At most maxUrls free duplicate rows are delivered per run; further occurrences are counted in issueCounts.duplicate with a summary warning. Free rows do not count toward maxUrls or urlsEmitted.
| Issue | Meaning |
|---|---|
invalid_lastmod | Nonempty date fails parsing. |
future_lastmod | Parsed date is future. |
duplicate | Repeated normalized URL. |
priority_out_of_range | Nonempty priority is not numeric within 0–1. |
invalid_changefreq | Nonempty value is not always/hourly/daily/weekly/monthly/yearly/never (case-sensitive). |
url_too_long | Original exceeds 2,048 characters. |
has_fragment | Original has a fragment. |
cross_host | Host differs from start; only retained with sameHostOnly: false. |
http_in_https_sitemap | HTTP entry in HTTPS file. |
www_mismatch | Entry/file hosts differ only by www. |
suspicious_lastmod | Valid date in a file with date-pattern findings. |
Run summary
sitemapsAttempted counts sitemap files attempted, including failures/indexes, not HTTP retries; sitemapsFetched counts successfully parsed supported roots. urlsEmitted counts completed push-and-charge deliveries. issueCounts, skipped, warnings, truncated, failedSitemaps and sitemapFindings describe coverage. retries counts total extra HTTP attempts in the run; failedSitemaps[].attempts is the HTTP attempt count of the request that failed (the robots.txt request for robots_unavailable; 1 for policy and parse failures). Spending stops set billingLimitReached.
truncated: true means a URL, sitemap-attempt, depth, per-file or billing limit was reached; coverage may be incomplete.
outcome: no_results means zero completed deliveries, not zero work; otherwise partial means truncated or a sitemap failed; otherwise complete. Complete does not mean issue-free or skip-free.
Skip reasons: email_url, invalid_url, url_parameters, cross_host, cycle, depth_limit, sitemap_limit, file_url_limit. Fetch/parse failures: robots_denied, robots_unavailable, crawl_delay_limit, http_<status>, redirect_limit, invalid_root, html_instead_of_xml, doctype_forbidden, response_size_limit, decompressed_size_limit (file finding file_size_limit), unsafe_destination, invalid_url, or fetch_or_parse_failed.
File findings: invalid_namespace means missing/wrong namespace; html_instead_of_xml detects HTML from the body, not headers; file_size_limit rejects XML over 50 MiB. file_url_limit considers only the first 50,000 entries, with maxUrls able to stop earlier; delivered unique rows still cost events, and its skip count counts affected files.
Date findings use valid dates' calendar days: lastmod_all_identical needs 5+ dates on one day; lastmod_all_today needs 5+ dates all on the UTC run day; lastmod_low_day_diversity requires 20+ dates and at most 10% distinct days. Whole-file patterns can flag processed valid-date rows.
Both report lists contain url/code objects, capped at 100 each; failed sitemap entries also include attempts. Report URLs omit queries/fragments, redact credentials/email-like URLs and cap length at 2,048 characters. Failure counts remain in skipped.
Pricing
Per result: $0.0003 no discount / $0.00025 Bronze / $0.0002 Silver / $0.00015 Gold. No start fee. Skips and fetch/parse failures produce no billable row. Extra cross-file duplicate rows are free; only unique URL rows incur a result event.
Unique URL delivery checks budget, pushes the row, then charges; neither operation is retried after failure. A failed push incurs no event; a failed charge can leave a visible row uncounted in urlsEmitted. Saving SUMMARY can fail after rows were charged; run failure does not guarantee zero charges.
10,000 delivered unique URLs × $0.0003 = $3.00 event subtotal. Event prices include the run's platform usage (compute, data transfer), so listed event prices are what a run costs. After the run, dataset reads/writes incur standard platform usage charges.
Limits and what it does not do
- Sitemap/robots requests only; no page crawling, rendering or login.
- Robots denial/unavailability blocks access; crawl delays over 10 seconds are refused.
- Sequential requests; requests to the same site (same scheme, host and port) start at least one second apart (or longer when robots.txt requires it) and never overlap; 10-second socket timeout, at most five redirects; destinations checked each hop. Non-public destinations and credentials refused.
- Response and decompressed XML caps: 50 MiB each (not 50 MB). DTDs/entities rejected; depth 0–10; per-file limit above. Each file is parsed in memory before its rows are delivered; delivery does not wait for the remaining crawl.
Data and responsibility
Do not submit personal data or credentials. Follow target terms and applicable data-protection rules. Email-like URLs, including encoded forms, are dropped; people's names in URLs are not detected or removed.
FAQ
Why only ten URLs or missing children? See the budgets in Input and coverage in Run summary.
Support
Report reproducible problems via the Actor's Issues tab. Replies within 14 days.
Contains public sector information licensed under the Open Government Licence v3.0. Source: GOV.UK; no endorsement implied.