# Sitemap URL Extractor

> Sitemap URL Extractor is a paid API for AI agents from sitemap-url-extractor.underscoredone.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches and parses a sitemap.xml URL, returning all contained page URLs along with metadata like last-modified dates and change frequency, following sitemap index links recursively.

## Facts

- Endpoint: POST https://sitemap-url-extractor.underscoredone.com/extract
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitemap-url-extractor-b5bc6bc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6vN3IhSoa4wVJasF0Gpeu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitemap-url-extractor-b5bc6bc6 -d '<json body>'
```

Example prompt: Can you fetch the sitemap at https://example.com/sitemap.xml and give me a full list of every URL it contains, including when each page was last updated?

## When to prefer this

Use this endpoint when you need to enumerate all URLs from a website's sitemap.xml, especially when the sitemap may be an index pointing to multiple child sitemaps. Ideal for SEO audits, content inventories, broken link detection, and competitive page discovery when a sitemap URL is known. Prefer this over manual web crawling when a sitemap is available, as it is faster and more structured.

## Known failure modes

- Invalid or malformed sitemap URL provided — returns error indicating bad input
- Target sitemap.xml is unreachable or returns non-200 HTTP status — returns fetch error
- Sitemap file is malformed XML — returns parsing error
- Sitemap index chains are too deep or circular — may time out or return partial results
- Rate limiting or blocking by target server — fetch fails with access denied

## How this service works

Give this API a link to any website's sitemap.xml file and it will fetch and parse it, returning every URL found inside. If the sitemap links to other sitemaps (called sitemap indexes), it will follow and extract those too. Each URL is returned with any extra information available, such as when the page was last updated and how often it changes. Useful for SEO audits, content inventories, broken link checks, and competitive research.

## Output

A structured list of all page URLs found in the sitemap, including optional metadata per URL such as last-modified date and change frequency. If the sitemap is an index pointing to child sitemaps, those are followed and their URLs included as well.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sitemap_url": {
   "type": "string",
   "description": "The full web address of the sitemap.xml file you want to read, for example: https://example.com/sitemap.xml"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "urls": [
   {
    "url": "https://onescales.com/pages/contact",
    "lastmod": "2022-12-27T03:01:05-05:00",
    "priority": null,
    "changefreq": "weekly"
   },
   {
    "url": "https://onescales.com/pages/about",
    "lastmod": "2025-09-29T21:38:56-04:00",
    "priority": null,
    "changefreq": "weekly"
   },
   {
    "url": "https://onescales.com/pages/join-our-community",
    "lastmod": "2023-11-29T18:49:48-05:00",
    "priority": null,
    "changefreq": "weekly"
   },
   {
    "url": "https://onescales.com/pages/podcast",
    "lastmod": "2024-01-01T23:12:34-05:00",
    "priority": null,
    "changefreq": "weekly"
   },
   {
    "url": "https://onescales.com/pages/support-us",
    "lastmod": "2024-10-07T21:21:59-04:00",
    "priority": null,
    "changefreq": "weekly"
   },
   {
    "url": "https://onescales.com/pages/shopify-growth-course",
    "lastmod": "2025-05-06T21:28:16-04:00",
    "priority": null,
    "changefreq": "weekly"
   }
  ],
  "total_urls": 6,
  "api_version": "1.0.0",
  "sitemaps_found": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitemap-url-extractor-b5bc6bc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sitemap-url-extractor.underscoredone.com](https://www.zero.xyz/host/sitemap-url-extractor.underscoredone.com/llms.txt)
