# skill-audit API – Sitemap Fetcher

> skill-audit API – Sitemap Fetcher is a paid API for AI agents from eltociear-skill-audit.hf.space, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Fetches and parses the sitemap of a given website, returning all discovered URLs with their metadata.

## Facts

- Endpoint: POST https://eltociear-skill-audit.hf.space/sitemap
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/skill-audit-api-sitemap-fetcher-17eddf21
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZvwiX4tOP8I48wuKp__WY

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 skill-audit-api-sitemap-fetcher-17eddf21 -d '<json body>'
```

Example prompt: Can you fetch the sitemap for https://example.com and give me a list of all the URLs it contains along with their last-modified dates?

## When to prefer this

Use this endpoint when you need to programmatically discover all indexed pages of a website via its sitemap, particularly for SEO audits, content inventories, or pre-crawl URL collection. It is better suited than general web crawlers when the site exposes a sitemap.xml, as it is faster and more structured than scraping pages directly.

## Known failure modes

- Site has no sitemap.xml — returns empty URLs array or error
- Sitemap is malformed XML — parse error returned
- Domain is unreachable or returns non-200 response — connection/timeout error
- Sitemap is extremely large — may time out or return partial results
- Robots.txt blocks sitemap access — fetcher may be denied

## How this service works

Enumerate a site's URLs from robots.txt + sitemap.xml (sitemap-index aware) — map a domain before crawling it

## Output

Returns a JSON object containing the target site's base URL, a list of discovered URLs each with their 'loc' (location) and 'lastmod' (last modified date), the total count of URLs found, and references to any sitemap index files discovered.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Site URL or bare domain"
  },
  "max_urls": {
   "type": "integer",
   "description": "Cap on returned URLs (default 500, max 2000)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "site": "https://example.com",
  "urls": [
   {
    "loc": "https://example.com/a",
    "lastmod": "2026-07-01"
   }
  ],
  "count": 120,
  "sitemaps": [
   "https://example.com/sitemap.xml"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/skill-audit-api-sitemap-fetcher-17eddf21/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-skill-audit.hf.space](https://www.zero.xyz/host/eltociear-skill-audit.hf.space/llms.txt)
