Sitemap URLs: every URL of a website from its XML sitemaps avatar

Sitemap URLs: every URL of a website from its XML sitemaps

Pricing

from $0.28 / 1,000 url listeds

Go to Apify Store
Sitemap URLs: every URL of a website from its XML sitemaps

Sitemap URLs: every URL of a website from its XML sitemaps

Sitemap URL extractor: every URL a website lists in its XML sitemaps, up to 100 sites per run: sitemaps are found through robots.txt and the usual paths, sitemap indexes and gzip are followed, and each URL comes with its sitemap, last modification date, change frequency and priority. Pay per URL.

Pricing

from $0.28 / 1,000 url listeds

Rating

0.0

(0)

Developer

Steadydata Team

Steadydata Team

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 hours ago

Last modified

Share

Every URL a website lists in its XML sitemaps, up to 100 sites per run: sitemaps are found through robots.txt and the usual paths, sitemap indexes and gzip are followed, and each URL comes with its sitemap, last modification date, change frequency and priority. Pay per URL.

Why this scraper

  • Only delivered results are charged. Inputs that fail come back as clear error records at no cost.
  • No crawling: the site's own sitemap files are read, so a whole site is listed in a handful of requests. Measured on apify.com and gov.uk: 300 URLs each, discovered through robots.txt and a sitemap index, for less than a tenth of a cent.
  • Discovery and etiquette built in: sitemaps are found through the Sitemap: lines of robots.txt and the usual paths, sitemap indexes and gzip files are followed, plain-text sitemaps are read too, duplicates are dropped, and every sitemap fetch is checked against the host's robots.txt rules first. Each URL keeps the sitemap it came from, its lastmod, changefreq and priority.

Who this is for

Paste domains, site URLs or sitemap URLs in sites (up to 100 per run) and set maxUrlsPerSite (default 5,000, ceiling 50,000). Every row carries the site, the sitemap file the URL came from, the URL, its last modification date, change frequency, priority and the number of image entries attached to it.

Who this is not for

A sitemap lists what the site owner chose to list; pages missing from it are not found, and a site without any sitemap comes back as one free NO_SITEMAP error row. lastmod, changefreq and priority are optional in the sitemap standard and empty when the site leaves them out (apify.com gives none of them, gov.uk gives lastmod and priority). URLs are delivered in sitemap order up to the ceiling; on very large sites the cap decides which part you get.

Input example

{
"sites": [
"apify.com"
],
"maxUrlsPerSite": 5000
}

Output example

  • site
  • sitemapUrl
  • url
  • lastmod
  • changefreq
  • priority
  • imageCount

Error codes: INVALID_SITE, NO_SITEMAP, BLOCKED, FETCH_FAILED.

One delivered row looks like this:

{
"site": "apify.com",
"sitemapUrl": "https://apify.com/sitemap/pages.xml",
"url": "https://apify.com/",
"lastmod": null,
"changefreq": null,
"priority": null,
"imageCount": 0,
"status": "ok"
}

Pricing

Pay per event: one url-listed event per delivered result. No charge for inputs that fail, no separate platform-usage surcharge.

Free Apify plan: this actor delivers up to 25 rows per run for accounts on the Apify free plan, and then stops with a message. That limit is set by us, not by Apify. It exists so the actor keeps paying for itself for the people who do pay. Any paid Apify plan runs it at full size, billed per delivered row, with failed rows never charged.

Reviews: if this actor saves you time, a short review on this page is the one thing that helps most. Ratings are what other buyers look at first, and we have no other way to ask.

FAQ

Does it crawl the pages? No, it only reads the sitemap files; that is what makes it fast and cheap. Use the Technical SEO Audit actor from the related actors below to fetch and check the pages themselves.

What if I know the sitemap URL? Paste it directly; discovery is skipped and that file (and any index it points to) is read.

Are gzip sitemaps supported? Yes, .xml.gz and gzip-encoded bodies are unpacked.

Does it respect robots.txt? Yes. A sitemap path a site disallows in its robots.txt is skipped, not fetched.

Do I pay for a site without a sitemap? No. Only delivered URL rows are charged.

Is personal data collected? lastmod is passed through as the site wrote it (a date or a full timestamp); imageCount counts the image entries the sitemap attaches to the URL.

What happens when the source changes? Sources change from time to time; that is the nature of this work. The actor is monitored daily and fixed fast, and while it is broken you are not charged, because only delivered results cost anything.