openregistry

Utilities · pay per result · $0.1 per 1,000 results

Sitemap URL Extractor — All URLs from robots.txt & XML Sitemaps

Get every URL a website lists in its sitemaps: reads robots.txt Sitemap lines, follows sitemap indexes recursively, unpacks .xml.gz, returns lastmod, changefreq and priority. Filter by pattern or date. Respects robots.txt. Pay per URL.

Run it on Apify →

Free Apify plan includes monthly credit · no login to any website · official API

Give it a domain and get back every URL the site lists in its sitemaps, with lastmod, changefreq and priority. No crawling page by page, no browser: the Actor reads the sitemaps the site publishes for search engines, so a 50,000-page site comes back in seconds.

What it handles for you:

What it is for

Input example

{
  "startUrls": ["example.com", "https://apify.com/sitemap.xml"],
  "includePatterns": ["/blog/*"],
  "modifiedSince": "2025-01-01",
  "maxUrls": 10000
}

Output example

One dataset row per URL:

{
  "url": "https://www.example.com/blog/hello-world",
  "lastmod": "2025-06-02T08:00:00.000Z",
  "changefreq": "daily",
  "priority": 0.8,
  "sitemap": "https://www.example.com/sitemap-posts.xml.gz",
  "site": "https://www.example.com",
  "error": null
}

A per-site summary (sitemap files read, files that failed) is saved as SUMMARY in the run's key-value store. A site where no sitemap could be read returns one row with url: null and the reason in error; that row is not charged.

Good to know

Pricing

$0.0001 per URL ($0.10 per 1,000 URLs). Duplicates removed by the Actor and error rows are free. Set a maximum charge per run in the Apify console and the Actor stops cleanly when it is reached.

Open Sitemap URL Extractor on Apify →