# Wayback Machine & Internet Archive Diff API + MCP Server (`data-goose/wayback-archive-intel-mcp`) Actor

Fast 256MB pure-HTTP Hybrid Actor for Wayback Machine & Internet Archive: CDX capture timelines, clean archived HTML-to-text extraction, historical page diffing, and Archive.org catalog search via Batch PPE, Multi-Tenant REST API, and MCP.

- **URL**: https://apify.com/data-goose/wayback-archive-intel-mcp.md
- **Developed by:** [Data Goose](https://apify.com/data-goose) (community)
- **Categories:** Developer tools, AI, MCP servers
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 wayback capture or archive records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 & Internet Archive Diff API + MCP Server (`wayback-archive-intel-mcp`)

> **Wayback Machine API scraper**, **historical website change diff API**, **archived HTML-to-text extractor**, and **Internet Archive MCP server** running in `256 MB` pure HTTP (zero headless browsers, zero proxies).

***

### Why Use This Wayback Intelligence Actor?

Instead of raw CDX arrays or broken toolbar-polluted Wayback HTML:

- **Dual-Source Snapshot Text Extraction (Wayback + Common Crawl WARC):** Resolves Wayback `id_` toolbar-free HTML and transparently falls back to Common Crawl's official S3 WARC archive (`Range` requests) whenever Wayback replay throttles datacenter IPs — stripping scripts/styles to return readable text, title, meta description, headings, and links.
- **Historical Page Change & Diffing (`/v1/wayback/diff`):** Compares unique captures across time to compute `similarity_ratio`, `added_lines`, `removed_lines`, `cdx_unique_digests`, and unified diffs — at pay-per-event pricing 10x cheaper than `\$100–\$500/mo` monitoring SaaS seats.
- **Internet Archive Search & Item Metadata (`/v1/archive/search`, `/v1/archive/item/{identifier}`):** Queries `archive.org` across 50M+ digital texts, datasets, audio, and software collections and returns structured file download URLs.

***

### Quick Integration Snippets

#### 1. Claude Desktop / Cursor MCP Server

```json
{
  "mcpServers": {
    "wayback-archive-intel": {
      "type": "streamable-http",
      "url": "https://data-goose--wayback-archive-intel-mcp.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

Exposed MCP tools: `get_wayback_timeline`, `extract_wayback_snapshot`, `diff_wayback_snapshots`, `search_internet_archive`, `get_archive_item`.

#### 2. Python (`apify-client` Batch + Direct REST `httpx`)

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("data-goose/wayback-archive-intel-mcp").call(
    run_input={"mode": "snapshot_diff", "url": "openai.com/pricing", "fromDate": "20250101"}
)
diffs = list(client.dataset(run["defaultDatasetId"]).iterate_items())
```

```python
import httpx

r = httpx.get(
    "https://data-goose--wayback-archive-intel-mcp.apify.actor/v1/wayback/snapshot",
    headers={"Authorization": "Bearer <APIFY_TOKEN>"},
    params={"url": "example.com"},
    timeout=30.0,
)
print(r.json()["title"], r.json()["word_count"])
```

#### 3. n8n / Make HTTP Request Node

- **Method:** `GET`
- **URL:** `https://data-goose--wayback-archive-intel-mcp.apify.actor/v1/wayback/diff`
- **Headers:** `Authorization: Bearer {{ $env.APIFY_TOKEN }}`
- **Query Params:** `url=example.com`

***

### Pricing (Pay-Per-Event)

- `wayback-record`: **$0.0025** per CDX timeline capture or Archive.org catalog record (`\$2.50 / 1k`, undercutting $3.50–$5.00/1k incumbents).
- `wayback-diff`: **$0.004** per extracted snapshot or historical snapshot diff.
- `wayback-query`: **$0.0015** per empty query / unarchived URL check.
- `apify-actor-start`: **$0.005** one-time batch run startup event.

***

### More APIs & MCP Servers by data-goose

| Actor | Use Case | Standby / MCP URL | Primary PPE Rate |
|---|---|---|---|
| [Spain BORME Registry](https://apify.com/data-goose/spain-borme-registry-mcp) | Daily Spanish corporate filings (BOE PDF -> JSON) | `https://data-goose--spain-borme-registry-mcp.apify.actor/mcp` | `$0.004 / act` |
| [UK Companies House](https://apify.com/data-goose/uk-companies-house-registry-mcp) | UK companies, officers & filings (rate-limited + BYOK) | `https://data-goose--uk-companies-house-registry-mcp.apify.actor/mcp` | `$0.0035 / record` |
| [France SIRENE + BODACC](https://apify.com/data-goose/france-sirene-bodacc-mcp) | French directors, financials & insolvency alerts | `https://data-goose--france-sirene-bodacc-mcp.apify.actor/mcp` | `$0.0045 / record` |
| [UK Public Tenders OCDS](https://apify.com/data-goose/uk-public-tenders-ocds-mcp) | Unified Contracts Finder + Find a Tender (Procurement Act 2023) | `https://data-goose--uk-public-tenders-ocds-mcp.apify.actor/mcp` | `$0.005 / tender` |
| [Wayback & Archive Intel](https://apify.com/data-goose/wayback-archive-intel-mcp) | CDX timelines, Common Crawl WARC diffs & Archive.org | `https://data-goose--wayback-archive-intel-mcp.apify.actor/mcp` | `$0.0025 / record` |

# Actor input Schema

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

Fetch CDX capture timelines, extract clean text from snapshots, diff two historical snapshots, or search Archive.org catalog.

## `url` (type: `string`):

Website URL or domain for Wayback modes (e.g. example.com or openai.com/pricing).

## `query` (type: `string`):

Search query when mode='archive_search' (e.g. 'mediatype:texts AND robotics').

## `identifier` (type: `string`):

Archive.org item identifier when mode='archive_item' (e.g. 'gov.archives.arc.12867').

## `mediatype` (type: `string`):

Optional Archive.org mediatype (texts, software, audio, movies, data, web).

## `fromDate` (type: `string`):

Optional start date in YYYYMMDD format.

## `toDate` (type: `string`):

Optional end date in YYYYMMDD format.

## `timestamp` (type: `string`):

Optional 14-digit Wayback timestamp (YYYYMMDDHHMMSS) for snapshot_extract.

## `timestampA` (type: `string`):

Optional older timestamp (YYYYMMDDHHMMSS) for snapshot_diff.

## `timestampB` (type: `string`):

Optional newer timestamp (YYYYMMDDHHMMSS) for snapshot_diff.

## `maxItems` (type: `integer`):

Maximum captures or catalog items to emit.

## Actor input object example

```json
{
  "mode": "timeline",
  "maxItems": 50
}
```

# Actor output Schema

## `records` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("data-goose/wayback-archive-intel-mcp").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("data-goose/wayback-archive-intel-mcp").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 '{}' |
apify call data-goose/wayback-archive-intel-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-goose/wayback-archive-intel-mcp"
        }
    }
}
```

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/avCwh2k45JuFDplzX/builds/Jkemt0SsEqdj32sas/openapi.json
