APImcp
GuidesSEO
ConsoleDocsMCP
SEO ⏱ 1 min read

Sitemap Parser API — Parse XML Sitemaps and Extract URLs

Parse XML sitemap files and extract all URLs, priorities, and change frequencies. Supports sitemap index files. Free API.

01

What is Sitemap Parsing?

Sitemap parsing reads XML sitemap files and extracts all included URLs along with their metadata (lastmod date, change frequency, priority). It supports both regular sitemaps and sitemap index files (which point to multiple sub-sitemaps). For sitemap indexes, it recursively fetches and parses all sub-sitemaps.

02

How to Use It

Call GET /api/v1/sitemap-parse?url=https://example.com/sitemap.xml. Returns { urls: Array<{ loc: string, lastmod: string | null, changefreq: string | null, priority: number | null }>, url_count: number, is_index: boolean }.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

What is the maximum number of URLs supported?
Sitemaps with up to 50,000 URLs are supported. For sitemap indexes, all sub-sitemaps are fetched and parsed.