The Internet Archive’s Wayback Machine stores 1 trillion+ web page captures across 99 petabytes of data, archiving roughly 498 million pages per day. Its CDX API (the archive’s index API) gives investigators programmatic access to the full index. That covers every archived URL, timestamp, status code, MIME type (file format), and content digest.

This enables five core OSINT (open-source intelligence) workflows. They are endpoint discovery (finding forgotten APIs, admin panels, config files) and deleted content recovery (pages removed from the live web). They also include infrastructure change tracking (robots.txt and sitemap diffs over time) and WHOIS and registration archaeology. The fifth is ghost profile detection (deleted social media accounts). All queries are entirely passive — no packets touch the target.

1T+
Pages Archived
99 PB
Unique Data Stored
498M/day
Pages Captured Daily
150 TB/day
New Data Ingested
29 years
Archive Span (1996–now)
3
Public APIs

Quick CDX query builder. Enter a domain to generate a ready-to-run Wayback CDX API query — every archived URL for that host.

Open ↗

Returns JSON, one row per unique archived URL. Drop &collapse=urlkey to see every capture, or add &from=2020&to=2021 to bound by year.

What does the Wayback Machine actually store?

The Internet Archive, founded in 1996 by Brewster Kahle, operates the Wayback Machine from a former Christian Science church on Funston Avenue in San Francisco. Its web crawlers continuously traverse the public internet, downloading and storing snapshots of web pages. The snapshots include the full HTTP responses — HTML content, headers, status codes, and associated resources. Each snapshot is indexed in a CDX (Capture/Display indeX) record. The record contains the URL, a 14-digit timestamp (YYYYMMDDhhmmss), HTTP status code, MIME type, content digest (SHA-1 hash, a content fingerprint), and compressed size.

In October 2025, the archive crossed the 1 trillion page capture milestone. The physical infrastructure runs on custom-built PetaBox rack systems, each providing 1.4 petabytes of storage. The total unique data exceeds 99 petabytes (212+ petabytes including backups and redundancy).

In July 2025, the U.S. Senate designated the Internet Archive as a Federal Depository Library. In September 2024, Google partnered with the Archive to integrate Wayback Machine links into Google Search’s “more about this page” menu. This effectively replaced the retired Google Cache.

Coverage is no longer uniform. Since January 2026 a wave of publishers — including The New York Times, USA Today and 340+ local outlets — has limited or blocked the Wayback Machine. As a result, recent snapshots of major news sites may be sparse or missing. Check the Internet Archive’s publisher-blocking FAQ before assuming a gap means a page never existed. The CDX API itself was verified working on 6 September 2026.

How do you query the CDX API?

The CDX API is the primary programmatic interface for searching the Wayback Machine’s index. The endpoint is:

https://web.archive.org/cdx/search/cdx?url=example.com&output=json
⚡ Live CDX Query — run it right here

Enter a domain or URL to query the Wayback Machine's CDX index live. No key required.

Essential Parameters

ParameterExamplePurpose
urlexample.comTarget URL (required). Supports wildcards: *.example.com
outputjsonResponse format. json returns array of arrays with header row
fltimestamp,original,statuscodeSelect specific fields to return
from / tofrom=2020&to=2024Date range filter (1–14 digit yyyyMMddhhmmss format)
filterstatuscode:200Regex filter on any field. Prefix with ! to negate
collapsedigestDeduplicate adjacent rows by field. collapse=timestamp:8 = one per day
limit1000Max results. Negative value returns last N results
matchTypedomainexact, prefix, host, or domain matching

CDX Fields

The default CDX response includes seven fields. They are urlkey (SURT-encoded URL, which reverses the domain parts), timestamp, original (original URL), mimetype, statuscode, digest (SHA-1 of content), and length (compressed size). Use the fl parameter to select only the fields you need, which significantly reduces response size for large queries.

Constructing Archive URLs

Once you have a timestamp and original URL from the CDX API, construct the archive URL in one of two forms:

