Sitemap Extractor: All URLs, Lastmod, Images, Hreflang avatar

Sitemap Extractor: All URLs, Lastmod, Images, Hreflang

Pricing

from $0.21 / 1,000 url delivereds

Go to Apify Store
Sitemap Extractor: All URLs, Lastmod, Images, Hreflang

Sitemap Extractor: All URLs, Lastmod, Images, Hreflang

Every URL in a website's sitemaps: robots.txt and standard-path discovery, sitemap indexes, .xml.gz and text sitemaps; lastmod, changefreq, priority, image/video/news/hreflang data, date and URL filters, optional HTTP status check. $0.30 per 1,000 URLs.

Pricing

from $0.21 / 1,000 url delivereds

Rating

0.0

(0)

Developer

Tagada Data

Tagada Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Every URL a website lists in its sitemaps, with the data the sitemap carries. Give it a domain and it finds the sitemaps itself (the Sitemap: lines of robots.txt, then /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml and the other standard paths), follows sitemap indexes, reads .xml.gz and plain-text sitemaps, and returns one row per page URL: last-modified date, change frequency, priority, image URLs, video details, Google News title and date, hreflang language alternates, and the sitemap file it came from. Filter by URL pattern or by last-modified date, and optionally check each URL's HTTP status.

$0.30 per 1,000 URLs on Free ($0.21 on Gold), plus $1.00 per 1,000 sitemap files read and $0.001 per run. The optional status check is $0.20 per 1,000 URLs checked. Platform usage is included. No API key, no login, no proxy needed.

What you get

One flat row per URL (rowType: "url"), plus one free summary row per site (rowType: "summary"). Fields the sitemap does not publish are null.

FieldWhat it is
urlThe page URL (<loc>)
siteThe website it was found for
lastmodLast-modified date as the sitemap gives it (<lastmod>)
changefreq<changefreq> (daily, weekly ...)
priority<priority>, 0.0 to 1.0
imageCount, imagesImage sitemap entries: how many, and their URLs
videoCount, videosVideo sitemap entries: title, description, thumbnailUrl, contentUrl, playerUrl, durationSeconds, publicationDate
newsTitle, newsPublicationName, newsLanguage, newsPublicationDate, newsKeywordsGoogle News sitemap fields
alternateCount, alternateshreflang language versions: hreflang and href of each
sitemapUrlThe sitemap file the URL was listed in
sitemapDepth0 for a top-level sitemap, 1 for a sitemap inside an index, ...
discoveredViarobots.txt, standard path or input (a sitemap URL you gave)
httpStatusStatus check on: the URL's own status code (301 / 302 for a redirect)
finalStatus, finalUrlStatus check on: the status after redirects, and where the URL redirects to
checkErrorStatus check on: why there is no status (TIMEOUT, DNS_ERROR, TLS_ERROR, ROBOTS_DISALLOWED ...)
retrievedAtWhen the sitemap file was read (ISO 8601)

The summary row per site holds: outcome, robotsTxt, fallbackUsed, sitemapsRead, sitemapsFailed, sitemapsSkippedByDate, sitemapsNotRead, entriesScanned, urlsDelivered, duplicates, filteredOut, undated, newestLastmod, oldestLastmod, statusCounts (status check on), and sitemaps: one line per sitemap file with its type, depth, URL count, newest lastmod and any error.

