XML Sitemap Scraper & URL Extractor API - SEO Crawler avatar

XML Sitemap Scraper & URL Extractor API - SEO Crawler

Pricing

$0.50 / 1,000 url extracteds

Go to Apify Store
XML Sitemap Scraper & URL Extractor API - SEO Crawler

XML Sitemap Scraper & URL Extractor API - SEO Crawler

Parse XML website sitemaps and extract URLs for SEO crawls, audits, migrations, and RAG indexing. Auto-discovers sitemap files from robots.txt, follows nested indexes, and exports URL, lastmod, priority, changefreq, and image metadata.

Pricing

$0.50 / 1,000 url extracteds

Rating

0.0

(0)

Developer

Ava Torres

Ava Torres

Maintained by Community

Actor stats

0

Bookmarked

17

Total users

7

Monthly active users

2 days ago

Last modified

Share

XML Sitemap Scraper & URL Extractor API

Parse XML website sitemaps and extract URLs for SEO crawls, audits, content migrations, RAG indexing, competitive research, and website monitoring. The actor can discover sitemap files from robots.txt, follow nested sitemap indexes, and export publisher-supplied URL metadata in bulk.

What it does

Give it a full website URL or sitemap.xml link, and it returns listed URLs up to your maxResults cap, with available sitemap metadata such as lastmod, changefreq, and priority. Use it as a sitemap parser, URL extraction API, or lightweight SEO crawler seed-list generator.

Key features:

  • Auto-discovery -- Checks robots.txt and common sitemap paths
  • Nested sitemap support -- Follows sitemap index files up to four levels including the root
  • Gzip support -- Parses gzip-compressed sitemap responses
  • Sitemap metadata -- Extracts lastmod, changefreq, priority, and optional image declarations
  • Date filtering -- Filters parseable publisher-supplied lastmod values
  • Bulk processing -- Processes multiple websites with one total output cap
  • No external API key -- Uses public website and sitemap responses

Input

FieldDescriptionDefault
urlsFull website or sitemap.xml URLs to parsehttps://www.apify.com/sitemap.xml
autoDiscoverCheck robots.txt and common paths for website inputstrue
maxResultsTotal output cap across all inputs25
modifiedSinceFilter parseable publisher-supplied lastmod values(all)
includeImagesInclude image declarations from sitemap extensionsfalse

Output

Each result contains:

{
"url": "https://example.com/page",
"sitemapSource": "https://example.com/sitemap.xml",
"lastModified": "2026-04-01",
"changeFreq": "weekly",
"priority": "0.8",
"images": []
}

What the output means

A sitemap is a website-publisher declaration, not an independent crawl or verification. Results show that a URL and metadata appeared in the fetched sitemap response at run time. They do not prove that a page or image is reachable, indexed by a search engine, canonical, current, safe, owned by a particular party, or unchanged since lastmod.

lastmod, changefreq, and priority are optional publisher-supplied hints. They can be absent, stale, malformed, or ignored by search engines. When modifiedSince is set, entries with a parseable date before the cutoff are excluded; entries with missing or unparseable dates remain because their modification date is unknown. Auto-discovery checks robots.txt and a small set of conventional paths, so an empty result does not prove that no sitemap exists.

Use cases

  • SEO Audit / Crawling -- Get a complete list of sitemap URLs with metadata before a crawl
  • RAG Indexing -- Build URL seed lists for documentation, help centers, and content ingestion
  • Content Migration -- Map all URLs before migrating to a new platform
  • Competitive Analysis -- See what pages competitors have and how often they update
  • Website Monitoring -- Track new pages added since a specific date
  • Link Building -- Find all pages on a target site to identify link opportunities
  • Content Inventory -- Catalog all pages with their update frequency and priority

Pricing

The live pay-per-result rate is $0.0005 per extracted URL: about $0.0125 for the 25-result default or $0.50 per 1,000 results. Set maxResults to control the total output and charge. Account-specific platform charges or credits may apply.