# With Wayback toolbar and rewritten links: https://web.archive.org/web/20240115123456/https://example.com/page # Raw archived content (no toolbar, no link rewriting): https://web.archive.org/web/20240115123456id_/https://example.com/page

The id_ suffix returns the original archived response without any Wayback Machine modifications — essential for programmatic content extraction and diffing.

What are the five core Wayback OSINT workflows?

1. Endpoint and Attack Surface Discovery

The Wayback Machine’s wildcard query (using * to match any text) is one of the most powerful passive reconnaissance techniques available. Querying *.example.com/* returns every URL ever archived under a domain. That includes admin panels, API endpoints, configuration files, backup directories, staging environments, and forgotten web applications that may still be live but unlinked.

# Find all unique URLs ever archived for a domain curl -s "https://web.archive.org/cdx/search/cdx?url=*.example.com/*&output=json\ &fl=original,statuscode,timestamp,mimetype&collapse=urlkey&limit=5000" | \ jq -r '.[] | .[0]' | sort -u

Bug bounty hunters and penetration testers rely heavily on this technique. Filtering by mimetype:application/json reveals API endpoints, and mimetype:application/javascript uncovers JS files that may contain hardcoded secrets. Filtering for paths containing /admin/, /backup/, /config/, or /.env targets high-value infrastructure.

2. Deleted Content Recovery

Pages removed from the live web remain permanently in the Wayback Machine if they were captured before deletion. This is invaluable for recovering retracted press releases and statements, deleted social media profiles and posts, and removed product pages and pricing. It also works for taken-down legal documents and edited-then-deleted blog posts. Query the CDX API for the specific URL, then fetch the most recent pre-deletion snapshot using the id_ suffix for raw content.

3. Robots.txt and Sitemap History

Every organization’s robots.txt (the file that tells crawlers which paths to skip) is regularly archived. By pulling all historical snapshots and diffing (comparing) them, investigators can discover paths that were once blocked by Disallow directives but have since been removed. That suggests the organization decommissioned something it was previously hiding, though the underlying resource may still be live. Applied to sitemap.xml, the same technique reveals URLs that once appeared in the sitemap but have since vanished. These point to removed pages, restructured content, or abandoned applications.

# Get all unique robots.txt snapshots for a domain curl -s "https://web.archive.org/cdx/search/cdx?url=example.com/robots.txt\ &output=json&fl=timestamp,statuscode,digest\ &filter=statuscode:200&collapse=digest"

The collapse=digest parameter is critical here: it deduplicates by content hash, returning only snapshots where the file actually changed.

4. WHOIS and Registration Archaeology

Before GDPR (the EU’s data protection law) redacted most WHOIS (domain registration) records in 2018, those records were public. They displayed registrant names, addresses, phone numbers, and email addresses.

The Wayback Machine archived millions of WHOIS lookup pages from services like whois.domaintools.com and who.is. By querying the CDX API for a target domain’s archived WHOIS pages, investigators can often recover the original registrant information. That information is no longer available through live WHOIS queries. Additionally, archived homepage footers, “about” pages, and “contact” pages frequently contained business addresses and phone numbers that have since been removed.

5. Ghost Profile Detection

Deleted social media accounts leave traces in the Wayback Machine. An investigator can check whether archived snapshots exist for a username across platforms like Twitter/X, Facebook, Instagram, LinkedIn, Reddit, GitHub, and others. If the CDX API returns captures with statuscode:200 for a profile URL that now returns 404, the profile existed and was deleted. The archived content may include the user’s display name, bio, profile photo, post history, follower counts, and linked accounts. All of it is preserved as of the time of capture.

Wayback Machine or CommonCrawl — which should you use?

FeatureWayback MachineCommonCrawl
OperatorInternet Archive (nonprofit)CommonCrawl Foundation (nonprofit)
Data Span1996 – present (continuous)2008 – present (monthly crawls)
Total Size99+ PB unique data~350 TB per monthly crawl
AccessCDX API + web interfaceAWS S3 bulk download + index API
Best ForSpecific URL history, deleted content, visual browsingBulk cross-domain analysis, link graphs, content mining
Rate LimitsInformal; ~1 req/sec recommendedNone (download at S3 speed)
DeduplicationCDX digest field + collapse paramPer-crawl dedup only

For OSINT, the two sources are complementary. The Wayback Machine excels at investigating specific targets with deep historical coverage. CommonCrawl excels at discovering connections across the broader web. Querying both maximizes coverage — CommonCrawl often captures URLs the Wayback Machine missed, and vice versa.

Which three public APIs does the archive expose?

APIEndpointPurpose
CDXweb.archive.org/cdx/search/cdxSearch the capture index. Returns metadata (timestamp, status, digest) for all captures of a URL.
Availabilityarchive.org/wayback/availableQuick check whether a URL is archived. Returns closest snapshot URL and timestamp.
Save Page Nowweb.archive.org/save/Trigger archiving of a URL. Useful for preserving evidence before it disappears.

A full-text search for archived Telegram pages (reported, not tested). Indicator reported in September 2026 that the Wayback Machine has a collection search at web.archive.org/collection-search/telegram/. It covers 3,787,236,399 Telegram web pages, indexed by anchor text, URL parts, file types, status codes and full page text Indicator (18 Sep 2026). Unlike the three APIs above, it searches what pages say, not just their addresses. We could not test it, because web.archive.org was unreachable from our test setup on 16 Oct 2026. ArchiveTeam separately runs an ongoing project that saves public Telegram channels for eventual upload to the Wayback Machine ArchiveTeam wiki (edited 17 Sep 2025). See the Telegram OSINT guide for other ways to search Telegram.

What are the rate limits, and how do you work within them?

The Wayback Machine does not publish official rate limits (caps on request speed). The community consensus is approximately 1 request per second for the CDX API, and slower for full page fetches. Exceeding this often results in 429 (Too Many Requests) or 503 (Service Unavailable) responses.

To work within the limits, use collapse=digest to minimize redundant fetches, and batch CDX queries with broader wildcards instead of many narrow queries. Add retry logic with exponential backoff (waiting longer after each failure, starting at 3 seconds). Consider caching responses locally too, since archived content is immutable (it cannot change).

The archive experienced a significant data breach in September 2024, exposing 31 million user records. In October 2024, a DDoS attack (a flood of junk traffic) took the site offline. Save Page Now, its on-demand archiving service, remained disabled until November 2024. The service has since recovered, but investigators should maintain their own caching infrastructure for reliability.

A saved page is public. When you archive a page with Save Page Now, other people can see the copy too. OCCRP's researchers take a full-page screenshot first, with the date visible, and keep the URL. They use the Wayback Machine as a second copy. Subjects often delete everything once they sense an investigation, so capture early. OCCRP, Shaya Laughlin (17 Sep 2026) Log each capture in the Evidence Logger.

Key Terminology

CDX (Capture/Display indeX)
The file format and API used by the Wayback Machine to index all archived captures. Each CDX record contains the URL, timestamp, status code, MIME type, content digest, and compressed size.
SURT (Sort-friendly URI Rewriting Transform)
A URL canonicalization scheme used by the CDX index. Reverses the domain components so https://www.example.com/page becomes com,example,www)/page. This groups all pages from the same domain together in the index.
Memento
A snapshot of a web resource at a specific point in time. The Wayback Machine implements the Memento protocol (RFC 7089), providing standardized time-based access to archived resources.
Content Digest
A SHA-1 hash of the archived page content. When two captures share the same digest, their content is identical. The collapse=digest parameter uses this to deduplicate results.
Save Page Now (SPN)
The Wayback Machine’s on-demand archiving service. Investigators use it to preserve evidence — social media posts, news articles, forum threads — before the content can be deleted or altered.
id_ Modifier
Appended to a Wayback timestamp (e.g., /web/20240101id_/) to retrieve the raw archived content without the Wayback Machine toolbar or link rewriting. Essential for programmatic content extraction.
CommonCrawl
A separate nonprofit that performs monthly web crawls and publishes the raw data as freely downloadable datasets on AWS S3. Complementary to the Wayback Machine for OSINT: better for bulk analysis, worse for specific URL history.

Sources

Wayback Machine — Wikipedia (1 trillion pages, Oct 2025). Wayback CDX Server README — GitHub (official CDX API documentation). Wayback Machine APIs — Internet Archive (Availability API, Save Page Now). Internet Archive — Wikipedia (99 PB data, Federal Depository Library, Google partnership). Bellingcat Online Investigation Toolkit (Wayback Machine investigation methodology). Wayback CDX Server documentation — Internet Archive on GitHub (CDX parameters). wayback Python library documentation (WaybackClient, Memento API). PC Gamer (Dec 2025) (150 TB/day, 175 PB including backups). Indicator (18 Sep 2026) (Wayback Machine Telegram collection search, 3.79 billion pages; reported, not tested). ArchiveTeam wiki (edited 17 Sep 2025) (ArchiveTeam Telegram project).

Frequently Asked Questions

How do I access the Wayback Machine?

Go to web.archive.org, paste any URL into the search box, and pick a snapshot date from the calendar to see how the page looked then. For bulk or programmatic access, query the CDX API endpoint at web.archive.org/cdx/search/cdx, which returns every capture of a URL as JSON or plain text.

How do I use the Wayback Machine CDX API?

Request web.archive.org/cdx/search/cdx?url=example.com&output=json to list every archived capture of a domain, then add filters like &matchType=prefix, &from=/&to= dates, or &collapse=digest to dedupe. Each row gives the timestamp, original URL, MIME type, and status code, which you rebuild into a snapshot link as web.archive.org/web/TIMESTAMP/URL.

How do I download a page or entire site from the Wayback Machine?

For a single page, open the snapshot and save it, or append id_ to the timestamp for the raw un-rewritten capture. For a whole site, tools like the wayback-machine-downloader enumerate captures via the CDX API and pull each archived asset.

How do I use the Wayback Machine CDX API for OSINT?

The CDX API endpoint is web.archive.org/cdx/search/cdx. Required parameter: url. Key optional parameters: output=json, fl= (select fields), collapse=digest (deduplicate), filter=statuscode:200, from=/to= (date range), and limit=. Wildcards like *.example.com/* return all subpages and subdomains. The API returns index records — construct archive URLs as web.archive.org/web/{timestamp}id_/{url} to fetch actual content.

Can the Wayback Machine find deleted web pages?

Yes. If the Archive’s crawlers captured a page before deletion, the content remains permanently accessible. This works for deleted social media profiles, removed press releases, retracted statements, decommissioned web apps, and pages taken down under legal pressure. The archive captures approximately 498 million pages daily.

What is the difference between the Wayback Machine and CommonCrawl?

The Wayback Machine archives continuously since 1996 with a CDX API and browsable interface. CommonCrawl performs monthly crawls published as bulk datasets on AWS S3. Wayback is better for specific URL history; CommonCrawl is better for cross-domain bulk analysis. Use both for maximum coverage.

How often does the Wayback Machine archive pages?

Frequency varies by site popularity. Popular sites may be archived multiple times per day; smaller sites a few times per year. As of late 2025, approximately 498 million pages are captured daily (150 TB of new data). You can manually trigger archiving via Save Page Now (web.archive.org/save/).

Discover forgotten endpoints from archived pages
🤖 Robots Historian
Diff every historical robots.txt to find removed paths
🗺️ Sitemap Historian
Track vanished URLs across archived sitemaps
📜 WHOIS History
Recover pre-GDPR registrant data from archives
👻 Ghost Finder
Find deleted social media profiles in the Wayback Machine
🔐 CT for OSINT 2026
How Certificate Transparency logs expose hidden infrastructure