Sitemap URL Scraper — Every URL, lastmod & New Pages avatar

Sitemap URL Scraper — Every URL, lastmod & New Pages

Pricing

from $0.40 / 1,000 pages

Go to Apify Store
Sitemap URL Scraper — Every URL, lastmod & New Pages

Sitemap URL Scraper — Every URL, lastmod & New Pages

Sitemap extractor and sitemap scraper: every URL from a site's robots.txt and sitemaps (indexes, .xml.gz, text) with lastmod, images, news and hreflang, or only the pages new since your last run. Never reads the pages. No proxy, no login. $0.50 per 1,000 URLs.

Pricing

from $0.40 / 1,000 pages

Rating

0.0

(0)

Developer

Northbell

Northbell

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Sitemap URL Scraper: Every URL, lastmod & New Pages

A sitemap extractor that reads only robots.txt and the sitemap files, never the pages: give it a website and get every URL with its lastmod, images, news data and language versions, or only the pages added since your last run. To get the new pages every day: save the website as a task with Only new URLs since the last run on and add a daily Schedule to that task in Apify Console. $0.50 per 1,000 URLs, no proxy, no login.

Try it now. The input is already filled in. Press Start: gov.uk returns 1,000 URLs from 2 sitemap files in 2.3 seconds, for $0.51. The same site in full: 853,142 URLs from 37 sitemap files in 5 minutes 8 seconds (measured on 19 Nov 2026, from a home connection; set Max URLs to 1,000,000 to get it). Three of the rows:

urllastmodprioritysourceSitemap
https://www.gov.uk/none listed0.5/sitemaps/sitemap_1.xml
https://www.gov.uk/employment-tribunal-decisions/miss-k-king-v-paladin-nsas-3330686-20182026-10-01T08:52:33+01:000.5/sitemaps/sitemap_1.xml
https://www.gov.uk/hmrc-internal-manuals/economic-crime-supervision-handbook/ecsh341152026-09-30T10:11:39+01:000.5/sitemaps/sitemap_1.xml

Input

FieldWhat it does
startUrls (required)Homepages (https://example.com), robots.txt addresses or sitemap addresses. For a homepage the Sitemap: lines of its robots.txt are used; if there are none, /sitemap.xml and /sitemap_index.xml are tried.
maxUrlsTotal cap over all sites. Default 1,000, up to 1,000,000. Reading stops when it is reached.
maxUrlsPerSiteOptional cap for each start URL.
lastmodSinceOptional date, for example 2026-11-01. Keeps URLs whose lastmod is on or after it. URLs with no lastmod are dropped.
urlContainsOptional list of texts, for example /blog/. Keeps URLs containing any of them (not case sensitive).
onlyNewOn: returns only URLs that are new since an earlier run with the same start URL and filters. The first run returns up to Max URLs and still reads the whole sitemap, remembering the rest without returning or charging it, so the next run brings only pages that are really new. Default off.
includeImagesAdds the image:loc addresses of each URL. Default on.
includeAlternatesAdds the language versions (hreflang) of each URL. Default on.

Sitemap indexes are followed up to 3 levels deep. .xml, .xml.gz and plain-text sitemaps (one URL per line) are read.

What you get

RowFields
urlurl, lastmod, changefreq, priority, images (list of image addresses), news (publicationName, publicationLanguage, title, publicationDate), alternates (list of hreflang and href), sourceSitemap, site, isNewSinceLastRun, observedAt
summary (one per start URL, free)site, sitemapsRead, sitemapsFailed, urlsFound, urlsReturned, newSinceLastRun, filteredOut, alreadyReturned, truncated
error (free)site, url, message saying what to do

isNewSinceLastRun is null on the first run for a start URL and filters, then true or false. truncated is true when the site had more matching URLs than your caps allowed.

Pricing

  • $0.50 per 1,000 URLs returned ($0.0005 each).
  • $0.01 per run, charged together with the first URL. A run that returns no URL costs nothing.
  • Summary rows, error rows and URLs removed by your filters are never charged.
  • With onlyNew on you pay only for the new URLs.

Questions

What does it cost? 1,000 URLs cost $0.51 including the run fee. A site with 50,000 URLs costs about $25. Set maxUrls (or Maximum total charge on the run) to keep it below a number you choose.

Why did I get 0 results? Look at the free error rows: the usual causes are a site with no sitemap (robots.txt lists none and /sitemap.xml does not exist; paste the sitemap address itself), a robots.txt that disallows the sitemap path, a lastmodSince or urlContains that matches nothing (the summary shows filteredOut), or onlyNew on with nothing added since the last run.

How do I watch a site for new pages? Schedule a run (daily or weekly) with onlyNew on and the same start URL and filters. Each run returns, and charges for, only the URLs added since the previous one. Another way is lastmodSince with a rolling date, which also catches pages that changed.

Which fields do I get? Every field in the url table above. lastmod, changefreq and priority are what the site writes in its sitemap, so they are empty when the site leaves them out. images, news and alternates are filled only when the site lists them.

Notes

  • Only robots.txt and the sitemap files are fetched. The pages themselves are never opened, so there is no HEAD request per page and nothing to block.
  • robots.txt is respected, including for the sitemap addresses: a sitemap it disallows is skipped with a free error row. A Crawl-delay is honoured up to 10 seconds. One request at a time per host, at least 1 second apart.
  • Rules written for AI crawlers that name Claude are respected too, so a few large sites that block those agents return an error row instead of URLs.
  • Addresses on private or local networks are refused.
  • No login, no proxy, no browser. The run identifies itself as northbell-sitemap-urls.
  • What onlyNew remembers is kept in a stored list of short fingerprints of the URLs read (up to 1,000,000 per start URL and filters), not the URLs themselves.
  • Sitemaps are what a site chooses to list. A page missing from the sitemap is not returned.