Sitemap URL Extractor: sitemap.xml to URL List avatar

Sitemap URL Extractor: sitemap.xml to URL List

Pricing

from $0.30 / 1,000 results

Go to Apify Store
Sitemap URL Extractor: sitemap.xml to URL List

Sitemap URL Extractor: sitemap.xml to URL List

List every URL in a website's sitemaps with lastmod, changefreq and priority. Finds sitemaps via robots.txt, follows sitemap indexes, reads .gz, and honors robots.txt. No browser, no proxy.

Pricing

from $0.30 / 1,000 results

Rating

0.0

(0)

Developer

Pretty Theory Data

Pretty Theory Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

Sitemap URL Extractor: sitemap.xml to URL List (CSV, JSON)

Extract all URLs from a website sitemap.xml and export them to CSV, JSON or Excel. List every URL a website publishes in its sitemaps, with lastmod, changefreq and priority. Give it a site address and it finds the sitemaps through robots.txt, follows sitemap indexes, and reads .xml and .xml.gz files. It honors robots.txt and does not open the pages themselves.

Input

  • startUrls: site addresses (https://example.com) or direct sitemap URLs.
  • includePattern / excludePattern: JavaScript regular expressions applied to each page URL.
  • modifiedAfter: keep URLs modified on or after a date (URLs with no lastmod are kept).
  • maxUrls (default 10000), maxSitemaps per site (default 200).
  • respectRobots: default on.

Example:

{
"startUrls": ["https://www.sitemaps.org"],
"includePattern": "\\.html$",
"modifiedAfter": "2020-01-01",
"maxUrls": 1000
}

Output

url, lastmod, changefreq, priority, sitemapUrl (the file it came from), site.

Notes

  • Sites without a sitemap return no rows and a warning in the log.
  • Use it only on sites where you may read the sitemap. Leave respectRobots on unless you own the site.
  • Self-check: run with selfCheck true. It reads two fixed public sitemaps and fails the run if either returns fewer URLs than expected.

Pricing

Pay per result (one result per URL). See the Pricing tab.