Wayback Machine URLs — all archived pages of a domain avatar

Wayback Machine URLs — all archived pages of a domain

Under maintenance

Pricing

$0.20 / 1,000 archived url or snapshots

Go to Apify Store
Wayback Machine URLs — all archived pages of a domain

Wayback Machine URLs — all archived pages of a domain

Under maintenance

List every URL the Internet Archive has captured for a domain, with first and last capture, status codes, MIME types and archive links, or the snapshot history of one page over time. Official Wayback CDX API, polite pacing, no proxy.

Pricing

$0.20 / 1,000 archived url or snapshots

Rating

0.0

(0)

Developer

Mahé Perrin

Mahé Perrin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Get the list of every URL the Internet Archive has ever captured for a domain, with the date of the first capture, the HTTP status, the content type and a direct link to the archived copy. Or follow one page through time: one row per capture, per day, per month, per year, or only when the content changed.

The Actor uses the official Wayback CDX API (web.archive.org/cdx/search/cdx), the index the Internet Archive publishes for programmatic access. No scraping of archived pages, no proxy, no login. Requests are sent one at a time with a pause between them, and the Actor waits and retries when archive.org asks clients to slow down.

Typical uses

  • SEO migrations and audits: recover the full list of old URLs of a site to build 301 redirects, or find pages that once ranked and now return 404 (statusCodes: ["200"] on the archive, then check them live).
  • Content recovery: find old blog posts, PDFs or product pages (urlContains: "/blog/", mimeTypes: ["application/pdf"]).
  • Security research and bug bounty: list forgotten endpoints, subdomains and parameters of a target domain.
  • Expired domain due diligence: see what a domain hosted before you buy it, and when.
  • Competitive and legal research: prove what a pricing page or terms page said on a given date (mode: urlSnapshots, snapshotFrequency: "changes").

Input examples

All URLs of a domain, HTML pages only, merged across tracking parameters:

{
"mode": "domainUrls",
"targets": ["example.com"],
"matchType": "domain",
"mimeTypes": ["text/html"],
"statusCodes": ["200"],
"dropQueryStrings": true,
"maxResultsPerTarget": 5000
}

History of a page, one row each time its content changed:

{
"mode": "urlSnapshots",
"targets": ["https://example.com/"],
"snapshotFrequency": "changes",
"from": "2015"
}

Output

All-URLs mode (type: "url"), one row per unique URL:

FieldMeaning
url, urlKey, targetarchived address, the archive's canonical key, your entry
firstCapture, firstStatusCode, firstSnapshotUrlfirst time the archive saw it
mimeType, length, digestcontent type, archived size, content fingerprint
lastCapture, lastStatusCode, lastSnapshotUrlfull mode: most recent capture
captureCount, distinctVersions, statusCodesfull mode: how often it was captured, how many different contents, every status seen

Snapshot mode (type: "snapshot"), one row per capture kept:

FieldMeaning
timestamp, statusCode, mimeType, length, digestthe capture
snapshotUrllink to open that capture in the Wayback Machine
changedFromPrevioustrue when the content differs from the previous row

Sample row:

{
"type": "url", "target": "example.com", "url": "http://example.com/",
"urlKey": "com,example)/", "firstCapture": "2002-01-20T14:25:10Z", "firstStatusCode": 200,
"mimeType": "text/html", "length": 1792, "digest": "HT2DYGA5UKZCPBSFVCV3JOBXGW2G5UUA",
"firstSnapshotUrl": "https://web.archive.org/web/20020120142510/http://example.com:80/"
}

Fast or full?

  • Fast (default) asks the archive for one entry per URL. It is quick even on large domains and gives the first capture.
  • Full reads every capture and aggregates them per URL (first and last capture, count, distinct versions, statuses). Popular pages can have hundreds of thousands of captures, so use it with from/to, a prefix scope, or a filter. maxCapturesScanned stops the reading at a safe size and the log tells you when it was reached.

Limits to know

  • The Internet Archive is a non-profit service with limited capacity. The Actor deliberately runs at a modest pace (one request every few seconds, pages of a few thousand entries) and backs off when asked. Very large domains take time; that is the price of being a polite client.
  • When archive.org is overloaded or offline, the Actor retries for a few minutes, then reports the error for that target and moves to the next. Nothing is charged for rows that were not delivered.
  • The archive only knows pages it has crawled. Pages behind logins, excluded by the site owner, or removed at the owner's request are not listed.
  • length is the size of the compressed archived record, not the original page size.

Pricing

Pay per row delivered: $0.0002 per archived URL or snapshot ($0.20 per 1,000). Rows merged by dropQueryStrings and anything filtered out are never charged. Cap any run with maxResults or Apify's maximum charge per run.

Data comes from the Internet Archive's Wayback Machine. Please respect its terms of use, and consider supporting the Internet Archive if this data is valuable to you.