# Wayback Machine Scraper - Snapshots, URLs & Content $0.50/1K (`plotpointtech/wayback-machine-scraper`) Actor

List Wayback Machine snapshots of any URL, every archived URL of a domain, and old page text as Markdown, with change detection. Public Internet Archive CDX API. $0.50 per 1,000 results; page content +$2 per 1,000.

- **URL**: https://apify.com/plotpointtech/wayback-machine-scraper.md
- **Developed by:** [Plot Point Technologies](https://apify.com/plotpointtech) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.31 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Wayback Machine Scraper - Snapshots, Archived URLs and Old Page Content

**Get the full capture history of any web page from the Internet Archive's Wayback Machine, list every URL the Archive has ever saved for a domain, and download the text of old pages as clean Markdown.** Optional change detection shows when a page's content changed. **$0.50 per 1,000 results; downloaded page content adds $2.00 per 1,000 pages.**

### What does this Wayback Machine scraper do?

It reads the Internet Archive's public CDX index (the same index the Wayback Machine calendar uses) and the archived pages themselves, and returns tidy rows you can export to JSON, CSV or Excel. It has three modes:

- **Snapshots** - every capture of a URL (or of a whole path, host or domain) with timestamp, original URL, HTTP status, MIME type, size, content digest and a ready-to-open snapshot link. Filter by date range, status code and MIME type, and collapse repeated captures to one per hour, day, month or year, or to content changes only.
- **Archived URLs** - every distinct URL the Archive holds for a domain (including subdomains) or a path, with the date it was first captured and links to its first and latest snapshots. Useful for SEO audits, redirect mapping and recovering lost pages.
- **Snapshot content** - downloads the archived page exactly as it was saved (without the Wayback toolbar) and extracts the readable main text as Markdown or plain text, plus the page title, word count and optionally the raw HTML. Pick captures with the filters above or give exact dates; the Archive serves the nearest capture.

**Change detection** (optional) compares each capture with the previous capture of the same URL. In Snapshots mode you get `changed`, `previousTimestamp` and `previousDigest`; in Content mode you also get a text diff summary with the number of lines added and removed and samples of each.

### Use cases

- **SEO and site migrations:** list every old URL of a domain to build 301 redirect maps and find pages that used to rank.
- **Content recovery:** get back the text of deleted pages, old blog posts or a site that went offline.
- **Competitor research:** see how a competitor's pricing, product or About page changed over the years.
- **Compliance and legal evidence:** document what a page said on a given date, with an Archive link.
- **Domain due diligence:** check what a domain was used for before you buy it.
- **Research and journalism:** build datasets of how pages and sites evolved.

### How to use it

1. Click **Try for free** (or **Start**).
2. Enter one or more **URLs or domains** (`example.com`, `https://example.com/pricing`, `example.com/blog/*`, or a Wayback link).
3. Choose **What to get**: Snapshots, Archived URLs or Snapshot content.
4. Optionally set a date range, filters, collapse and **Detect changes**.
5. Run it and download the results, or read them through the Apify API.

### Input

| Option | Default | What it does |
|---|---|---|
| URLs or domains | `example.com` | Pages, domains, `path/*` prefixes or Wayback links |
| What to get | Snapshots | Snapshots, Archived URLs, or Snapshot content |
| URL matching | Auto | Exact URL, prefix, host, or domain with subdomains. Auto uses exact for snapshots and content, and domain (bare domains) or prefix for Archived URLs |
| From date / To date | none | `YYYY`, `YYYY-MM`, `YYYY-MM-DD` or `YYYYMMDDhhmmss` |
| Collapse captures | One per day | None, content changes only (digest), one per hour/day/month/year |
| Order | Newest first | Newest first or oldest first |
| HTTP status filter / MIME type filter | none | e.g. `200`, `3*`, `text/html`, `application/pdf` |
| Skip duplicate-content records | on | Hides `warc/revisit` pointer records |
| Max results per URL / in total | 100 / 10,000 | Limits |
| Detect changes | off | Adds change fields (and text diffs in Content mode) |
| Specific timestamps | none | Content mode: fetch the captures nearest these dates |
| Max snapshots to download per URL | 10 | Content mode limit when no timestamps are given |
| Content format / Include raw HTML / Max characters | Markdown / off / 100,000 | Content output |
| Snapshot downloads per minute | 30 | Politeness limit (5 to 60) |

#### Input example

```json
{
  "urls": ["https://www.python.org/about/"],
  "mode": "content",
  "collapse": "year",
  "from": "2018",
  "detectChanges": true,
  "maxContentSnapshotsPerUrl": 4
}
```

### Output

#### Snapshot row (from a real default run)

```json
{
  "inputUrl": "example.com",
  "originalUrl": "http://example.com/",
  "urlKey": "com,example)/",
  "timestamp": "20261029153051",
  "capturedAt": "2026-10-29T15:30:51Z",
  "statusCode": 200,
  "mimeType": "text/html",
  "lengthBytes": 1119,
  "digest": "U2352G3H6BFNEDPBNQI5XGOBSQAN4W4J",
  "isRevisit": false,
  "snapshotUrl": "https://web.archive.org/web/20261029153051/http://example.com/",
  "rawSnapshotUrl": "https://web.archive.org/web/20261029153051id_/http://example.com/"
}
```

With **Detect changes** on, each row also has `changed` (true, false, or null for the first capture in the list), `previousTimestamp` and `previousDigest`.

#### Archived URL row

```json
{
  "inputUrl": "httpbin.org",
  "originalUrl": "http://httpbin.org:80/",
  "urlKey": "org,httpbin)/",
  "host": "httpbin.org",
  "path": "/",
  "firstCapturedTimestamp": "20110616132521",
  "firstCapturedAt": "2011-06-16T13:25:21Z",
  "statusCode": 200,
  "mimeType": "text/html",
  "firstSnapshotUrl": "https://web.archive.org/web/20110616132521/http://httpbin.org:80/",
  "latestSnapshotUrl": "https://web.archive.org/web/http://httpbin.org:80/",
  "allCapturesUrl": "https://web.archive.org/web/*/http://httpbin.org:80/"
}
```

#### Snapshot content row (shortened)

```json
{
  "inputUrl": "https://www.python.org/",
  "requestedTimestamp": "201506",
  "originalUrl": "https://www.python.org/",
  "timestamp": "20150701024112",
  "capturedAt": "2015-07-01T02:41:12Z",
  "snapshotUrl": "https://web.archive.org/web/20150701024112/https://www.python.org/",
  "contentHttpStatus": 200,
  "contentType": "text/html",
  "title": "Welcome to Python.org",
  "markdown": "## Get Started\n\nWhether you're new to programming or an experienced developer, it's easy to learn and use Python. ...",
  "wordCount": 226,
  "contentTruncated": false,
  "textChanged": true,
  "linesAdded": 16,
  "linesRemoved": 68,
  "addedSample": ["## Get Started", "..."],
  "removedSample": ["..."]
}
```

Content rows also carry `fetchedUrl`, `servedTimestamp` (when the Archive served a nearby capture), `html` (if requested) and `contentError` when a capture could not be downloaded or is not a text document (for example an image; use `rawSnapshotUrl` to download it).

### Pricing

Pay per result, no subscription:

- **$0.50 per 1,000 results** (snapshot rows or archived URLs).
- **+$2.00 per 1,000 downloaded pages** in Content mode, charged only when the page text was extracted. A content row therefore costs $2.50 per 1,000 in total.
- A tiny start fee of $0.00005 per run.

Worked examples:

- Full daily capture history of one page for 5 years (about 1,800 rows): about **$0.90**.
- 20,000 archived URLs of a domain for an SEO redirect map: **$10**.
- Text of one page once a year for 10 years: 10 x $0.0025 = **$0.025**.

Volume discounts apply automatically on higher Apify plans.

### FAQ

**Is it legal to use?** The tool uses the Internet Archive's public CDX API and public snapshot URLs, the documented ways to access the Wayback Machine programmatically. It sends an identifying User-Agent with a contact address, makes one request at a time, spaces requests out and backs off when the Archive answers 429 or 503. Archived pages remain the work of their original owners; check copyright before republishing content, and follow the Internet Archive's terms of use.

**How fast is it?** Snapshot lists and newest-first queries usually return in seconds. Archived URL lists of very large domains (millions of captures) can take minutes because the Archive has to scan its index. Content downloads run at 30 pages per minute by default to stay polite.

**Why do I see both http and https, or www and non-www URLs?** The Archive stores the URL exactly as it was crawled. Exact matching treats these as the same page (`urlKey` is the normalized form).

**Can I use it through the API, Make, Zapier or n8n?** Yes. Start runs with the Apify API or the official Make, Zapier and n8n integrations, and read results from the run's dataset.

**Can AI agents use it?** Yes, through the Apify MCP server, so assistants such as Claude can look up page history on request.

### Related tools from Plot Point Technologies

- [Website to Markdown Crawler for AI, LLM & RAG](https://apify.com/plotpointtech/website-to-markdown-crawler): clean Markdown from live websites.
- [SEO Audit Crawler - Titles, Meta, H1, Broken Pages & Links](https://apify.com/plotpointtech/sitemap-seo-page-audit): on-page SEO check of every page in a sitemap.
- [WHOIS & Domain Lookup - Bulk RDAP, DNS, SSL & Mail Provider](https://apify.com/plotpointtech/bulk-domain-lookup): registration and DNS details for lists of domains.
- [Website Tech Stack Detector](https://apify.com/plotpointtech/website-technology-detector): the CMS, analytics and other technologies a site uses today.

Plot Point Technologies is not affiliated with the Internet Archive or the Wayback Machine.

***

If this tool saved you time, we would be grateful for a short review on this page. If something did not work as expected, please open an issue on the **Issues** tab and we will look into it quickly.

# Actor input Schema

## `urls` (type: `array`):

Pages or domains to look up, e.g. example.com, https://example.com/pricing or example.com/blog/\*. You can also paste Wayback links such as https://web.archive.org/web/20200101000000/https://example.com/.

## `mode` (type: `string`):

Snapshots: list captures of each URL. Archived URLs: every distinct URL the Archive holds for a domain or path (first capture of each). Content: download the archived page and extract readable Markdown or text.

## `matchType` (type: `string`):

Auto: exact URL for snapshots and content; whole domain (with subdomains) for archived URLs when you enter a bare domain, otherwise the path prefix.

## `from` (type: `string`):

Earliest capture date: YYYY, YYYY-MM, YYYY-MM-DD or YYYYMMDDhhmmss. Leave empty for no limit.

## `to` (type: `string`):

Latest capture date, same formats. Leave empty for no limit.

## `collapse` (type: `string`):

Reduce repeated captures. Content changes keeps a capture only when the page content (digest) differs from the capture before it. Per day/month/year keeps one capture per period. Applies to Snapshots and Content modes.

## `order` (type: `string`):

Newest first returns the most recent captures (fast). Oldest first starts at the first capture. Archived URLs mode always runs in index order.

## `statusCodes` (type: `array`):

Only captures with these status codes, e.g. 200 or 3\*. Leave empty for all (Content mode defaults to 200).

## `mimeTypes` (type: `array`):

Only captures of these types, e.g. text/html, application/pdf, image/\*. Use text/html in Archived URLs mode to list pages only.

## `excludeRevisits` (type: `boolean`):

The Archive stores some captures as 'revisit' pointers to identical earlier content, with no status code. Skip them for a cleaner list.

## `maxResultsPerUrl` (type: `integer`):

Snapshots or archived URLs to return for each entry.

## `maxResults` (type: `integer`):

Stop after this many results across all entries.

## `detectChanges` (type: `boolean`):

Add changed / previousTimestamp / previousDigest to each snapshot (compared with the previous capture of the same URL). In Content mode also adds a text diff summary: lines added and removed with samples.

## `timestamps` (type: `array`):

Fetch content at these moments, e.g. 2015, 2019-06-01 or 20200101120000. The Archive serves the nearest capture. Leave empty to fetch captures selected by the filters above.

## `maxContentSnapshotsPerUrl` (type: `integer`):

How many captures per entry to download and extract when no timestamps are given.

## `contentFormat` (type: `string`):

Main text of the archived page as Markdown (with links and tables) or plain text.

## `includeHtml` (type: `boolean`):

Also return the original archived HTML (without the Wayback toolbar).

## `maxContentChars` (type: `integer`):

Longer text is cut and marked contentTruncated.

## `contentRequestsPerMinute` (type: `integer`):

Politeness limit for downloading archived pages. The tool slows down further on its own if the Archive asks it to.

## Actor input object example

```json
{
  "urls": [
    "example.com"
  ],
  "mode": "snapshots",
  "matchType": "auto",
  "collapse": "day",
  "order": "newest",
  "statusCodes": [],
  "mimeTypes": [],
  "excludeRevisits": true,
  "maxResultsPerUrl": 100,
  "maxResults": 10000,
  "detectChanges": false,
  "timestamps": [],
  "maxContentSnapshotsPerUrl": 10,
  "contentFormat": "markdown",
  "includeHtml": false,
  "maxContentChars": 100000,
  "contentRequestsPerMinute": 30
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("plotpointtech/wayback-machine-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": ["example.com"] }

# Run the Actor and wait for it to finish
run = client.actor("plotpointtech/wayback-machine-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "example.com"
  ]
}' |
apify call plotpointtech/wayback-machine-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,plotpointtech/wayback-machine-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ZGX83Vl6FYJpIxgK1/builds/FKWz9jWzxHMgWUp8K/openapi.json
