Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man webpage-diff

/webpage-diff

agentutility / web-probe / webpage-diff
PRICE / CALL
$0.04
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
utilities
STATUS
live
NAME
webpage-diff detects changes on a webpage: fetches a url, strips html to plain text, computes a sha-256 hash, and (when given a previous hash or text)…
SYNOPSIS
POST https://x402.agentutility.ai/webpage-diff
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Detects changes on a webpage: fetches a URL, strips HTML to plain text, computes a SHA-256 hash, and (when given a previous hash or text) returns a changed flag plus added/removed line lists. Optional CSS selector scopes the diff to one region. No login required; follows redirects. Use it as a website change monitor, content diff, page-watch, visualping-style monitor, price-page monitor, status-page watcher, or TOS-policy diff.

INPUTrequest schema
propertytypedescriptionreq?
urlstringPage URL to fetch (http or https). Server follows redirects and reports the final_url.required
previous_hashstringSHA-256 of a prior fetch, hex-encoded. If provided, response.changed compares against this hash.optional
previous_textstringPrior plain-text content from a previous fetch. If provided, response.diff returns added/removed line arrays.optional
selectorstringOptional CSS selector to scope the diff (e.g. 'article', '#price'). When set, only matched element text is hashed and compared.optional
OUTPUTresponse shape
fieldtypedescription
urlstringOriginal URL requested for monitoring.
final_urlstringURL after following redirects to the actual fetched page.
status_codenumberHTTP status code returned by the target server.
current_textstringCleaned plain-text extracted from the page HTML.
current_hashstringSHA-256 hash of the cleaned text for fast change detection.
char_countnumberLength of the cleaned text in characters.
selectorstringCSS selector used to scope extraction, or empty if full page was used.
changedbooleanTrue when the current hash differs from the previous hash passed in.
diffobjectObject with added and removed line arrays comparing current text to previous text.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/webpage-diff \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the webpage-diff tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
diffmonitorchange-detectionscrapehtml
methods
POST
cluster
webprobe
price
$0.04 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
answer-webAnswers natural-language questions with live web research, returning a synthesized answer with inline [N] citations and the source URLs.$0.04
arxiv-summarizearXiv paper summarizer / research-paper TLDR.$0.04
rss-from-anythingRSS feed generator / HTML to RSS converter.$0.04
scrapeScrape any webpage.$0.04
scrape-websiteScrapes any webpage and pulls title, description, canonical URL, OpenGraph + Twitter card metadata, headings, and outbound links from a s…$0.04
screenshotWebsite screenshot / URL to PNG/JPG.$0.04
website-screenshotCaptures a website screenshot from a URL as PNG or JPG.$0.04
arxiv-searcharXiv full-text search.$0.03
SEE ALSO
agentutility · webprobe · x402 · mcp · llms.txt · registry.json · bazaar.x402.org