{"uid":"cap__pIs16nmHGBB08rZB_Gkx","slug":"agentread-compare-a7ecf94c","name":"agentread /compare","description":"Read a URL your own fetch failed on and get the page text back, or a verdict explaining why it cannot be read. Built for agents that just got a 403, 429, empty body or JS shell.","url":"https://agentread.midi-thumb.workers.dev/compare?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"],"properties":{"type":{"const":"http"},"method":{"const":"POST"}},"additionalProperties":true},"output":{"type":"object","additionalProperties":true}}},"responseSchema":{"type":"json","example":{"same":false,"added_count":2,"removed_count":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DukjGWTZdK-UTWhvsCC5i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two fetched versions of a URL and returns a diff summary showing what content was added or removed between them.","exampleAgentPrompt":"I fetched that product page twice and something changed — can you compare the two versions and tell me what was added or removed?","exampleUseCases":[{"title":"Monitoring paywalled article updates","prompt":"I grabbed that news article yesterday and again today but my own fetch is unreliable — compare the two versions and tell me how many paragraphs were added or removed."},{"title":"Tracking competitor pricing page changes","prompt":"I have two fetches of our competitor's pricing page from last week and today — run a compare and tell me what content changed between them."},{"title":"Detecting removed content on a JS-heavy site","prompt":"That JavaScript-heavy product listing page returned an empty body when I tried to fetch it — can you compare the two snapshots I got and tell me if any items were removed?"}],"resultDescription":"A JSON object with a 'same' boolean indicating whether the two pages are identical, an 'added_count' integer for newly added content blocks, and a 'removed_count' integer for removed content blocks. On failure, returns a verdict explaining why the comparison could not be completed.","failureModes":["URL unreachable or blocked — returns a verdict string explaining the access failure","Invalid or missing 'input' object — returns a 400-level error","Both fetches return empty bodies due to JS rendering — diff may show 0 changes incorrectly","Payment not included or insufficient — returns 402 requiring $0.02 USDC via x402"],"whenToPreferThis":"Use this endpoint when you need to compare two fetched states of a webpage that your own HTTP client struggled to retrieve, particularly for pages behind 403/429 guards, JavaScript shells, or anti-bot measures. Prefer it over generic diff utilities when the target URL is a live web page requiring special fetch handling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:44.872Z","isFirstParty":false,"canonicalSlug":"agentread-compare-a7ecf94c"}