# ScrapFly Sitemap Crawler

> ScrapFly Sitemap Crawler is a paid API for AI agents from scrapfly.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-24).

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

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/crawl/sitemap?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-sitemap-crawler-af92cd59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6znoBefTJTdLWYQKF7tCg

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-af92cd59 -d '<json body>'
```

Example prompt: Can you fetch the sitemap for https://example.com and give me a list of all the pages they have indexed?

## When to prefer this

Use this endpoint when you need to discover all pages on a website programmatically without manually browsing — ideal for SEO audits, content inventories, competitor analysis, or setting up a crawl pipeline. Prefer this over general web scraping endpoints when the goal is to enumerate a site's full URL structure rather than extract content from individual pages.

## Known failure modes

- URL not provided or malformed — returns success: false
- Target site has no sitemap.xml or robots.txt-referenced sitemap — returns empty or error
- Sitemap is behind authentication or bot protection — may return blocked or empty response
- Network timeout reaching the target URL — returns success: false
- Sitemap is extremely large (millions of URLs) — may truncate or time out

## How this service works

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

## Output

Returns 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 priority values present 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-af92cd59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrapfly.vercel.app](https://www.zero.xyz/host/scrapfly.vercel.app/llms.txt)
