Sitemap Parser
Enter a sitemap URL, or just the site address. If you don't know where the sitemap lives, it's looked up for you in robots.txt and at the usual paths. See all URLs with their metadata (last modified date, change frequency, priority) and get summary stats. Supports sitemap index files with optional child sitemap following.
The sitemap URL, or just the site address (https://example.com). The sitemap is then looked up in robots.txt and at the usual paths.
advanced options
Maximum number of URLs to return
Follow and parse child sitemaps in a sitemap index
returns
- data.urls
- Each URL with loc, lastmod, changefreq and priority.
- data.total_urls
- URLs in the sitemap, before the limit. With follow_index: URLs in the child sitemaps that were read.
- data.stats
- How many URLs set lastmod, changefreq and priority, plus the date range.
- data.type
- Either urlset or sitemapindex.
- data.returned_urls
- URLs included in this response.
- data.url
- The sitemap that was parsed. Differs from requested_url when it had to be found.
- data.discovered_via
- How the sitemap was found: robots.txt, common path, or null when the URL you passed was the sitemap.
- data.stats.child_sitemaps_failed
- With follow_index: child sitemaps that were unreachable, not valid XML, or over 16 MB.
Fill in the fields and send a request. The response lands here.
Run it from your code
A temporary key takes one request and lasts seven days at 20 calls a day. Register and it becomes 75 a day, still free.
$ curl -s "https://apixies.io/api/v1/parse-sitemap?url=https://example.com/sitemap.xml" \ -H "X-API-Key: $APIXIES_KEY" | jq '.data.urls'
questions
I don't know my sitemap URL. What do I enter?
Just the site address, like https://example.com. The tool reads the Sitemap: lines in robots.txt first, then tries /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml. The result tells you which URL it used and how it found it. If a site has no sitemap at all, you get a list of every location that was tried.
What's a sitemap index?
Large sites split their sitemap across multiple files. A sitemap index lists these child sitemaps. Enable "Follow Sitemap Index" to parse the children automatically.
How many URLs can it return?
Up to 1,000 per request. Use the limit parameter to control how many. The total count is always reported even if you limit the returned results.
Does it support gzipped sitemaps?
Yes. If the URL ends in .xml.gz, the tool automatically decompresses the content before parsing.