# x402node Sitemap Fetcher & Parser

> x402node Sitemap Fetcher & Parser is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Fetches and parses a sitemap.xml (including sitemap index files), returning up to 500 URLs with lastmod, changefreq, and priority metadata.

## Facts

- Endpoint: GET https://api.x402node.dev/web/sitemap
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-a3f14d3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_krSFSueMKSGlgk7IFMFEm

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 api-x402node-dev-a3f14d3c
```

Example prompt: Can you fetch and parse the sitemap at https://example.com/sitemap.xml and give me all the URLs along with their last modified dates and priorities?

## When to prefer this

Use this endpoint when you need to programmatically discover all pages of a website, audit SEO sitemap structure, track content freshness via lastmod dates, or feed a site-indexing pipeline. Ideal for AI agents that need to enumerate a site's URL inventory without full crawling. Prefer this over raw HTTP fetches when you need automatic sitemap index resolution and structured metadata extraction.

## Known failure modes

- Sitemap URL not reachable or returns non-200 status — fetch error
- Malformed or non-standard XML in sitemap — parse error
- Sitemap index with more than 500 total URLs — truncation at 500
- URL parameter missing or invalid — bad request error
- Target server blocks or rate-limits the fetch request — timeout or 403

## How this service works

Fetch and parse sitemap.xml. Returns up to 500 URLs with lastmod/changefreq/priority. Auto-detects sitemap index. Built for AI agents indexing sites, tracking content changes, and SEO audit. Use url param Accepts payment on Base or Solana — either network works.

## Output

Returns up to 500 URLs found in the sitemap, each with associated lastmod date, changefreq, and priority values. Automatically handles sitemap index files by detecting and expanding nested sitemaps.

## 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",
     "properties": {
      "url": {
       "type": "string",
       "description": "Target URL (optional)"
      },
      "limit": {
       "type": "string",
       "description": "Max results (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-a3f14d3c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
