Sitemap URL Inventory and Index Auditor avatar

Sitemap URL Inventory and Index Auditor

Pricing

$30.00 / 1,000 complete sitemap inventory reports

Go to Apify Store
Sitemap URL Inventory and Index Auditor

Sitemap URL Inventory and Index Auditor

Sitemap XML exports become a URL inventory with source references. Missing index targets and duplicate URLs appear in the review report. Send your XML documents through the input to inspect the results.

Pricing

$30.00 / 1,000 complete sitemap inventory reports

Rating

0.0

(0)

Developer

Daniel Michałek

Daniel Michałek

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Features

Limited permissions

Share

Overview

Turn supplied sitemap XML into a traceable URL inventory for migration planning, crawl preparation and dataset intake. The Actor resolves references between supplied documents, preserves URL occurrences across files and reports missing targets, duplicate URLs, malformed XML and invalid metadata.

Processing uses a deterministic XML parser and the supplied document set. Source requests stay at zero. Each sourceUrl labels the XML supplied by the caller. Query parameters remain part of page identity. Checking indexing, permissions, crawlability and current search-engine acceptance requires a separate workflow.

Input example

Provide sitemaps as an array of objects with id, sourceUrl and xml. IDs contain 1 to 80 ASCII letters, digits, dots, underscores or hyphens. IDs and normalized source URLs must be unique within the input. Use absolute HTTP or HTTPS source URLs. Supply decompressed XML.

{
"sitemaps": [
{
"id": "pages",
"sourceUrl": "https://example.com/sitemap.xml",
"xml": "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"><url><loc>https://example.com/page</loc><lastmod>2026-10-01</lastmod></url></urlset>"
}
],
"maxItems": 1
}

The working limits are 20 documents, 5000 combined url and sitemap entries, 2000000 serialized UTF-8 input bytes, and 1500000 XML bytes per document. A URL supports up to 2048 characters after normalization. Unknown input fields, duplicate document identifiers, excessive limits and malformed input types fail before report delivery.

Output

One dataset item contains documents, indexReferences, urls and findings. Each inventory URL contains every source occurrence, including documentId, a one-based entryIndex and validated lastmod, changefreq and numeric priority. The URLS_CSV export contains one row per URL occurrence. SITEMAP_INVENTORY stores matching JSON and REPORT stores the readable finding summary.

complete means the analysis was delivered. inventoryComplete is false when error findings establish missing or invalid inventory coverage. A successfully delivered audit can have qualityStatus INCOMPLETE. Metadata warnings produce REVIEW_REQUIRED. CHECKS_PASSED covers the implemented checks.

A sitemap index reference resolves through an exact normalized match to a supplied sourceUrl. Missing children remain NOT_SUPPLIED, malformed targets remain INVALID_TARGET and supplied valid targets are RESOLVED. Supplied nested indexes produce INDEX_POINTS_TO_INDEX findings. Graph traversal identifies cycles and terminates within the bounded document set.

Reviewing findings

REFERENCED_SITEMAP_NOT_SUPPLIED calls for adding the referenced XML to a fresh input set. XML_PARSE_ERROR calls for repairing or re-exporting that source document. DTD_OR_ENTITY_UNSUPPORTED calls for a plain sitemap export using standard XML character entities. MISSING_OR_MULTIPLE_LOC requires one location for the indicated source entry. DUPLICATE_URL identifies occurrences to inspect before migration or crawl batching.

INVALID_LASTMOD, INVALID_CHANGEFREQ and INVALID_PRIORITY preserve the page URL while leaving the affected exported field null. Review the original source entry. CROSS_ORIGIN_LOCATION_REQUIRES_REVIEW preserves the location and highlights the need to verify the publication arrangement. Review index cycles and index-to-index references against the destination consumer's supported format.

Pricing and cost control

The local proposal is USD 0.03 per complete sitemap-inventory-report for up to 20 supplied documents and 5000 combined entries. Active pricing requires a qualified cloud release. The comparable competitor median, measured cloud cost, customer willingness to pay and realized margin remain unverified. PRICING.json preserves their explicit pending states.

The runner allows one report, zero content requests and a cooperative 45-second budget. Node starts with a 128 MiB old-generation budget and 8 MiB semi-space. SDK acceptance also measures full-process RSS and applies a process timeout. Proposed pricing remains separate from local execution evidence.

Limits and fair use

Supported roots are urlset and sitemapindex in the standard sitemap namespace. Prefixes resolve through namespace declarations. An absent namespace produces a warning. Standard XML entities and CDATA are supported. Foreign extension fields inside entries are ignored. DTD declarations, custom entities, multiple roots and unsupported root children produce document findings.

Source and page URLs containing credentials or fragments are rejected. Query strings remain intact because they can identify different pages. Remove secrets and unnecessary personal information from supplied URLs and XML before upload. Original INPUT follows Apify retention settings. Markdown escapes supplied identifiers and CSV protects numeric identifier cells.

Validation implements a defined sitemap subset. Supply authorized exports and check any current consumer-specific rules. The inventory represents the supplied documents at the time of export.

Development and recovery

Use Node 22 or newer, the pinned dependency lock and npm ci --offline --ignore-scripts --omit=dev --no-audit --no-fund when the packages are cached. npm test runs unit and handler regressions. npm start invokes the real Apify SDK.

PREPARED is persisted before report effects. COMPLETE requires matching delivery counters and a physical dataset readback. Replay verifies full input, runtime, pricing, JSON, CSV, Markdown and the physical report. Changed or uncertain effects require reconciliation. Run one writer per storage directory. Use fresh storage for a new intentional job.