Who uses it

  • SEO audits and migrations: the full list of URLs a site submits to search engines, with lastmod and hreflang, to compare against a crawl, a redirect map or Search Console; the status check finds sitemap URLs that redirect or return 404.
  • Crawl seeding: a clean, de-duplicated URL list for Website Content Crawler, a RAG pipeline or your own scraper, filtered to the sections you need (/blog/*, /products/*).
  • Content and competitor monitoring: what a site published or updated since a date (lastmodAfter: "7 days"), from news, blog or product sitemaps.
  • E-commerce and media research: product and article URLs with their images, videos and publication dates.

Examples

All URLs of a site, up to 100 (the prefill):

{"startUrls":["https://nodejs.org"],"maxUrlsPerSite":100}

Only blog posts updated in the last 30 days, two sites:

{"startUrls":["https://yoast.com","https://blog.cloudflare.com"],"includePatterns":["/blog/*","*/20*"],"excludePatterns":["*/tag/*","*/page/*"],"lastmodAfter":"30 days","maxUrlsPerSite":2000}

One sitemap file directly, with the HTTP status of every URL:

{"startUrls":["https://crawlee.dev/sitemap.xml"],"checkStatus":true,"maxUrlsPerSite":500}

A large site, everything (raise the cap; the run streams the sitemaps, memory stays flat):

{"startUrls":["https://www.gov.uk"],"maxUrlsPerSite":1000000,"includeSummary":true}

How discovery works

  1. robots.txt is read. Every Sitemap: line in it is a sitemap to read.
  2. If robots.txt lists none (or none of them answers), the standard paths are tried in order and the first one that holds a sitemap is used: /sitemap.xml, /sitemap_index.xml, /sitemap-index.xml, /wp-sitemap.xml, /sitemap.xml.gz, /sitemap.txt. A path robots.txt disallows is not fetched.
  3. Sitemap indexes are followed (up to 5 levels deep), gzip files are inflated, text sitemaps (one URL per line) and RSS / Atom feeds used as sitemaps are read too.
  4. A URL listed in several sitemap files of the same site is delivered once, from the first file that lists it.

Give a sitemap URL (.../sitemap.xml, .../post-sitemap.xml, .../sitemap.xml.gz) instead of a domain to read just that file and the files it points to.

Filters

  • Include / exclude patterns: * is a wildcard, a pattern starting with / matches the URL path (/blog/*), a full URL matches the start, and /regex/ is a regular expression. Filtered-out URLs are not charged.
  • Modified after / before: a date (2026-01-31, 2026-01-31T12:00:00Z) or a relative age (7 days, 24 hours, 3 months), compared with each URL's <lastmod>. URLs without a lastmod are dropped while a date filter is on, unless Keep URLs without a lastmod is checked. With Modified after, a sitemap file that its index dates before that day is not downloaded at all, which keeps date-filtered runs on big news sites fast.
  • Max URLs per site stops reading a site once that many URLs were delivered; Max sitemap files per site caps the files read.

Status check

Turn on Check each URL's HTTP status to send a HEAD request to every delivered URL (a GET when the server refuses HEAD; the page body is never downloaded) and add httpStatus, finalStatus, finalUrl and checkError. Redirects are followed up to 5 hops. The check is polite to the site: at most 4 requests in flight and 10 per second per host, the robots.txt Crawl-delay respected (up to 1 s between requests), a Retry-After pause honoured, and URLs that robots.txt disallows are not requested (checkError: "ROBOTS_DISALLOWED", not charged). A host that stops answering is left alone after 10 failures in a row; its remaining URLs get checkError: "HOST_UNRESPONSIVE" and are not charged. Large sites take time at that pace: about 9 URLs per second on one host, so roughly 20 minutes per 10,000 URLs; several sites in one run are checked side by side.

Results, zeros and errors

  • A site whose sitemaps were read but list no URL, or none matching your filters, is reported as such in the status and the summary row; the run SUCCEEDS.
  • A site with no sitemap in robots.txt nor at any standard path is reported as NO_SITEMAP; a domain that does not resolve as SITE_UNREACHABLE. Both are answers, so the run SUCCEEDS.
  • A sitemap that could not be read (403, 5xx, timeout) is named in the summary row and the status, never reported as "no URLs". If no site could be read, the run FAILS with the reason.
  • Invalid input ends the run right away with an "Input error: ..." message and only the $0.001 start charge.
  • Only public http(s) addresses are fetched: private, local and cloud-metadata addresses are refused, also after redirects. A sitemap file is read up to 100 MB (the protocol limit is 50 MB).

Pricing

  • $0.001 per run (start).
  • $1.00 per 1,000 sitemap files read on Free ($0.70 on Gold): one per file that parsed as a sitemap, indexes included. A standard path that holds no sitemap, and a file that fails, are not charged.
  • $0.30 per 1,000 URLs delivered on Free, with lower prices on higher Apify plans ($0.21 per 1,000 on Gold).
  • Status check (optional): $0.20 per 1,000 URLs checked on Free ($0.14 on Gold); URLs skipped by robots.txt or an unresponsive host are not charged.
  • Summary rows are free. Platform usage is included.

Examples on Free: a 5,000-URL site in 3 sitemap files costs $0.001 + $0.003 + $1.50 = about $1.50 (about $2.50 with the status check). A filtered run that scans all 37 sitemap files of a large site (877,000 URLs) and keeps 161 of them costs $0.001 + $0.037 + $0.048 = about $0.09, and takes about 10 seconds.

Set a maximum charge per run in Apify if you want a hard ceiling; the actor stops at it and says so in the status.

FAQ

Does it crawl the website's pages? No. It reads only robots.txt and the sitemap files, so it is fast and light on the site. The optional status check sends one HEAD (or GET) request per URL and never downloads page bodies.

The site has no sitemap. What then? The status and summary row say NO_SITEMAP and list the paths tried. To list the pages of a site without a sitemap you need a crawler.

Why are some URLs from another domain? Some sites list pages of their other domains or a CDN in their sitemaps; the actor reports what the sitemap says.

How big can a site be? Up to 1,000,000 URLs and 10,000 sitemap files per site per run. Each file is streamed from disk, so memory does not grow with the size of the site.

Can I use it with Make, Zapier, n8n or the API? Yes. Schedule it with Modified after set to 1 day to get each day's new and updated URLs.

Data use

The actor reads robots.txt and the sitemap files that websites publish for search engines. It respects robots.txt rules for every file it fetches other than the sitemaps robots.txt itself lists, sends an honest User-Agent that names this actor, does not log in and fetches no page bodies.