# Sitemap Validator & Health Checker

> Sitemap Validator & Health Checker is a paid API for AI agents from api.webbersites.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Finds, validates, and health-checks a website's XML sitemap — including discovery via robots.txt, index handling, lastmod validation, and dead-link sampling

## Facts

- Endpoint: GET https://api.webbersites.com/api/seo/sitemap-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitemap-validator-health-checker-22d85815
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mrglt9DTpb3qOa0IGGJPk

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-validator-health-checker-22d85815
```

Example prompt: Can you check whether example.com has a valid sitemap — find it automatically if it's not obvious, validate the entries and lastmod dates, and spot any dead links or cross-host URLs in it?

## When to prefer this

Use this endpoint when you need to validate the full sitemap pipeline for a site — including automatic discovery, index traversal, lastmod correctness, and live URL sampling — rather than just fetching a known sitemap URL manually. Ideal for SEO audits, site health monitoring, and pre-launch technical checks.

## Known failure modes

- Site has no sitemap and robots.txt gives no hint — found:false returned
- Sitemap URL is inaccessible or returns 4xx/5xx — connection error reported
- Extremely large sitemap index with thousands of child sitemaps may time out
- robots.txt itself is unreachable — discovery falls back to /sitemap.xml probe
- Malformed XML in sitemap causes parse failure

## How this service works

Sitemap validator: finds the sitemap (direct URL, robots.txt declaration, or /sitemap.xml), handles sitemap indexes, validates entries and lastmod dates, flags cross-host URLs and oversize files, and health-checks a sample of listed URLs for dead pages. ?url=site root or sitemap URL

## Output

Returns whether a sitemap was found, the sitemap URL discovered, a verdict string summarizing overall health, total URL count, flags for cross-host URLs and oversize files, and a sample_health array showing which listed URLs are live or returning errors.

## 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",
       "description": "Site root or direct sitemap URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "found": {
       "type": "boolean"
      },
      "verdict": {
       "type": "string"
      },
      "url_count": {
       "type": "number"
      },
      "sitemap_url": {
       "type": "string"
      },
      "sample_health": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "urlset",
  "found": true,
  "verdict": "good",
  "url_count": 342,
  "sitemap_url": "https://example.com/sitemap.xml",
  "with_lastmod": 342,
  "sample_health": [
   {
    "ok": true,
    "url": "https://example.com/",
    "status": 200
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitemap-validator-health-checker-22d85815/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webbersites.com](https://www.zero.xyz/host/api.webbersites.com/llms.txt)
