The Internet Archive's Wayback Machine
The foundational pillar of web archiving. An exhaustive guide to its capabilities, limitations, and APIs.
Overview
Operated by the non-profit Internet Archive in San Francisco, the Wayback Machine (launched in 2001) is the largest digital archive in existence, holding over 866 billion web pages.
Unlike archive.today which focuses on high-fidelity, user-driven captures of single pages, the Wayback Machine relies on massive automated crawls (often utilizing data from Common Crawl or Alexa) to vacuum up the web.
Technical Limitations
While invaluable, the Wayback Machine has specific technical limitations that archivists must understand:
1. The JavaScript Problem
The Wayback Machine primarily archives the static HTML payload and associated assets (CSS, images). It historically struggled with Single Page Applications (SPAs) built on React, Angular, or Vue that require client-side execution to render content.
If a page requires a user to scroll to trigger lazy-loading, or click a button to fetch data via XHR, the automated crawler likely missed it. For these scenarios, Webrecorder is a superior tool.
2. robots.txt Adherence
Historically, if a site owner added a Disallow: / directive to their robots.txt file, the Internet Archive would not only stop crawling the site, but would retroactively hide past captures from public view.
This policy was modified in 2017, but the Wayback Machine remains much more deferential to site owner requests than other archives.
API Integration
The Wayback Machine offers several APIs for developers. The most useful for preventing link rot is the Availability API.
GET https://archive.org/wayback/available?url=example.com
Response:
{
"archived_snapshots": {
"closest": {
"status": "200",
"available": true,
"url": "http://web.archive.org/web/20130919044612/http://example.com/",
"timestamp": "20130919044612"
}
}
}
The Save Page Now API
You can programmatically request the Wayback Machine to capture a page right now. This is crucial for integrating archiving into publishing workflows.
POST https://web.archive.org/save/https://example.com
Note: This requires authentication via S3 keys provided by the Internet Archive for high-volume use.
Frequently Asked Questions
Why are images missing from older captures?
The crawler captures the HTML first, then queues the assets (images, CSS) for download later. If the site went offline before the asset crawler finished, or if the images were hosted on a third-party CDN that blocked the crawler, the HTML will be saved but the images will be broken.
Can a site owner demand removal?
Yes. The Internet Archive processes DMCA takedown requests and standard removal requests. Once removed, the URL returns a "This URL has been excluded from the Wayback Machine" error.