Sitemap URL Extractor: Every URL From Any Website's Sitemaps
Pricing
from $0.30 / 1,000 url extracteds
Sitemap URL Extractor: Every URL From Any Website's Sitemaps
Get every URL a website lists in its sitemaps. Finds sitemaps through robots.txt and common paths, reads index files and .gz files, and returns each URL with lastmod, changefreq, priority and hreflang alternates.
Pricing
from $0.30 / 1,000 url extracteds
Rating
0.0
(0)
Developer
Evenwork
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Give it a list of domains, sitemap URLs or any page on the site. It finds each site's sitemaps, reads every file they point to, and returns one row per URL with the lastmod date, change frequency, priority, image count and hreflang alternates.
Use it to get a full page list for an SEO audit or a site migration, to feed a crawler or a broken-link check, to see what a competitor has published, or to pick out pages changed since a date.
How it finds sitemaps
- If you give a sitemap URL (anything ending in
.xml,.xml.gzor.txt, or with "sitemap" in the file name), it reads that file directly. - Otherwise it reads
robots.txtand follows everySitemap:line. - If robots.txt lists none, it tries
/sitemap.xml,/sitemap_index.xml,/sitemap-index.xml,/wp-sitemap.xmland/sitemap.txt, and uses the first real sitemap it finds.
Sitemap index files are followed to the files they list, up to 5 levels deep, and each file is read once even if it is listed twice. When it looks for sitemaps and https:// can't be reached, it tries http://.
What it reads
| Format | Notes |
|---|---|
| XML sitemaps and sitemap index files | Standard sitemaps.org format, with or without the namespace |
Gzipped sitemaps (.xml.gz) | Decompressed automatically, up to the protocol's 50 MB limit |
| Plain text sitemaps | One URL per line |
| RSS 2.0 and Atom feeds | Both are allowed as sitemaps by the protocol |
| Image and hreflang extensions | Image count per URL and every xhtml:link rel="alternate" |
| Broken XML | If a file won't parse (an unescaped & is the usual cause), URLs are read from the <loc> tags one by one, and a note goes in the summary |
HTML pages served with a 200 status at /sitemap.xml (a common "soft 404") are recognised and skipped.
Input
{"startUrls": ["example.com", "https://www.example.co.uk/post-sitemap.xml"],"maxUrlsPerSite": 50000,"includeRegex": "/blog/","excludeRegex": "\\?","lastmodAfter": "2026-10-01","includeAlternates": true}
Only startUrls is required. Entries for the same site are merged into one job. includeRegex, excludeRegex and lastmodAfter are applied before anything is saved, so skipped URLs are not charged. With lastmodAfter set, URLs that have no lastmod are skipped. Each URL is returned once per site, even if several sitemaps list it.
Output
One row per URL:
{"site": "https://www.example.co.uk","url": "https://www.example.co.uk/blog/winter-opening-hours/","lastmod": "2026-11-20T09:14:00+00:00","changefreq": "monthly","priority": "0.6","imageCount": 2,"sitemap": "https://www.example.co.uk/post-sitemap.xml","alternates": [{"hreflang": "cy", "url": "https://www.example.co.uk/cy/blog/oriau-agor-y-gaeaf/"}]}
lastmod, changefreq and priority are null when the sitemap leaves them out. A site where no sitemap could be found or read gets one row with url: null and an error, and that row is not charged.
The run's key-value store also holds a SUMMARY record with one entry per site: where the sitemaps came from (robots.txt, a guessed path or your input), how many sitemap files were found and read, the URL count, whether a limit cut the run short, and every file that failed with its reason.
Pricing
Pay per event: $0.0003 for each URL returned, plus Apify's start charge of $0.00005 a run (once per GB of memory; the default is under 1 GB). 10,000 URLs cost $3. Rows for sites with no sitemap are not charged. Set a maximum charge for the run in Apify and the actor stops cleanly when it is reached.
Limits
- It reads what the site's sitemaps list. Pages the site leaves out of its sitemaps won't appear, so it isn't a crawler.
- Up to 1,000,000 URLs and 10,000 sitemap files per site (defaults 50,000 and 1,000).
- Sitemap files over 50 MB, the protocol limit, are skipped and named in the summary.
- Some sites block automated requests. Those files show up as errors in the summary with the HTTP status.
- Only http and https files on the public internet are fetched. A sitemap or redirect that points at a private, loopback or reserved IP is skipped and named in the summary.
Responsible use
The actor only requests robots.txt and sitemap files, which sites publish for automated readers. It doesn't open the pages themselves. You are responsible for how you use the URLs you collect.