Skip to content
Fourohtwo

Web tools

rengi.dev/v1/web-tools/visual-diff

Web tools: Visual regression check: screenshot a page and compare it with another URL (preview against production) or with an earlier screenshot. Returns the share of changed pixels, a same/different verdict, boxes around the changes and a diff image. Full schema: https://rengi.dev/v1/web-tools/schema

BaseSolanaUnchecked
POSThttps://rengi.dev/v1/web-tools/visual-diff

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://rengi.dev/v1/web-tools/visual-diff", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"baselineUrl":"https://rengi.dev/samples/page.html","device":"desktop","fullPage":true,"url":"https://rengi.dev/samples/page-v2.html"}),
});
console.log(await res.json());

Example input

{
  "baselineUrl": "https://rengi.dev/samples/page.html",
  "device": "desktop",
  "fullPage": true,
  "url": "https://rengi.dev/samples/page-v2.html"
}

More from Rengi Forge