# Mat Web & Data Toolkit – Sitemap Parser

> Mat Web & Data Toolkit – Sitemap Parser is a paid API for AI agents from automatom.matt-d59.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Fetches and parses a sitemap XML file from a given URL, returning the sitemap type, entry count, and a list of URLs with their last-modified dates and priorities.

## Facts

- Endpoint: GET https://automatom.matt-d59.workers.dev/sitemap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mat-web-data-toolkit-sitemap-parser-b13cd0c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ThQrggFvGUccdqdSuj00Z

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 mat-web-data-toolkit-sitemap-parser-b13cd0c5
```

Example prompt: Can you fetch and parse the sitemap at https://www.example.com/sitemap.xml and tell me how many URLs are listed and what they are?

## When to prefer this

Choose this endpoint when you need to programmatically retrieve and parse a website's sitemap.xml, especially for SEO auditing, URL discovery, or site indexing workflows. Prefer this over generic web scrapers when the target is a structured sitemap XML file and you need structured entry-level data like lastmod and priority.

## Known failure modes

- Invalid or unreachable URL returns an error or empty response
- Non-XML or non-sitemap URL may return unexpected structure
- Rate limiting or firewall on target domain may prevent fetch
- Malformed sitemap XML may cause parsing failure
- Missing 'url' query parameter returns a validation error

## How this service works

Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.

## Output

Returns a JSON object containing the sitemap URL, its type (e.g. 'urlset'), the total count of entries, and an array of entry objects each with 'loc', 'lastmod', 'priority', and 'changefreq' fields (nullable).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://www.sitemaps.org/sitemap.xml",
  "type": "urlset",
  "count": 84,
  "entries": [
   {
    "loc": "https://www.sitemaps.org/",
    "lastmod": "2016-11-21",
    "priority": null,
    "changefreq": null
   },
   {
    "loc": "https://www.sitemaps.org/protocol.html",
    "lastmod": "2022-12-15",
    "priority": null,
    "changefreq": null
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mat-web-data-toolkit-sitemap-parser-b13cd0c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automatom.matt-d59.workers.dev](https://www.zero.xyz/host/automatom.matt-d59.workers.dev/llms.txt)
