Sitemap URL Extractor: Bulk, Nested, With Status Check
Pricing
Pay per event
Sitemap URL Extractor: Bulk, Nested, With Status Check
List every URL in sitemap.xml, nested sitemap indexes and .gz sitemaps for many domains. Finds sitemaps through robots.txt. Returns lastmod, changefreq, priority; optional status check per URL. $0.50 per 1,000 URLs.
Pricing
Pay per event
Rating
0.0
(0)
Developer
Mossfetch
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Sitemap.xml extractor: list every URL in sitemap.xml, nested sitemap indexes and .gz sitemaps for many domains. Use it when you need the full URL inventory of a site for an SEO audit, a crawl seed list or change monitoring. Give it domains; get every URL listed in their sitemaps. No login, no API key.
Who it's for
- SEO teams building a URL list for an audit or a crawl.
- Developers who need a seed list for a crawler.
- Anyone monitoring a site for new or changed pages through
lastmod.
What it does
- Finds sitemaps through
robots.txt(Sitemap:lines), then falls back to/sitemap.xmland/sitemap_index.xml. - Follows sitemap indexes (nested up to 5 levels) and reads
.xml.gzfiles. - Returns
url,lastmod,changefreq,priorityand the sitemap file each URL came from. Also reads plain-text sitemaps. - Optional status check: one request per URL adds
status,finalUrlandredirectCount. - Duplicate URLs within a site are removed.
Input
| Field | Default | Notes |
|---|---|---|
sites | required (empty runs a free 10-URL demo) | example.com, https://example.com, or a direct sitemap URL |
checkStatus | off | adds the status-check price per URL |
stripQueryStrings | on | removes ?query from output URLs |
respectRobotsTxt | on | applies to status checks |
maxUrlsPerSite | 100000 | |
maxSitemapsPerSite | 500 | |
maxItems | none (prefilled with 50 on the Store form) | total cap, e.g. 1000 |
Output example
{"site":"nodejs.org","url":"https://nodejs.org/en/download/alpha","lastmod":"2026-11-22T15:14:57.313Z","changefreq":"always","priority":null,"sitemapUrl":"https://nodejs.org/sitemap.xml","status":200,"finalUrl":"https://nodejs.org/en/download/alpha","redirectCount":0,"statusError":null}
Set checkStatus to also get each URL's HTTP status. A run summary (sitemap files read, errors per site, why the run stopped) is saved as RUN_SUMMARY in the key-value store.
Pricing
Pay per event: $0.50 per 1,000 URLs extracted (a 10,000-URL site costs $5, or $10 with the status check), plus $0.50 per 1,000 URLs if you turn on the status check. Status checks that fail (no HTTP answer) or are blocked by robots.txt are not charged. Set a spending limit on the run and the actor stops when it is reached.
Fetch limits (read this)
- Only
robots.txtand sitemap files of the sites you list (and the sitemap URLs inside them) are fetched. Pages are fetched only if you turn on the status check, and then with HEAD (GET if HEAD is refused). Page content is never stored. - Identifying User-Agent
IncomeLabBot/1.0. At most 5 requests in flight per host. - With the status check on, URLs that
robots.txtdisallows for us are skipped (statusError: blocked_by_robots). - Sitemaps larger than 60 MB unpacked are rejected. Redirects on sitemap files are followed up to 5 times; status checks follow up to 5.
- Localhost and private-network addresses are refused.
- Query strings are stripped by default.
- A site can still block our IP; the error appears in
RUN_SUMMARY. We do not bypass CAPTCHAs, logins or blocks. - Sitemaps list what the site owner wants indexed; they are not a complete crawl of the site.
FAQ
What if no sitemap is found? The site gets an error entry in RUN_SUMMARY and no rows, so nothing is charged. You can also pass a direct sitemap URL.
Is the first run cheap? The Store form is prefilled with nodejs.org and maxItems: 50, so a trial costs at most $0.025.
Use it from code (API)
curl -X POST "https://api.apify.com/v2/acts/mossfetch~sitemap-url-extractor/run-sync-get-dataset-items?token=$APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"sites":["nodejs.org"],"maxItems":1000}'
Or with the JavaScript client: await new ApifyClient({ token }).actor('mossfetch/sitemap-url-extractor').call(input), then read defaultDatasetId.
Use in Make, n8n or Zapier
Run this Actor from Make, n8n or Zapier with an Apify account: add the Apify "Run Actor" step and select or enter the Actor mossfetch/sitemap-url-extractor (Actor ID QwNNpjiOVPlooj955). Pass the input as JSON, then read the dataset in the next step. Nothing else to install.