Sitemap URL Extractor avatar

Sitemap URL Extractor

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Sitemap URL Extractor

Sitemap URL Extractor

$0.5/1K πŸ”₯ Fast sitemap URL extractor! Every URL from any site's sitemap.xml & robots.txt β€” with lastmod & priority. JSON, CSV, Excel or API in seconds. Paste sites & pull thousands of URLs for SEO & crawling ⚑

Pricing

from $0.50 / 1,000 results

Rating

0.0

(0)

Developer

ninhothedev

ninhothedev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Share

Sitemap URL Extractor πŸ—ΊοΈ

Extract every URL from any website's sitemap.xml and robots.txt β€” fast, cheap, and proxy-free. Give this Apify Actor a list of domains and it discovers all their sitemaps, recurses through sitemap indexes, unpacks .gz sitemaps, and returns a clean, de-duplicated list of every URL together with lastmod, changefreq, and priority.

Perfect for SEO audits, site crawling, site migrations, and content inventories β€” no browser, no residential proxies, runs on the cheapest compute.


✨ What it does

For every site you provide, the actor:

  1. Fetches /robots.txt and reads every Sitemap: directive.
  2. Also probes the common /sitemap.xml and /sitemap_index.xml paths.
  3. For each sitemap: downloads it (Chrome-impersonating fetch with a plain HTTP fallback), and gunzips it automatically when it is .gz or gzip-encoded.
  4. Recurses <sitemapindex> files into their child sitemaps (depth-capped to avoid runaway crawls).
  5. Emits one dataset row per URL, de-duplicated by URL.

πŸ“€ Output

One item per discovered URL (JSON):

{
"source_site": "https://apify.com",
"url": "https://apify.com/store",
"lastmod": "2024-05-01",
"changefreq": "daily",
"priority": 0.8,
"from_sitemap": "https://apify.com/sitemap/pages.xml",
"scraped_at": "2026-07-03T08:00:00+00:00"
}

Every field is nullable β€” sitemaps vary wildly in how much metadata they include, and this actor never guesses.

βš™οΈ Input

FieldTypeDescription
siteUrlsarrayWebsite URLs (or bare domains) to extract from. Default: apify.com, python.org.
maxItemsintegerCap on total URLs extracted across all sites (default 1000, max 50000).
{
"siteUrls": ["https://www.apify.com", "https://www.python.org"],
"maxItems": 1000
}

πŸ’° Pricing

Roughly $0.50 per 1,000 URLs extracted, plus a tiny per-input overhead. Because this actor is datacenter-friendly (no residential proxies, no headless browser, 512 MB RAM), it is one of the cheapest ways to pull a full URL inventory of a site. A typical mid-size site (a few thousand URLs) costs a few cents.

🎯 Use cases

  • SEO audits β€” get the full indexable-URL set a site is advertising to search engines, then compare against what is actually indexed.
  • Crawling seed lists β€” feed the URL list straight into a crawler instead of link-discovery crawling from scratch.
  • Site migrations β€” snapshot every URL (with lastmod/priority) before and after a replatform to catch dropped pages and broken redirects.
  • Content audits β€” inventory every page, spot stale content via lastmod, and prioritize by the site's own priority hints.

πŸ†š Why this actor

Sitemap URL ExtractorFull website crawler
SpeedInstant (reads the sitemap)Slow (follows every link)
Cost~$0.5 / 1k URLsMuch higher
ProxiesNone neededOften residential
CoverageEverything the site publishesOnly what it links

If a site publishes a sitemap, this is the fastest and cheapest way to enumerate it.

πŸ›Ÿ Support

Questions, edge cases, or a feature request? Open an issue on the actor's Issues tab and it will be handled quickly.


Keywords: sitemap extractor, sitemap.xml parser, robots.txt sitemap, URL extractor, SEO crawler, site URL inventory, sitemap scraper, extract all URLs from website, sitemap index crawler, content audit tool.