# x402helper Sitemap Fetcher

> x402helper Sitemap Fetcher is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-31).

Fetches and parses a website's sitemap XML via a micropayment-gated x402 endpoint, returning structured sitemap data for a given site or sitemap URL.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/sitemap?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402helper-sitemap-fetcher-eb5b89fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zzRt1n_hYFbccizGontd_

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 x402helper-sitemap-fetcher-eb5b89fd
```

Example prompt: Can you fetch and parse the sitemap for https://example.com and give me a list of all the pages indexed there?

## When to prefer this

Use this endpoint when you need to programmatically discover all pages of a website via its sitemap, especially in an agent workflow that needs to enumerate site structure without full crawling. It is ideal when you have a root domain or direct sitemap URL and want structured URL extraction with minimal cost ($0.004 USDC per call). Prefer this over full web crawlers when sitemap coverage is sufficient and speed matters.

## Known failure modes

- Site has no sitemap.xml and root URL does not expose one — returns empty or error result
- Invalid or unreachable URL — network timeout or 404
- Sitemap is malformed XML — parse failure
- USDC payment rejected or insufficient — 402 Payment Required blocks the request
- URL points to a non-sitemap resource — unexpected content type

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object containing parsed sitemap data including a list of URLs and associated metadata (e.g. last modified dates, priority, change frequency) extracted from the site's sitemap XML. Returns {success: true, result: {...}} on success.

## 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",
       "default": null,
       "description": "Site root URL or a direct sitemap .xml URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402helper-sitemap-fetcher-eb5b89fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
