Tools / Wayback Machine History: Site Age, Snapshots & Archived URLs

Wayback Machine History: Site Age, Snapshots & Archived URLs

Use the Internet Archive's official CDX API to get a site's first and last archive date. Input: targets. Output (JSON/CSV): one row per item with type, target, firstSnapshot, lastSnapshot, siteAgeYears, originalUrl, capturedAt, statusCode, mimeType, archiveUrl.

Run it on Apify Store →

What it's for

Example input

{
 "targets": [
  "apify.com",
  "therealtour360.com"
 ],
 "mode": "summary"
}

Example output

{
  "type": "summary",
  "target": "therealtour360.com",
  "archived": true,
  "firstSnapshot": "2024-08-04T09:05:42Z",
  "lastSnapshot": "2025-03-10T20:01:10Z",
  "monthsWithSnapshots": 3,
  "distinctMonthlyVersions": 3,
  "activeMonthsByYear": {
    "2024": 1,
    "2025": 2
  },
  "firstSnapshotUrl": "https://web.archive.org/web/20240804090542/therealtour360.com",
  "lastSnapshotUrl": "https://web.archive.org/web/20250310200110/therealtour360.com",
  "siteAgeYears": 2.2
}

Input reference

FieldTypeNotes
targets requiredarrayDomains or page URLs, e.g. example.com or example.com/pricing.
modestringsummary = one row per target (age, first/last capture, activity); snapshots = capture list of a page; urls = all distinct archived URLs under a domain.
matchTypestringexact page, prefix (path and below), host, or domain (incl. subdomains). 'urls' mode uses domain when exact.
fromstringYYYY-MM-DD (optional).
tostringYYYY-MM-DD (optional).
collapsestringsnapshots mode: digest = only when content changed; timestamp:8 = one per day; timestamp:6 = one per month; none.
statusFilterstringOnly captures with this status (blank = all).
mimeFilterstringe.g. text/html or application/pdf (blank = all).
maxRowsPerTargetintegerCap for snapshots/urls modes.
maxConcurrencyintegerKeep low; the Archive is a nonprofit.

Pricing

Pay per event: Target summary $0.003, Snapshot or URL row $0.0003. Plus Apify's small per-run start fee. Apify's free plan includes monthly credit to try it.

How to run

  1. Open the Store page and click Try for free.
  2. Fill in the input (or paste the example JSON in the JSON tab).
  3. Click Start, then export results as CSV, Excel or JSON, or call it via the Apify API.
  4. Optional: add a Schedule and a webhook/Slack/email integration for ongoing monitoring.

Open Wayback Machine History on Apify →