Website Sitemap URL Inventory Extractor

Turn any website's sitemap, sitemap index or bare domain into a flat list of every declared URL with its last-modified date, priority, and image, video or language metadata.

Open in Apify Store$0.99 / 1K on Free

Short answer

Website Sitemap URL Inventory Extractor is an Apify Store Actor that returns 15 published output fields, including lastmod, changefreq, priority, host. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 17 input settings; one is required (startUrls). Last updated Nov 23, 2026.

From the public Store listing and published build schema, synced 2026-11-23.
SEOAutomationDeveloper tools

What it returns

15 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.

  • url
  • lastmod
  • changefreq
  • priority
  • host
  • sourceType
  • sitemapDepth
  • source
  • lastmodIso
  • title
  • news
  • images
  • videos
  • alternates
  • sourceSitemapLastmod

Input

Input settings for Website Sitemap URL Inventory Extractor
SettingTypeRequiredDefaultWhat it does
startUrls array Yes – One or more URLs. Accepts a sitemap, sitemap index, .xml.gz file, sitemap.txt, RSS/Atom feed, robots.txt URL, bare domain (example.com) or homepage. With discovery on, site URLs are resolved through robots.txt, the homepage's sitemap link and common sitemap paths.
discoverSitemaps boolean No true When the input is a domain or homepage, read robots.txt, the homepage <link rel="sitemap"> hint, common sitemap paths and—when no sitemap is advertised—the homepage's RSS/Atom autodiscovery links. Turn off to read only the exact URLs you supplied.
followSitemapIndexes boolean No true When a sitemap index points to child sitemaps, fetch and merge them. Turn off to read only the sitemap files you supplied and stop at any index.
maxSitemapDepth integer No 5 How many levels of nested sitemap indexes to follow. 0 reads only the supplied sitemaps, 1 follows one index level, and so on.
maxSitemaps integer No 1000 Stop after attempting this many sitemap files (indexes and child sitemaps both count). Protects very large sitemap trees such as newspaper archives.
maxUrls integer No 0 Total URL rows to emit across all inputs. Set to 0 for no limit. Filtered and duplicate URLs do not count toward this cap.
lastmodAfter string No – Keep URLs whose lastmod, feed date or news publication date is on or after this point. Use an ISO date (2026-01-01), a full timestamp, or a relative window such as "7 days", "24 hours" or "2 weeks". Leave blank to keep every URL.
keepUrlsWithoutLastmod boolean No false When a date filter is set, also keep URLs and feed items that carry no usable date. Without this, undated entries are dropped by the date filter.
urlFilterInclude string No – Keep only URLs that match this pattern. Interpretation depends on URL match mode: a regular expression, a plain-text substring, or a wildcard pattern. Leave blank to keep every URL.
urlFilterExclude string No – Drop URLs that match this pattern, applied after the include filter. Uses the same URL match mode.
Show the other 7 settings
More input settings for Website Sitemap URL Inventory Extractor
SettingTypeRequiredDefaultWhat it does
urlMatchMode string No regex How the include and exclude filters are interpreted. Regular expressions are case-insensitive. Plain text matches a literal substring. Wildcards use * for any characters except /, ** for any characters including /, and ? for one character.
sameHostOnly boolean No false Drop URLs whose hostname differs from the host of your input URLs. Useful when a sitemap includes CDN or alternate-domain pages you do not want.
deduplicateUrls boolean No true Emit each page URL once even when it appears in several sitemaps. Turn off to keep one row per sitemap listing.
includeImages boolean No true Add the image sitemap entries attached to a URL (location, title, caption, license, geo location).
includeVideos boolean No true Add the video sitemap entries attached to a URL, including thumbnail, player/content URLs, duration, dates, tags, categories, ratings, restrictions and live status.
includeNews boolean No true Add the Google News entries attached to a URL: publication name and language, publication date, headline, genres, keywords and stock tickers.
includeAlternates boolean No true Add the xhtml:link hreflang alternates attached to a URL, including x-default, even when the sitemap uses a legacy xhtml namespace.

Example input

Built from the input form's published example values and defaults.

{
  "startUrls": [
    "https://onescales.com/sitemap.xml"
  ],
  "discoverSitemaps": true,
  "followSitemapIndexes": true,
  "maxSitemapDepth": 5,
  "maxSitemaps": 1000,
  "maxUrls": 500,
  "keepUrlsWithoutLastmod": false,
  "urlMatchMode": "regex",
  "sameHostOnly": false,
  "deduplicateUrls": true,
  "includeImages": true,
  "includeVideos": true,
  "includeNews": true,
  "includeAlternates": true
}

Run it from code or an AI agent

The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.

Python

from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
    "startUrls": [
        "https://onescales.com/sitemap.xml"
    ],
    "discoverSitemaps": True,
    "followSitemapIndexes": True,
    "maxSitemapDepth": 5,
    "maxSitemaps": 1000,
    "maxUrls": 500,
    "keepUrlsWithoutLastmod": False,
    "urlMatchMode": "regex",
    "sameHostOnly": False,
    "deduplicateUrls": True,
    "includeImages": True,
    "includeVideos": True,
    "includeNews": True,
    "includeAlternates": True
}

