Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man webpage-diff

/webpage-diff(1)

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 webpage change detection / website monitor / content diff
SYNOPSIS
POST https://x402.org/v1/webpage-diff
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Webpage change detection / website monitor / content diff. Cleans HTML to text + SHA-256 hash. Pass previous hash/text to get added/removed line lists. Price + policy + status-page monitoring.

INPUTrequest schema
propertytypedescriptionreq?
urlstringPage URL to fetch (http or https). Server follows redirects and reports the final_url.required
previous_hashstringSHA-256 hex from a previous call.optional
previous_textstringPrevious cleaned text. Triggers a line diff.optional
selectorstringOptional CSS selector to limit content scope.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.org/v1/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 once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the webpage-diff tool to ..."
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
arxiv-summarizearXiv paper summarizer / research-paper TLDR.$0.04
rss-from-anythingRSS feed generator / HTML to RSS converter.$0.04
scrapeWeb scraper / HTML extractor.$0.04
scrape-websiteWeb scraper / HTML to text / website content extractor.$0.04
screenshotWebsite screenshot / URL to PNG/JPG.$0.04
website-screenshotURL to PNG / JPG / website screenshot tool.$0.04
arxiv-searcharXiv full-text search.$0.03
domain-suggestBrandable domain suggester / startup-name brainstormer / product-name proposer / domain candidate generator.$0.05
SEE ALSO
agentutility(7) · webprobe(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org