{"name":"webpage-diff","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.","price":"$0.04","method":"POST","input_schema":{"properties":{"url":{"type":"string","description":"Page URL to fetch (http or https). Server follows redirects and reports the final_url."},"previous_hash":{"type":"string","description":"SHA-256 of a prior fetch, hex-encoded. If provided, response.changed compares against this hash."},"previous_text":{"type":"string","description":"Prior plain-text content from a previous fetch. If provided, response.diff returns added/removed line arrays."},"selector":{"type":"string","description":"Optional CSS selector to scope the diff (e.g. 'article', '#price'). When set, only matched element text is hashed and compared."}},"required":["url"]},"input_example":{"url":"https://example.com","previous_hash":"abc123..."},"output_example":{"url":"https://example.com","final_url":"https://example.com/","status_code":200,"current_text":"Example Domain\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\nLearn more","current_hash":"feb057ddba5ac313506909af05c17370808a81030f057346499d045c25534dbf","char_count":127,"selector":null,"changed":true,"diff":null},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}