Start comparison
start_comparisonCompare Site A against Site B on page existence, content and visual regression. Charged upfront in USDC (the 402 challenge names the network): 0.02 USD per page for the first 1000 pages and 0.01 USD per page beyond. maxPages is optional: a ceiling, not a reservation. A job is priced on the pages it compares (the urls list, or the pages discovery finds, at most maxPages), the challenge names the count, and there is no page limit. Poll get_comparison, then get_report (paged with offset and limit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Explicit page pairs to compare; skips discovery and is priced per pair. | |
| maxPages | No | Optional ceiling on the pages compared and charged for. The job is priced on the pages it compares: the urls list, or the pages discovery finds, at most this many. There is no page limit. | |
| sourceUrl | Yes | Site A, the reference site (full URL). | |
| targetUrl | No | Site B, the migrated site. Omit to capture screenshots of Site A only. | |
| threshold | No | Visual diff tolerance as a fraction, 0 (exact) to 1. | |
| sitemapUrl | No | Sitemap to discover pages from. | |
| sourceAuth | No | HTTP basic auth for Site A. | |
| targetAuth | No | HTTP basic auth for Site B. | |
| viewportWidth | No | Capture width in px. |