{"uid":"cap_EJxlOAJnuzFv5lgJ1-2JU","slug":"sitecheck-web-archive-lookup-186fb743","name":"SiteCheck Web Archive Lookup","description":"Wayback Machine snapshots of a public URL: the capture closest to a date, the list of captures in a date range (one per day, max 500), first and last capture, and mode=diff, which compares the latest snapshot's text with the live page (added and removed lines, max 200 each). Diff is line-based and does not parse JavaScript-rendered pages.","url":"https://api.sitecheck-api.workers.dev/api/web/archive?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"to":{"type":"string","description":"Captures up to this date, YYYY-MM-DD (optional)"},"url":{"type":"string","description":"Public http(s) URL to look up"},"date":{"type":"string","description":"Closest snapshot to this date, YYYY-MM-DD (optional)"},"from":{"type":"string","description":"Captures from this date, YYYY-MM-DD (optional)"},"mode":{"type":"string","description":"captures (default) or diff"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/","last":"2007-08-14","first":"2002-01-20","source":"Internet Archive Wayback Machine (archive.org, availability and CDX APIs) — Internet Archive Terms of Use","closest":{"url":"https://web.archive.org/web/20200101231047/https://example.com/","status":"200","timestamp":"20200101231047"},"captures":[{"url":"https://web.archive.org/web/20020120142510/https://example.com/","date":"2002-01-20","status":"200","timestamp":"20020120142510"},{"url":"https://web.archive.org/web/20020328012821/https://example.com/","date":"2002-03-28","status":"200","timestamp":"20020328012821"},{"url":"https://web.archive.org/web/20020524041628/https://example.com/","date":"2002-05-24","status":"200","timestamp":"20020524041628"}],"checkedAt":"2026-10-15T18:26:19.430Z","captureCount":500}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nl4hnF-l8Wd7v7MNTS9k8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves historical snapshots and capture history for a public URL from the Internet Archive Wayback Machine","exampleAgentPrompt":"Can you pull up the archive history for https://example.com and show me all snapshots captured between 2010-01-01 and 2015-12-31?","exampleUseCases":[{"title":"Recover deleted website content","prompt":"The old product page at https://acmecorp.com/products/widget-pro was taken down — can you find archived snapshots of it from the Wayback Machine so I can see what it said?"},{"title":"Verify when a website launched","prompt":"I need to know when https://openai.com first appeared on the internet — can you check the Wayback Machine and tell me the date of its earliest capture?"},{"title":"Audit a competitor's historic homepage","prompt":"Can you get me archived snapshots of https://competitor.com from around 2018-01-01 so I can see what their homepage looked like back then?"}],"resultDescription":"Returns a JSON object containing the first and last capture dates, total capture count, the closest snapshot to a requested date (with its Wayback Machine URL, HTTP status, and timestamp), a list of individual capture entries (each with URL, date, status, and timestamp), the data source attribution, and a checkedAt timestamp.","failureModes":["URL has never been archived — returns empty captures array or no closest snapshot","Invalid or malformed URL input — request rejected","URL is not publicly accessible or uses non-http(s) scheme — error returned","Date parameters in wrong format (not YYYY-MM-DD) — parsing failure","Internet Archive API unavailable or rate-limited — upstream timeout or error","Very recent URLs may have no captures yet"],"whenToPreferThis":"Use this endpoint when you need to retrieve historical web archive data from the Internet Archive Wayback Machine for a specific URL — including listing all captures over time, finding the closest snapshot to a given date, or filtering captures within a date range. Prefer this over general web scraping tools when the target page no longer exists or has changed, and you need verified historical versions. It is purpose-built for archival research, not live page retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:12.300Z","isFirstParty":false,"canonicalSlug":"sitecheck-web-archive-lookup-186fb743"}