# Cerawal Compare

> Cerawal Compare is a paid API for AI agents from cerawal.vercel.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-13).

Fetches and compares the content of two web pages side-by-side, returning a structured comparison result

## Facts

- Endpoint: POST https://cerawal.vercel.app/api/compare
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cerawal-compare-e512f0d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WDUajyBu3YUfbQzFIm-OF

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 cerawal-compare-e512f0d3 -d '<json body>'
```

Example prompt: Compare the content of these two pages for me — https://example.com/product-a and https://example.com/product-b — and tell me what's different between them.

## When to prefer this

Use this endpoint when you need to programmatically compare the content of two specific web pages without managing authentication or subscriptions — ideal for competitive analysis, price comparison, or detecting content differences between two URLs. Pay-per-use x402 model means no upfront commitment.

## Known failure modes

- One or both URLs are unreachable or return non-200 status
- Invalid or malformed URL provided for urlA or urlB
- Payment via x402 fails or USDC balance insufficient
- Timeout fetching one or both URLs
- Required fields urlA or urlB missing from request body

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing the structured comparison of the two scraped web pages.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cerawal-compare-e512f0d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerawal.vercel.app](https://www.zero.xyz/host/cerawal.vercel.app/llms.txt)
