Sitemap URL Extractor & Filter avatar

Sitemap URL Extractor & Filter

Pricing

from $0.25 / 1,000 url results

Go to Apify Store
Sitemap URL Extractor & Filter

Sitemap URL Extractor & Filter

Extract, filter, and export URLs from sitemap.xml files for SEO audits, crawler seeding, RAG pipelines, and site intelligence.

Pricing

from $0.25 / 1,000 url results

Rating

0.0

(0)

Developer

Ralph T

Ralph T

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 months ago

Last modified

Security

Limited permissions

Share

Extract, filter, and export URLs from sitemap.xml files for SEO audits, crawler seeding, RAG ingestion, competitive research, and website intelligence workflows.

What it does

  • Starts from one or more sitemap XML URLs.
  • Supports sitemap indexes and nested sitemap files.
  • Extracts page URLs plus lastmod, changefreq, and priority when present.
  • Applies include/exclude regex filters before export.
  • Deduplicates URLs.
  • Outputs a clean dataset view ready for CSV, JSON, or downstream Apify Actors.

Best for

  • Preparing URL lists for RAG crawlers.
  • Seeding Apify crawlers with filtered URLs.
  • SEO audits and site inventory checks.
  • Finding docs/blog/product URLs from large sites.
  • Competitive content monitoring.

Input example

{
"sitemapUrls": ["https://docs.apify.com/sitemap.xml"],
"includePatterns": ["^https://docs\\.apify\\.com/platform/actors"],
"excludePatterns": ["/login", "/signup", "#"],
"maxUrls": 1000,
"maxSitemaps": 100,
"sameDomainOnly": true
}

Output

Each dataset item is one filtered URL:

{
"url": "https://docs.apify.com/platform/actors",
"sitemapUrl": "https://docs.apify.com/sitemap.xml",
"rootSitemapUrl": "https://docs.apify.com/sitemap.xml",
"hostname": "docs.apify.com",
"path": "/platform/actors",
"lastmod": "2026-07-01T00:00:00.000Z",
"changefreq": "weekly",
"priority": 0.8,
"discoveredAt": "2026-07-04T00:00:00.000Z"
}

Notes

  • Keep maxUrls low for first runs, inspect the output, then scale up.
  • For very large sitemap indexes, use include/exclude patterns to avoid exporting irrelevant URLs.
  • This Actor extracts URLs only; pair it with a crawler Actor when you need page content.