# ScrapFly Web Page Comparison

> ScrapFly Web Page Comparison is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Fetches and compares the content of two web pages, returning a structured diff or analysis of their differences

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/crawl/compare
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-web-page-comparison-be12b841
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jj8Ya2p-us2cug_ytBhKF

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-web-page-comparison-be12b841 -d '<json body>'
```

Example prompt: Can you compare these two web pages for me and tell me what's different: https://example.com/page-v1 and https://example.com/page-v2?

## When to prefer this

Use this endpoint when you need to programmatically compare the content of two publicly accessible web pages — such as detecting changes over time, comparing competitor pages, or validating content parity. Prefer this over manual scraping + diffing when you want a single API call to handle both fetching and comparison. It is well-suited for competitive intelligence, QA workflows, and change monitoring tasks.

## Known failure modes

- One or both URLs are unreachable or return non-200 status — success: false
- URLs point to pages requiring authentication or bot-blocking — scrape may fail or return partial content
- Malformed or non-string URL inputs — validation error
- Rate limiting or payment failure via x402 — request rejected
- Pages are identical — comparison returns empty or null diff

## How this service works

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

## Output

A JSON object with a success boolean and a data object containing the comparison results — likely including extracted content, structural differences, or textual diffs between the two provided web pages.

## Request schema (JSON Schema)

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

## 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-web-page-comparison-be12b841/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)