run = client.actor("nimbryxo-studio/website-sitemap-url-inventory-extractor").call(run_input=run_input)
if run is None:
    raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

pip install apify-client

JavaScript

import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
    "startUrls": [
        "https://onescales.com/sitemap.xml"
    ],
    "discoverSitemaps": true,
    "followSitemapIndexes": true,
    "maxSitemapDepth": 5,
    "maxSitemaps": 1000,
    "maxUrls": 500,
    "keepUrlsWithoutLastmod": false,
    "urlMatchMode": "regex",
    "sameHostOnly": false,
    "deduplicateUrls": true,
    "includeImages": true,
    "includeVideos": true,
    "includeNews": true,
    "includeAlternates": true
};

const run = await client.actor("nimbryxo-studio/website-sitemap-url-inventory-extractor").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

npm install apify-client

cURL

curl -X POST "https://api.apify.com/v2/actors/nimbryxo-studio~website-sitemap-url-inventory-extractor/run-sync-get-dataset-items"   -H "Authorization: Bearer $APIFY_TOKEN"   -H "Content-Type: application/json"   -d '{"startUrls":["https://onescales.com/sitemap.xml"],"discoverSitemaps":true,"followSitemapIndexes":true,"maxSitemapDepth":5,"maxSitemaps":1000,"maxUrls":500,"keepUrlsWithoutLastmod":false,"urlMatchMode":"regex","sameHostOnly":false,"deduplicateUrls":true,"includeImages":true,"includeVideos":true,"includeNews":true,"includeAlternates":true}'

Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).

MCP (AI agents)

{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=nimbryxo-studio/website-sitemap-url-inventory-extractor",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
      }
    }
  }
}

Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.

What a run costs

The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.

Cost of Website Sitemap URL Inventory Extractor results by Apify plan
Apify planPer 1,00010,000 results100,000 results
Free plan$0.99$9.90$99
Starter plan$0.82$8.20$82
Scale plan$0.66$6.60$66
Business plan$0.49$4.90$49
  • Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
  • The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
  • Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
  • Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.

What people use it for

  • Inventory sitemap URLs
  • Review sitemap metadata

Wayback Machine Snapshot History & Archived Text Extractor

Pull the Wayback Machine's capture history for any URL, host, or domain with timestamps, status codes, MIME types, and optional archived page text.

19 output fields $0.99 per 1K

Lighthouse Audit & Safe Browsing Website Checker

Lighthouse audits plus Google Safe Browsing checks for any URL list: four scores, lab metrics, ranked fixes, page weight, third-party cost and…

6 output fields $0.99 per 1K

SimilarWeb Traffic & AI Chatbot Analytics Scraper

Look up website traffic estimates, rankings, traffic-source breakdown, top keywords, and AI-chatbot traffic share for any list of domains, with no…

9 output fields $0.99 per 1K

Wikipedia Article Lookup by URL or Keyword

Fetch structured data for Wikipedia articles by URL or keyword search, in any language edition - summary, description, categories, images, and…

39 output fields $0.99 per 1K

Ahrefs Domain Rating, Backlinks & Traffic Lookup

Look up a domain's public Ahrefs Domain Rating, linking-website count, global rank, and estimated organic traffic, with a mode to fetch just…

6 output fields $0.99 per 1K

Facebook URL to ID & Entity Resolver

Resolve public Facebook URLs to numeric IDs and entity details without login: Pages, profiles, groups, posts, videos, reels, photos and Ad Library…

6 output fields $0.99 per 1K

Questions people ask

How much does Website Sitemap URL Inventory Extractor cost?

The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.

What data does Website Sitemap URL Inventory Extractor return?

Its published output schema lists 15 fields: url, lastmod, changefreq, priority, host, sourceType, sitemapDepth, source, lastmodIso, title, news, images, and 3 more. A listed field is not guaranteed to be filled in every row.

What input does Website Sitemap URL Inventory Extractor need?

Required: startUrls. Optional settings include discoverSitemaps, followSitemapIndexes, maxSitemapDepth, maxSitemaps, maxUrls, lastmodAfter.

How do I run Website Sitemap URL Inventory Extractor from Python or the API?

Use the Apify API client: in Python, ApifyClient(token).actor("nimbryxo-studio/website-sitemap-url-inventory-extractor").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("nimbryxo-studio/website-sitemap-url-inventory-extractor").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/nimbryxo-studio~website-sitemap-url-inventory-extractor/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.

Sources

Actor updated 2026-11-23 Data synced 2026-11-23
Cite this page

Scraper Finder. "Website Sitemap URL Inventory Extractor." https://scraperfinder.com/catalogue/website-sitemap-url-inventory-extractor/ (data checked 2026-11-23).

Run Website Sitemap URL Inventory Extractor

$0.99 per 1,000 results. Paste the example input above, set your target query, then export the dataset.

Open in Apify Store