Wayback Machine API - First Seen, Last Seen & Versions avatar

Wayback Machine API - First Seen, Last Seen & Versions

Pricing

$0.90 / 1,000 urls

Go to Apify Store
Wayback Machine API - First Seen, Last Seen & Versions

Wayback Machine API - First Seen, Last Seen & Versions

A page that was never archived is not data, yet it lands as a billed row. This one bills only URLs the archive really holds: earliest snapshot, latest change and the distinct versions, read from the Internet Archive CDX API with no key and no browser.

Pricing

$0.90 / 1,000 urls

Rating

0.0

(0)

Developer

Stas K

Stas K

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

Answers the question SEO audits, link-rot checks and research work actually ask: was this page ever archived, when did it first appear, when did it change last, and which distinct versions exist.

It reads the Internet Archive CDX API. No API key, no proxy, no browser, no HTML parsing.

What you get per URL

fieldmeaning
urlthe URL as the archive sees it, normalized
hostthe host name
firstSnapshotAtwhen the archive first captured this page, inside your window if you set one
firstSnapshotStatusthe HTTP status of that earliest capture
lastSnapshotAtthe newest capture inside your window
versionsReturnedhow many distinct versions are in latestVersions
capturesReadhow many raw captures were read to get them
latestVersionsthe newest versions, each with at, timestamp, url, statusCode, mimeType, digest, lengthBytes
windowFrom, windowTothe date filter you sent, echoed back
partialtrue when the newest versions could not be read and only firstSnapshotAt is filled
sourcewhere the row came from

Versions are collapsed by content digest, so ten identical copies of a page count as one version and the list stays short. The archive collapses only neighbouring captures, and two variants of one page alternate, so the reader pulls up to three times the requested number of captures and keeps the newest capture of each digest. capturesRead says how many raw captures that took.

What you pay for, and what you do not

One url-checked event per URL that the archive really holds history for. The row is written and charged in one call, so a row you paid for is always a row you can download.

These come back free, with a status and a plain reason, and carry no history fields:

statuswhen
NOT_FOUNDthe archive never captured that URL, or nothing inside your date window
INVALID_INPUTnot a public http/https page: no dot in the host, a private or loopback address, another scheme, an empty line
DUPLICATEthe same URL was already sent in this run
NOT_CHECKED_CAPthe run hit maxUrls or the spending limit
NOT_CHECKED_TIMEthe run ran out of time before this line
NOT_CHECKED_ERRORthe archive could not be read
NOT_CHECKED_BILLINGthe price list could not be read, so nothing can be sold

The lowest spending limit you can set per run is $0.05. That is a floor on the cap the buyer sets, not a price you pay to start: ten URLs at the default price cost well under it.

Speed and limits

Two calls per URL, about 0.3 to 3 seconds depending on how deep the archive has to search. maxUrls defaults to 200. maxSnapshotsPerUrl defaults to 20 and caps at 100. A date filter that is not YYYY, YYYYMM, YYYYMMDD or YYYYMMDDhhmmss stops the run before the first request instead of being silently ignored.

What this actor does not do

  • It does not download the archived page bodies. It reports that a capture exists and what its status, MIME type, digest and size are.
  • lengthBytes is the length of the archive's WARC record, not the size of the page as the browser would see it.
  • It does not search by domain or prefix. One URL per line, exactly as the archive indexes them; a domain-wide sweep is a different tool.
  • It does not bypass anything and it does not need to: the CDX API is public.

Run summary

RUN_SUMMARY in the run's key-value store, plus a copy under RUN_SUMMARY-<runId> in the named store wayback-machine-summary, so two simultaneous runs do not overwrite each other. It names delivered, chargedEvents, deliveredUncharged, deliveredUnverified, chargeUncertain, urlsNotFound, stopReason, datasetNote and firstFailure: when the platform cannot confirm a charge, the summary says the outcome is unknown instead of claiming either delivery or a refusal.

Example input

{
"urls": ["example.com", "https://apify.com/pricing", "this-domain-never-existed-xyz-2026.com"],
"maxSnapshotsPerUrl": 20
}

The third line has no snapshots, so it comes back as a free NOT_FOUND row with the reason.

Source: Internet Archive CDX API. This actor is not affiliated with or endorsed by the Internet Archive.