# Aayat AI Sitemap Reader

> Aayat AI Sitemap Reader is a paid API for AI agents from aayatai.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-29).

Fetches and parses the sitemap of any website, returning a list of URLs with last-modified dates, robots.txt rules, and sitemap metadata

## Facts

- Endpoint: GET https://aayatai.com/sitemap?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-sitemap-reader-34d879da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SdtS1T9nQ460_JXVkRuBG

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 aayat-ai-sitemap-reader-34d879da
```

Example prompt: Can you fetch the sitemap for https://docs.example.com and list all the URLs under the /api/ path, up to 200 URLs?

## When to prefer this

Use this endpoint when you need to enumerate the pages of a website quickly without full crawling, especially when you want to respect robots.txt rules, check sitemap freshness via lastmod, or filter URLs by path prefix. Prefer over a full web crawler when you only need structure and discovery, not page content.

## Known failure modes

- Site has no sitemap.xml or robots.txt — returns empty sitemaps array and status 'none'
- URL is unreachable or returns non-200 — robots status set to 'unreachable'
- Deeply nested sitemaps exceed fetch cap — unreadSitemaps count will be non-zero
- Invalid URL format for the url query parameter — request rejected
- Path filter returns zero matching URLs — empty urls array with non-zero total

## How this service works

Pay-per-use data and tools for AI agents: crypto token safety, prices and wallets, an LLM gateway, web search and documents to Markdown, library docs, package safety and AI model prices for coding agents, company research, news, UK/EU open data and an x402 market guide. Pay per call in USDC on Base or Solana with x402. No account or API key.

## Output

A JSON object containing the site URL, an array of discovered URLs with optional lastmod dates, a count of returned URLs, the total found before filtering, a list of sitemaps read, the number of unread nested sitemaps, a robots.txt status object (allow/disallow rules, crawl delay, sitemap locations), and a fetchedAt timestamp.

## 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",
       "format": "uri",
       "maxLength": 2048,
       "description": "Any address on the site, e.g. https://example.com."
      },
      "path": {
       "type": "string",
       "maxLength": 300,
       "description": "Only return pages under this path, e.g. /blog/."
      },
      "limit": {
       "type": "integer",
       "default": 500,
       "maximum": 2000,
       "minimum": 1,
       "description": "Most URLs to return."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "site",
      "urls",
      "count",
      "total",
      "sitemapsRead",
      "robots"
     ],
     "properties": {
      "site": {
       "type": "string"
      },
      "urls": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "lastmod": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      },
      "count": {
       "type": "integer"
      },
      "total": {
       "type": "integer",
       "description": "URLs found before the path filter and limit."
      },
      "robots": {
       "type": "object",
       "description": "robots.txt status (ok/none/unreachable), sitemaps, and the Allow/Disallow rules that apply to us."
      },
      "fetchedAt": {
       "type": "string"
      },
      "sitemapsRead": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "unreadSitemaps": {
       "type": "integer",
       "description": "Nested sitemaps not read because of the per-call fetch cap."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "site": "https://example.com",
  "urls": [
   {
    "url": "https://example.com/about",
    "lastmod": "2026-09-01"
   }
  ],
  "count": 1,
  "total": 1,
  "robots": {
   "allow": [],
   "status": "ok",
   "disallow": [
    "/admin"
   ],
   "sitemaps": [
    "https://example.com/sitemap.xml"
   ],
   "crawlDelay": null
  },
  "fetchedAt": "2026-09-28T12:00:00.000Z",
  "sitemapsRead": [
   "https://example.com/sitemap.xml"
  ],
  "unreadSitemaps": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-sitemap-reader-34d879da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
