Skip to content
//Sitemap Extractor example\\

Docs pages changed since 2024, 10 URLs

Sitemap URLs filtered by path and last-modified date.

Updated November 14, 2026

What this example returns

This example returns up to 10 URLs.

The dataset’s “URLs” view shows 11 columns: URL, Last modified, Type, Change freq, Priority, Title, Images, Videos, Status, Sitemap, and Site. See every output field.

What each setting does

The input this example runs Sitemap Extractor with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Websites or sitemap URLs startUrls

https://reactnative.dev

Domains, home pages, sitemap files (.xml, .xml.gz, .txt) or RSS/Atom feeds. For a domain or page URL the actor reads robots.txt and the common sitemap locations and follows sitemap indexes to the end. A direct sitemap URL extracts just that sitemap and its children.

Max URLs maxUrls

10

Stop after saving this many unique URLs in total (default 10,000). 0 = no limit (every URL in every sitemap).

Default: 10000 → this example uses 10

Include URLs matching includePatterns

/docs/

Keep only URLs that match at least one pattern. Plain text matches anywhere in the URL (e.g. /blog/), * and ? are wildcards (e.g. https://*/product/*), and /.../ is a regular expression.

Modified since lastmodSince

2024-01-01

Keep only URLs whose sitemap lastmod (or news publication date) is on or after this date. Use YYYY-MM-DD or a relative value such as '7 days' or '3 months'. Whole child sitemaps last changed before this date are skipped, which makes incremental runs fast.

Keep URLs without lastmod when a date filter is set includeUrlsWithoutLastmod

Yes

Many sitemaps have no lastmod. By default a date filter drops those URLs; turn this on to keep them.

Default: No → this example uses Yes

Sitemap discovery discoveryMode

Thorough (robots.txt + all common paths)

Standard: sitemaps listed in robots.txt, or the common locations (/sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml, ...) when robots.txt lists none. Thorough: always also probes the common locations plus news, video and image sitemap paths.

Default: Standard (robots.txt first) → this example uses Thorough (robots.txt + all common paths)

.json
{
  "startUrls": [
    {
      "url": "https://reactnative.dev"
    }
  ],
  "maxUrls": 10,
  "discoveryMode": "thorough",
  "includeUrlsWithoutLastmod": true,
  "includePatterns": [
    "/docs/"
  ],
  "lastmodSince": "2024-01-01"
}

What it costs

From about $0.001 for 10 URLs

An estimate at the lowest plan price: 10 × $0.000102 per url (One unique URL saved to the dataset). A run is charged for the events it reports, so one that finds fewer URLs costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the Sitemap Extractor readme:

Known limit

lastmod, changefreq and priority are self-reported by the site and may be missing or inaccurate.

How many URLs can I get?

As many as the sitemaps list. Large sitemaps are streamed, so memory stays flat even for hundreds of thousands of URLs. Use Max URLs or Max URLs per site to cap a run.

Other ways to run Sitemap Extractor

All examples of Sitemap Extractor

About Sitemap Extractor

Extract every URL from a website's XML sitemaps: finds sitemaps via robots.txt and common paths, follows sitemap indexes, reads .xml.gz, text sitemaps and RSS/Atom feeds. Get lastmod, changefreq, priority, image, video and news data, with URL pattern and date filters. No login needed.

Price:
From $0.102 / 1,000 results
Developer:
Querystone

Sitemap Extractor pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.