# BRAINIAC Sitemap Content Index

> BRAINIAC Sitemap Content Index is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-17).

Fetches and parses a website's XML sitemap, returning a structured list of URLs with metadata like last-modified date, priority, and change frequency.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/web-intelligence/sitemap-content-index?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-sitemap-content-index-4f4c8034
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r7-f4lMGhjR40PFrR6X3N

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 brainiac-sitemap-content-index-4f4c8034 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a quick, structured extraction of a website's sitemap without setting up your own crawler or parser. It is ideal for agents performing SEO audits, content discovery, site structure analysis, or competitive research where the starting point is a known sitemap URL. It returns up to 100 entries per call with metadata, making it suitable for lightweight indexing tasks without page-level scraping.

## Known failure modes

- Invalid or unreachable sitemap URL returns an error
- Sitemap larger than 100 entries is truncated with a warning
- Non-XML or malformed sitemap content may cause a parse error
- HTTP errors (404, 403, 500) from the target site are reflected in the httpStatus field
- Redirect loops or timeout on the remote sitemap URL

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object containing the kind of sitemap (urlset or sitemapindex), an array of URL entries each with loc, lastmod, priority, and changefreq fields, source metadata including where and when the sitemap was retrieved, the final resolved URL after redirects, HTTP status, content type, any warnings (e.g. truncation at 100 URLs), and a truncated flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sitemapUrl": {
   "type": "string",
   "pattern": "^https?:\\/\\/\\S+$",
   "maxLength": 2000,
   "minLength": 8
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "urlset",
  "entries": [
   {
    "loc": "https://example.com/",
    "lastmod": "2026-11-01",
    "priority": "0.8",
    "changefreq": "weekly"
   }
  ],
  "sources": [
   {
    "url": "https://www.sitemaps.org/sitemap.xml",
    "source": "Public HTTP response",
    "retrievedAt": "2026-11-02T18:00:00.000Z"
   }
  ],
  "finalUrl": "https://www.sitemaps.org/sitemap.xml",
  "warnings": [
   "Only the first 100 URLs are returned."
  ],
  "entryKind": "page",
  "truncated": false,
  "httpStatus": 200,
  "contentType": "application/xml",
  "limitations": [
   "Listed page URLs are not fetched. Metadata is only what each sitemap entry contained."
  ],
  "retrievedAt": "2026-11-02T18:00:00.000Z",
  "requestedUrl": "https://www.sitemaps.org/sitemap.xml"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-sitemap-content-index-4f4c8034/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
