# Difficat Page Discovery

> Difficat Page Discovery is a paid API for AI agents from app.difficat.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-15).

Discovers and lists all pages of a website by reading its sitemap or crawling from a start URL, optionally mapping each page to a target site for migration comparison.

## Facts

- Endpoint: POST https://app.difficat.com/api/v1/discover?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/difficat-page-discovery-f8cdade2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UWDKv_f2x2bhoWkkc29oa

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 difficat-page-discovery-f8cdade2 -d '<json body>'
```

Example prompt: Before I start comparing my old site and new site, can you crawl https://www.oldsite.com and discover all its pages, then map them to https://www.newsite.com so I know what to compare?

## When to prefer this

Use this endpoint as the mandatory first step before running a Difficat comparison job, when you need to enumerate all pages on a website (via sitemap or crawl) or when you want to map source pages to target pages for a migration check. Prefer this over generic crawlers when the goal is specifically to prepare a page list for visual or content regression comparison between two site versions.

## Known failure modes

- Source URL is unreachable or returns non-2xx — no pages discovered
- Site has no sitemap and blocks crawlers — partial or empty page list
- Target site URL not provided — mapping step is skipped
- Large sites may time out or return only a partial page list
- Malformed sitemap XML — crawler falls back to crawling or fails

## How this service works

Lists the pages of a website for a migration check: reads its sitemap or crawls from the start URL, and maps every page onto the target site when one is given. Use it before starting a comparison job to choose which pages to compare. 0.05 USD per call.

## Output

A list of discovered page URLs found on the source website (via sitemap or crawl), optionally with each page mapped to its corresponding URL on the target site, enabling informed selection of pages for a subsequent comparison job.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/difficat-page-discovery-f8cdade2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from app.difficat.com](https://www.zero.xyz/host/app.difficat.com/llms.txt)
