Tools / Sitemap URL Extractor: All Pages from Any Website

Sitemap URL Extractor: All Pages from Any Website

Get every URL a website publishes in its XML sitemaps. Input: websites. Output (JSON/CSV): one row per item with site, url, lastmod, changefreq, priority, imageCount, sitemap.

Run it on Apify Store →

What it's for

Example input

{
 "websites": [
  "apify.com",
  "https://therealtour360.com",
  "https://www.python.org/sitemap.xml",
  "nonexistent-domain-zzq81.com"
 ],
 "maxUrlsPerSite": 300
}

Example output

{
  "site": "https://apify.com",
  "url": "https://apify.com/",
  "lastmod": null,
  "changefreq": null,
  "priority": null,
  "sitemap": "https://apify.com/sitemap/pages.xml",
  "imageCount": 0
}

Input reference

FieldTypeNotes
websites requiredarrayDomains, homepages or direct sitemap.xml links.
discoverFromRobotsbooleanDiscover sitemaps from robots.txt
maxUrlsPerSiteintegerMax URLs per site
includePatternsarraye.g. /blog/
excludePatternsarraye.g. /tag/
lastmodAfterstringISO date, e.g. 2026-01-01. Leave empty for all.
includeImagesbooleanInclude image URLs
maxConcurrencyintegerMax concurrent sites

Pricing

Pay per event: URL extracted $0.0002. Plus Apify's small per-run start fee. Apify's free plan includes monthly credit to try it.

How to run

  1. Open the Store page and click Try for free.
  2. Fill in the input (or paste the example JSON in the JSON tab).
  3. Click Start, then export results as CSV, Excel or JSON, or call it via the Apify API.
  4. Optional: add a Schedule and a webhook/Slack/email integration for ongoing monitoring.

Open Sitemap URL Extractor on Apify →