{"uid":"cap_4NZRhgsAGTACzGcRi8PB4","slug":"x402-gateway-webpage-change-detector-54da4667","name":"x402 Gateway Webpage Change Detector","description":"Detect whether a webpage changed. Website change detection and recurring webpage monitoring for price changes, inventory changes, availability changes, documentation updates, policy updates and competitor monitoring. Compare current content with previous_hash or previous_text and return current_hash plus deterministic change status and diffs.","url":"https://x402-gateway-production-1f21.up.railway.app/change?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"selector":{"type":"string"},"previous_hash":{"type":"string"},"previous_text":{"type":"string"},"max_diff_chars":{"type":"integer","maximum":50000,"minimum":1000},"max_text_chars":{"type":"integer","maximum":250000,"minimum":1000},"timeout_seconds":{"type":"integer","maximum":60,"minimum":5},"ignore_selectors":{"type":"array","items":{"type":"string"}},"include_current_text":{"type":"boolean"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/","status":"ready","current_hash":"example","comparison_status":"baseline"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MTZOvuGqLSXKW99EiA2Yr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a webpage, computes a deterministic hash of its content, and returns a diff against a previous version to detect meaningful changes in prices, docs, policies, availability, or competitor pages.","exampleAgentPrompt":"Check if the pricing page at https://example.com/pricing has changed since my last check — use the previous hash 'abc123def456' and only look at the .pricing-table section, ignoring the .ads div.","exampleUseCases":[{"title":"Competitor price monitoring","prompt":"Check whether the pricing page at https://competitor.com/pricing has changed since last week — compare against hash 'e3b0c44298fc' and only scan the .price-card section, ignoring the nav and footer."},{"title":"Terms of service change alert","prompt":"Has the terms of service page at https://platform.com/legal/tos changed at all? Here's the previous hash: 'da39a3ee5e6b' — show me what's different if there are any changes."},{"title":"Product availability tracking","prompt":"Check if the product page at https://store.example.com/product/widget-pro is showing any new availability or stock info — compare against this previous text snapshot and tell me what changed, focusing on the .stock-status section."}],"resultDescription":"Returns a structured response containing a deterministic hash of the current page content, a boolean indicating whether content changed, a character-level diff showing what was added or removed relative to the previous version, and optionally the full current extracted text — all filtered to the specified CSS selector if provided.","failureModes":["URL unreachable or returns non-200 status — endpoint returns error with HTTP status code","Timeout exceeded (configurable 5–60 seconds) if the target page loads slowly","Invalid CSS selector causes empty content extraction","Previous hash or text mismatch results in full diff returned","max_diff_chars or max_text_chars limits truncate large page content"],"whenToPreferThis":"Choose this endpoint when you need deterministic, hash-based change detection on a specific webpage or a CSS-targeted section of it — especially for price monitoring, policy tracking, documentation updates, or competitor intelligence. Unlike generic scrapers, it provides structured diffs and hashes designed for automated comparison workflows, making it ideal for agents that need to decide 'has this changed?' without storing full page snapshots themselves.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T21:43:37.561Z","isFirstParty":false,"canonicalSlug":"x402-gateway-webpage-change-detector-54da4667"}