Sitemap URL Extractor – All URLs of Any Website avatar

Sitemap URL Extractor – All URLs of Any Website

Pricing

from $0.14 / 1,000 url extracteds

Go to Apify Store
Sitemap URL Extractor – All URLs of Any Website

Sitemap URL Extractor – All URLs of Any Website

Get every URL of a website from its sitemaps in seconds: finds sitemaps via robots.txt, follows nested indexes, reads .gz, text and RSS sitemaps. Filter by path or last-modified date, get hreflang and image counts, optional HTTP status check.

Pricing

from $0.14 / 1,000 url extracteds

Rating

0.0

(0)

Developer

rowharbor1988

rowharbor1988

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Enter a website and get every URL listed in its sitemaps as a clean table, usually within seconds. The Actor finds the sitemaps for you, follows nested sitemap indexes, reads compressed .gz files and returns one row per URL with last-modified date, priority, language versions and image count.

Need to know which pages are broken or redirected? Switch on HTTP status check and every URL gets its status code (200, 301, 404 …) and redirect target.

Try it in one minute

  1. Click Try for free. The input is already filled in (https://apify.com), so you can start right away.
  2. Click Start. A few seconds later you get a table like this. It is real output from a test run on crawlee.dev with Check HTTP status switched on, shortened:
urlprioritystatusCodesitemapUrl
https://crawlee.dev/blog0.5200https://crawlee.dev/sitemap.xml
https://crawlee.dev/blog/archive0.5200https://crawlee.dev/sitemap.xml
https://crawlee.dev/blog/common-problems-in-web-scraping0.5200https://crawlee.dev/sitemap.xml
https://crawlee.dev/blog/crawlee-blog-launch0.5200https://crawlee.dev/sitemap.xml
  1. Put in your own website and download the list as CSV, Excel or JSON, or get it via API.

What it costs: $0.20 per 1,000 URLs, plus $0.30 per 1,000 URLs if you switch on the status check. A website with 2,000 pages costs about $0.40. Paid Apify plans get up to 30 % off. Apify's free plan includes monthly platform credit, so you can try it on your own sites at no cost.

Ready-made setups: Extract all URLs from a sitemap · Find broken URLs in a sitemap

What you can use it for

  • SEO audits – get the full URL inventory of a site and find 404s and redirects that should not be in the sitemap.
  • Website migrations – export all old URLs to build your redirect map.
  • One section only – enter https://example.com/blog/ and get only the URLs of the blog.
  • Content monitoring – use Changed after to list only pages that were added or updated since a date (e.g. new products or articles of a competitor).
  • Feeding other scrapers and AI pipelines – pass the URL list to a crawler, a screenshot tool or a RAG/LLM indexer instead of crawling the whole site.
  • International SEO – see all hreflang language versions per URL.

How it works

  1. Finds the sitemaps: reads Sitemap: lines in robots.txt; if there are none, tries /sitemap.xml, /sitemap_index.xml, /sitemap-index.xml, /wp-sitemap.xml and /sitemap.txt. You can also give a sitemap URL directly.
  2. Follows sitemap indexes to any depth (with a safety limit), reads .xml, .xml.gz, plain-text and RSS/Atom sitemaps.
  3. Cleans the result: removes duplicates and URLs from other domains, applies your filters.
  4. Optionally checks each URL's HTTP status.

Input

FieldDescription
Websites or sitemap URLshttps://example.com or https://example.com/sitemap.xml – one or many
Only URLs matchinge.g. /blog/ – regular expressions, case-insensitive
Skip URLs matchinge.g. /tag/
Changed afteronly URLs with lastmod on/after this date
Check HTTP statusadds status code and redirect target (extra charge)
Only URLs under the start pathenter https://example.com/blog/ to get only the blog URLs (on by default)
Same domain onlyon by default
Max URLs per websitedefault 100,000
{
"startUrls": [{ "url": "https://example.com" }],
"includePatterns": ["/blog/"],
"lastmodAfter": "2026-10-01",
"checkStatus": true
}

Output

One row per URL:

{
"url": "https://example.com/blog/new-post",
"domain": "example.com",
"path": "/blog/new-post",
"lastmod": "2026-11-10",
"changefreq": "weekly",
"priority": 0.8,
"imageCount": 3,
"videoCount": 0,
"isNews": false,
"alternates": [{ "hreflang": "de", "href": "https://example.com/de/blog/neuer-beitrag" }],
"statusCode": 200,
"redirectTo": null,
"sitemapUrl": "https://example.com/post-sitemap.xml",
"startUrl": "https://example.com/"
}

A per-website summary (sitemaps found, sitemaps that failed, how many URLs were skipped and why) is saved in the key-value store record SUMMARY.

Pricing

Pay per event – you only pay for URLs you receive:

  • URL extracted – $0.0002 per URL in the results ($0.20 per 1,000)
  • Status check – $0.0003 per URL, only if Check HTTP status is on ($0.30 per 1,000)

Sitemaps that cannot be read and URLs removed by your filters are free. Set a maximum cost per run in the run options; the Actor stops cleanly when it is reached.

Tips

  • Use Changed after together with a schedule to get a weekly list of new or updated pages.
  • Big e-commerce sites can have millions of URLs – use Only URLs matching and Max URLs per website to keep runs small.
  • A website without any sitemap returns no URLs (it is listed in SUMMARY as "no sitemap found"). This Actor does not crawl links.

Limitations

  • Only reads sitemaps – it does not crawl pages to find links.
  • Sitemaps behind a login or blocked for automated requests cannot be read.
  • No proxy support yet.

Support

Missing a feature or found a sitemap that is not read correctly? Open an issue on the Issues tab – we usually reply within a few days.