# ScrapFly Sitemap Crawler

> ScrapFly Sitemap Crawler is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-15).

Fetches and parses the XML sitemap of a given URL, returning all discovered page URLs and metadata.

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/crawl/sitemap
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-sitemap-crawler-6f78a014
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pKJvuMzVAn4zF4JKs2iw5

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 scrapfly-sitemap-crawler-6f78a014 -d '<json body>'
```

Example prompt: Can you crawl the sitemap for https://example.com and give me a list of all the pages it indexes?

## When to prefer this

Use this endpoint when you need to discover all pages on a website quickly without crawling individual pages. Ideal for SEO audits, content inventories, competitor research, or seeding a content pipeline. Prefer this over full-site crawling when you only need the URL list rather than page content, as it is faster and cheaper.

## Known failure modes

- URL does not have a sitemap (404 on sitemap.xml) — success may be false or data empty
- Invalid or malformed URL input — likely returns success: false
- Website blocks crawlers via robots.txt or rate limiting — may return empty or error response
- Sitemap is dynamically generated and not accessible — data may be incomplete
- Network timeout on large or slow-loading sitemaps

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing the parsed sitemap entries, including all discovered page URLs and any associated metadata such as last-modified dates, change frequencies, or priorities found in the sitemap XML.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "url"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapfly-sitemap-crawler-6f78a014/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scravfly.vercel.app](https://www.zero.xyz/host/scravfly.vercel.app/llms.txt)
