Wayback Machine API: Site History & Snapshots avatar

Wayback Machine API: Site History & Snapshots

Pricing

from $1.05 / 1,000 snapshots

Go to Apify Store
Wayback Machine API: Site History & Snapshots

Wayback Machine API: Site History & Snapshots

Wayback Machine (Internet Archive) data for many sites at once: first and last capture, captures per year, gaps, page versions with dates and status codes, all archived URLs of a domain. Wayback Machine scraper and CDX API alternative, JSON, no API key.

Pricing

from $1.05 / 1,000 snapshots

Rating

0.0

(0)

Developer

WRTLabs

WRTLabs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Features

Limited permissions

Share

Wayback Machine History: Site Summary, Snapshots & URLs

Get the Internet Archive Wayback Machine history of many websites in one run, as clean JSON:

  • Summary per site: when the site was first and last archived, how many days were captured per year, which years are missing, the longest gap, the last HTTP status, and links into the archive.
  • Snapshots: every version of a page (by default only captures where the content changed), with date, HTTP status, content type, size and a direct snapshot link.
  • Archived URLs: every URL of a domain the archive has ever seen, with its first capture date.

Data comes from the Wayback Machine's public CDX index. No API key, no login, and no personal data (see "How it behaves").

What you get

Summary mode, one row per site (real run, 2026-11-07, trimmed):

{
"record_type": "summary",
"target": "apify.com",
"archived": true,
"first_capture": "2007-05-31",
"last_capture": "2026-11-04",
"capture_days": 1158,
"years_with_captures": 18,
"missing_years": ["2009", "2010"],
"capture_days_per_year": {"2007": 3, "2008": 1, "2011": 3, "...": "...", "2026": 111},
"longest_gap_days": 874,
"longest_gap_from": "2008-09-19",
"longest_gap_to": "2011-02-10",
"last_status_code": 200,
"first_snapshot_url": "https://web.archive.org/web/20070531101538/apify.com",
"calendar_url": "https://web.archive.org/web/*/apify.com"
}

Snapshots mode, one row per page version:

{
"record_type": "snapshot",
"target": "apify.com/pricing",
"url": "https://apify.com/pricing",
"captured_at": "2023-01-29T23:10:04Z",
"status_code": 200,
"mime_type": "text/html",
"length_bytes": 26863,
"digest": "UISCCCKKCX2ZYSBM6HBEYHZOWEOPRS7S",
"snapshot_url": "https://web.archive.org/web/20230129231004/https://apify.com/pricing",
"raw_snapshot_url": "https://web.archive.org/web/20230129231004id_/https://apify.com/pricing"
}
FieldMeaning
record_typesummary, snapshot or url
targetthe site / page / prefix from your input
first_capture, last_captureSummary: first and last day the archive captured the page. Archived URLs: first_capture = first capture of that URL
capture_days, capture_days_ok, capture_days_per_yeardays with at least one capture (in total, with HTTP 200, per year)
missing_years, longest_gap_days (+ _from, _to)years without any capture between the first and the last; the longest stretch without a capture
url, url_keythe archived URL and the archive's normalised key
captured_at, timestampcapture time (UTC)
status_code, mime_type, length_bytes, digestas recorded by the archive; same digest = same content
snapshot_url, raw_snapshot_urlthe capture in the Wayback Machine (with / without the archive toolbar)
licence, licence_url, attributionsource terms, on every row

Each run also saves RUN_REPORT (requests, records delivered, whether the run finished) and WAYBACK_REPORT (sites read, sites refused with the reason, URLs withheld).

Input

OptionDefault
Websites or pages-example.com, https://example.com/pricing, or a prefix example.com/blog/*
What to getSummary per sitesummary, snapshots or urls
MatchAutoexact URL (summary, snapshots) or domain + subdomains (archived URLs); or choose prefix / host / domain
From / Toall time2019, 2019-05 or 2019-05-31
Only content changesonsnapshots: one row per page version instead of every capture
HTTP status codes, Content typesalle.g. 200; text/html, application/pdf
URL keywordsallkeep URLs that contain a word, e.g. pricing
Max results per siteno limitso one huge domain does not use the whole run
Max results1000 (form starts at 50)hard stop, so you control cost
Only new since last runoffwith a schedule: only new snapshots / URLs, a summary only when the site has new captures

Typical uses

  • Domain due diligence: is a domain you want to buy really 15 years old, or did it go dark for years? Summary mode on a list of domains.
  • SEO and site migrations: every URL a site ever had (archived URLs mode, status 200, text/html) to build a redirect map or recover lost pages.
  • Competitor and compliance history: every version of a pricing, terms or product page with dates and links, to open the versions you care about.

Pricing

Pay per result (see the Pricing tab): site summary $0.004, snapshot row $0.0015, archived URL row $0.002. You pay only for rows delivered to your dataset; the Actor stops at your max cost per run.

How it behaves

  • Honest pace. One request at a time with a short pause, with an identifying user agent and no proxies: the Internet Archive is a non-profit and drops connections under parallel load. One request returns up to 2,000 rows, so 10,000 snapshots take a few minutes. A site summary takes from a few seconds to about 30 seconds for sites with thousands of archived days (2 sites in our test: 32 s).
  • Metadata only. We return what the archive's index says about each capture and links to it, not the archived pages themselves.
  • No personal data. Archived URLs that may point at a person (an email address or phone number in the URL, or a person page such as /team/jane-doe, /author/..., /~user/) are left out and counted in WAYBACK_REPORT. Social networks, profile and blog hosts and people-search sites (Facebook, LinkedIn, X, Instagram, GitHub, WordPress.com, Blogspot, ...), whole country domains and IP addresses are not accepted as targets. This is a rule set, not a guarantee.
  • Every record is checked against the output schema before delivery. Broken records are dropped (you are not charged for them). If more than 5% fail, the run is marked Failed.

Data source and terms

Capture metadata from the Internet Archive Wayback Machine (https://web.archive.org/). The archive's own Terms of Use apply to your use of the archive and of the archived pages you open through the snapshot links. You are responsible for making sure your use of the data and of the archived pages complies with those terms and with the law that applies to you. The Internet Archive is a non-profit library; consider donating if this data is useful to you.

This Actor is not affiliated with or endorsed by the Internet Archive.