Sitemap URL Extractor: All Page URLs & Lastmod avatar

Sitemap URL Extractor: All Page URLs & Lastmod

Pricing

from $0.50 / 1,000 page urls

Go to Apify Store
Sitemap URL Extractor: All Page URLs & Lastmod

Sitemap URL Extractor: All Page URLs & Lastmod

Get every URL of a website from its sitemaps. Finds sitemaps via robots.txt, follows sitemap index files and .xml.gz, returns URL, lastmod, changefreq, priority. Regex filters, date filter, dedup.

Pricing

from $0.50 / 1,000 page urls

Rating

0.0

(0)

Developer

Nico Klyve

Nico Klyve

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Sitemap URL Extractor: all page URLs and lastmod dates

Get the full list of pages of any website in seconds, straight from its XML sitemaps. Paste a website address and the Actor finds its sitemaps in robots.txt (or at /sitemap.xml), follows sitemap index files, unpacks .xml.gz files and returns one clean row per page URL with its lastmod, changefreq and priority.

No browser, no crawling of the pages themselves: it only reads the sitemap files that websites publish for robots, so it is fast, cheap and polite.

What people use it for

  • SEO audits: compare the URLs in the sitemap with what is indexed, find missing or outdated pages.
  • Content monitoring: schedule it daily with "Only URLs modified since" to get the pages a competitor or a news site added or updated.
  • Feeding other scrapers: build the list of product, article or documentation URLs to pass to another Actor.
  • Site migrations: export the full URL inventory before and after a redesign to build redirect maps.
  • RAG and LLM pipelines: get every documentation page of a product before converting it to text.

Example output

{
"url": "https://docs.apify.com/api",
"lastmod": null,
"changefreq": "weekly",
"priority": 0.5,
"sitemapUrl": "https://docs.apify.com/sitemap_base.xml",
"site": "docs.apify.com"
}

Websites without any sitemap get one row with an error field so you know which ones to check by hand (this row is free).

Input

FieldWhat it does
Websites or sitemap URLsWebsite addresses or direct sitemap URLs (.xml, .xml.gz, sitemap index, plain text sitemaps).
Max URLsTotal number of page URLs to save.
Only keep URLs matchingRegular expressions or text fragments, for example /blog/ or /products/.
Drop URLs matchingPatterns to exclude, for example /tag/ or /author/.
Only URLs modified sinceKeep pages whose lastmod is on or after this date. Ideal for scheduled monitoring.
Include image URLsAdd the images listed in image sitemaps.
Max sitemap files per websiteSafety limit for very large sitemap indexes.

Pricing

Pay per result: $0.0005 per page URL saved ($0.50 per 1,000 URLs). Websites without a sitemap, unreadable sitemap files and filtered-out URLs are free. You can cap the cost of any run with the maximum charge setting.

Good to know

  • Duplicate URLs found in several sitemaps are saved only once.
  • The Actor reads only robots.txt and the sitemap files, which websites publish precisely so that robots can read them. It never loads the pages themselves.
  • Some sites block unknown robots on their sitemaps (HTTP 403). Those files are skipped and logged.
  • Works well on a schedule: combine "Only URLs modified since" with an Apify schedule and a webhook to get alerted about new pages.