{"uid":"cap_LhbQZEU-qM5-d-LKU_5PX","slug":"pagediff-api-wayback-machine-snapshot-differ-f316d434","name":"PageDiff API - Wayback Machine Snapshot Differ","description":"Pay-per-call historical page-change evidence for AI agents. Check Wayback snapshot availability, compare archived pages, and generate structured reports with important changes, impact, risks, and source timestamps.","url":"https://pagediff-api.hahavoid0.workers.dev/diff","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","examples":["2024-01-01"],"description":"Requested later snapshot date in YYYY-MM-DD format."},"url":{"type":"string","examples":["https://example.com/"]},"from":{"type":"string","examples":["2023-01-01"],"description":"Requested earlier snapshot date in YYYY-MM-DD format."}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/","added":["Updated example page content."],"removed":["Original example page content."],"summary":{"added_count":1,"change_level":"low","removed_count":1,"modified_count":0},"modified":[],"to_snapshot":{"digest":"EXAMPLE2","mimetype":"text/html","timestamp":"20240101000000","statuscode":"200","archive_url":"https://web.archive.org/web/20240101000000id_/https://example.com/","original_url":"https://example.com/","requested_date":"2024-01-01"},"from_snapshot":{"digest":"EXAMPLE","mimetype":"text/html","timestamp":"20230101000000","statuscode":"200","archive_url":"https://web.archive.org/web/20230101000000id_/https://example.com/","original_url":"https://example.com/","requested_date":"2023-01-01"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VwlRzTUY5c_41_95K7CPt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two Wayback Machine snapshots of a URL across two dates and returns structured added, removed, and modified text blocks","exampleAgentPrompt":"Can you diff the content of https://www.nytimes.com/ between January 1 2023 and January 1 2024 — I want to see what text was added, removed, or changed on the page across those two Wayback Machine snapshots?","exampleUseCases":[{"title":"Track competitor website strategy shifts","prompt":"Monitor our main competitor's homepage across the last year. Can you grab their page from January 2024 and December 2024 from the Wayback Machine and show me what new messaging or sections they added? I want to know if they're pushing different value propositions or features."},{"title":"Audit regulatory compliance content updates","prompt":"I need to verify that our client's privacy policy page actually changed between March 2023 and March 2024 like they claimed. Can you diff those two Wayback snapshots and give me a clear list of what text they added or removed? Looking for evidence of substantive changes."},{"title":"Investigate historical brand messaging evolution","prompt":"Show me how TechCorp's about-us page evolved over the past two years. Pull snapshots from early 2023 and early 2025, then tell me what new claims or company values they've added to their messaging. I want to understand their pivot in positioning."}],"resultDescription":"A JSON object containing arrays of added, removed, and modified text blocks found between the two Wayback Machine snapshots, plus a summary with counts and a qualitative change_level (e.g. 'low', 'medium', 'high'), and metadata for each snapshot including archive URL, digest, timestamp, MIME type, and HTTP status code.","failureModes":["No Wayback Machine snapshot found near the requested date — returns error or empty snapshot metadata","URL has never been archived by the Wayback Machine — results in missing snapshot data","Date format not YYYY-MM-DD — request may fail or return unexpected results","Target page is behind authentication or returns non-200 status in archive — snapshot may be incomplete","Payment of $0.05 USDC not completed — returns HTTP 402 before processing"],"whenToPreferThis":"Use this endpoint when you need to programmatically detect and extract what text content changed on a specific public web page between two historical dates, leveraging Wayback Machine archives. Ideal for monitoring agents, research tasks, or auditing content changes over time without needing to store page snapshots yourself. Prefer this over generic scraping when you need historical comparison rather than current content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:33:47.309Z","isFirstParty":false}