{"uid":"cap_V2emYjVMrhDx5YiZCgR0o","slug":"pagediff-api-batch-historical-page-change-report-d8bfbf0f","name":"PageDiff API - Batch Historical Page-Change Report","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/batch-report","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","required":["url","from","to"],"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."},"report_type":{"enum":["pricing_intelligence","policy_change","competitor_positioning","docs_drift","legal_terms_change","general"],"type":"string","default":"general"}}},"maxItems":5,"minItems":1},"report_type":{"enum":["pricing_intelligence","policy_change","competitor_positioning","docs_drift","legal_terms_change","general"],"type":"string","default":"general"}}},"responseSchema":{"type":"json","example":{"reports":[{"url":"https://example.com/","summary":"Compared 20230101000000 to 20240101000000. Change level: low. Added: 1. Removed: 1. Modified: 0.","headline":"2 archived text changes detected for pricing intelligence.","json_url":"https://pagediff-api.hahavoid0.workers.dev/reports/r_example.json","report_id":"r_example","confidence":"medium","report_url":"https://pagediff-api.hahavoid0.workers.dev/reports/r_example","risk_notes":["Results depend on Internet Archive snapshot availability and quality.","JavaScript-rendered, authenticated, or poorly archived content may be incomplete.","This report is machine-generated evidence triage, not legal advice or certified web capture."],"next_action":"Review the source snapshots, then run /report on adjacent dates or related pages to isolate when the change first appeared.","report_type":"pricing_intelligence","diff_summary":{"added_count":1,"change_level":"low","removed_count":1,"modified_count":0},"source_snapshots":{"to":{"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":{"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"}},"commercial_impact":["Review packaging, limits, trial language, and enterprise call-to-action changes before updating competitive positioning.","If pricing language changed, treat this as a signal to inspect sales motion, margin pressure, or segmentation changes."],"important_changes":["Added: Updated example page content.","Removed: Original example page content."]}],"batch_id":"b_example","failures":[],"json_url":"https://pagediff-api.hahavoid0.workers.dev/batches/b_example.json","batch_url":"https://pagediff-api.hahavoid0.workers.dev/batches/b_example","report_count":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2","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":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tvhZR17fYjMH-i7w6omSA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and compares Wayback Machine snapshots of up to 5 URLs across date ranges, returning structured change reports with summaries, risk notes, commercial impact, and source timestamps.","exampleAgentPrompt":"Can you pull a pricing intelligence report comparing Stripe's pricing page from January 1 2023 to January 1 2024, and also check Twilio's pricing page over the same period — I want to know what changed, what was added or removed, and any commercial impact notes.","exampleUseCases":null,"resultDescription":"Returns a batch of structured change reports — one per URL — each including: a headline and summary of detected changes, counts of added/removed/modified text blocks, the actual Wayback archive URLs used, a confidence level, risk caveats, commercial impact observations, and a recommended next action. Also includes a batch-level JSON URL for full detail.","failureModes":["Wayback Machine has no snapshot near the requested date — snapshot not found or falls back to nearest available","Target page was JavaScript-rendered or authenticated, resulting in incomplete or missing content","Low confidence score due to sparse archiving of the target URL","URL unreachable in archive — appears in failures array with reason","Rate or batch limit exceeded (maxItems is 5)","Network timeout reaching the Wayback Machine CDX or content endpoints"],"whenToPreferThis":"Use this endpoint when you need historical evidence of what changed on a specific web page between two known dates — especially for pricing intelligence, policy tracking, legal terms audits, or competitive positioning research. Prefer it over live scraping when you need a point-in-time comparison backed by archived source timestamps. Best when Wayback Machine coverage of the target domain is known to be good.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:35:09.660Z","isFirstParty":false}