Skip to content
Fourohtwo

Page change check

quantagentshop.com/v1/page-change

Page change check. Send a public URL and, optionally, the hash from your last check; returns the SHA-256 of the page's main text (scripts, navigation and spacing ignored) and changed true or false. Nothing is stored here; keep the hash yourself. Use to watch a page cheaply, up to 10 checks of a host a minute. Dates or counters in the text count as changes. To read the page use /v1/fetch-page. Typi

BaseAnswering
POSThttps://quantagentshop.com/v1/page-change

Uptime100% of 1 check in 30 days

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://quantagentshop.com/v1/page-change", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"previous_sha256":"6f48ad30e4cc6be7e1a342177e2b549bc1ca7cbe7b903dd38a92eaf6a829b5ac","url":"https://www.x402.org/"}),
});
console.log(await res.json());

Example input

{
  "previous_sha256": "6f48ad30e4cc6be7e1a342177e2b549bc1ca7cbe7b903dd38a92eaf6a829b5ac",
  "url": "https://www.x402.org/"
}

More from Quant Agent Shop