# Page Time Machine · Wayback Diff + AI · No Login · $2.5/1K (`pomlabs/page-time-machine`) Actor

Past versions of any web page from the Wayback Machine, Arquivo.pt, archive.today and Common Crawl, as clean text, with what changed between versions, an optional AI summary, and a deleted-page check. $2.50 per 1,000 versions.

- **URL**: https://apify.com/pomlabs/page-time-machine.md
- **Developed by:** [Pom Labs](https://apify.com/pomlabs) (community)
- **Categories:** SEO tools, Developer tools, AI
- **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 version delivereds

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

## Page Time Machine: Wayback Machine versions, diffs and AI summaries

> ⭐ **Useful? Please leave a quick review** on the [Reviews tab](https://apify.com/pomlabs/page-time-machine/reviews). It takes 10 seconds and helps other people find this Actor. Something wrong or missing? [Open an issue](https://apify.com/pomlabs/page-time-machine/issues) and we fix it.

See how any web page looked in the past, as **clean text**, and **what changed** from one version to the next. Versions come from several web archives in one run: the **Internet Archive Wayback Machine**, **Arquivo.pt** and **Common Crawl**, plus the list of **archive.today** snapshots. Optionally, an **AI summary** says in plain words what changed ("Starter plan went from $49 to $39"). It also tells you if the page was **deleted** and where its last good copy is.

**No login, no API key. You pay only for versions delivered: $0.0025 per version ($2.50 per 1,000).** Identical versions are skipped and never charged.

### What you get

- **Distinct versions only**: the Wayback CDX `collapse=digest` trick plus a text fingerprint, so 200 identical captures don't cost you 200 rows
- **Clean text** of each version (main content, without menus, scripts and the Wayback toolbar), with the page title and size
- **What changed**: lines added and removed versus the previous version, and a similarity score
- **AI summary** of each change (optional): 1 to 4 bullet points about prices, plans, products, people, claims and policies
- **Was it deleted?** The live URL is checked today (online, deleted 404/410, redirected, blocked) and the last archived version is returned
- **Several archives in one run**: Wayback Machine, Arquivo.pt (strong on European and Portuguese-language sites), Common Crawl (last 2 monthly crawls) and archive.today (snapshot dates and links)
- **Keyword filter**: keep only versions that mention a word ("refund", "free plan", a person's name)
- **Date range**: from/to as YYYY, YYYY-MM or YYYY-MM-DD; versions are spread evenly over the period, always with the first and the last

### Use cases

- **SEO**: why did traffic drop? Compare the page before and after (title, text, sections removed)
- **Competitor tracking**: pricing, plans, features and terms of service over the years
- **Legal, compliance and OSINT**: what a page said on a given date, with the archived link as evidence
- **Journalism and research**: deleted statements, changed claims, old team pages
- **Dead pages and expired domains**: last good version of a page that is gone

### Input

| Field | What it does |
|---|---|
| `urls` | Pages to look up (full URL or domain/path) |
| `from`, `to` | Optional date range |
| `maxVersionsPerUrl` | Distinct versions per page (default 3, up to 200) |
| `sources` | `wayback`, `arquivopt`, `archivetoday`, `commoncrawl` (default: the first three) |
| `includeText`, `includeChanges` | Clean text and the diff (default on) |
| `aiSummary` | AI summary of each change (extra event) |
| `keyword` | Only versions containing this text |
| `checkLive` | Deleted-page check (free, default on) |

### Output

One row per version:

```json
{"type": "version", "url": "https://apify.com/pricing", "source": "wayback", "capturedAt": "2026-11-22T16:12:15Z",
 "archiveUrl": "https://web.archive.org/web/20261122161215/https://apify.com/pricing", "title": "Apify pricing - flexible plan + pay as you go",
 "textLength": 10160, "text": "...", "changedFrom": "2025-08-06T13:25:30Z",
 "changes": {"linesAdded": 41, "linesRemoved": 38, "similarity": 0.831, "added": ["..."], "removed": ["..."]},
 "aiSummary": "• Compute unit price cut from $0.3 to $0.2 ..."}
```

And one page report per URL (free): captures found per archive, the archive.today snapshot list, Wayback captures per year, the last version, and `verdict` (`online`, `deleted`, `redirected`, `blocked_or_error`, `unreachable`) with `isDeleted`.

### Instant API and MCP server (Server Actor)

Besides normal runs, this Actor answers HTTP requests directly. It is a multi-tenant Server Actor: same per-item prices, no start fee, no platform usage on your side.

- **REST:** `GET https://pomlabs--page-time-machine.apify.actor/versions?urls=apify.com/pricing&maxVersionsPerUrl=3` or `POST` the same fields as the Actor input. Up to 3 pages and 30 versions per page per request.
- **MCP:** `https://pomlabs--page-time-machine.apify.actor/mcp` (Streamable HTTP). One tool, `get_page_history`.
- **Auth:** `Authorization: Bearer <your Apify token>`.

### Pricing

Pay per event:

- **$0.0025 per version delivered** (`version`), with its clean text and diff
- **$0.005 per AI summary** (`ai-summary`), only when you turn it on and something changed
- The page report, the deleted-page check and the archive.today list are free. Identical, failed and empty versions are never charged.

Example: 100 pages × 5 versions = $1.25; with AI summaries on the 400 changes, + $2.00.

### Limits

- The archives decide what exists: some pages were never captured, and some sites ask the Wayback Machine not to show them (Reddit, X/Twitter).
- archive.today snapshot pages ask for a captcha, so the Actor returns their dates and links, not their text. archive.today often refuses or times out; when it does, the page report says so (`archiveToday.error`) and the other archives still work.
- Common Crawl's index is sometimes down (HTTP 504); it is off by default and reported as unavailable when it fails.
- The Internet Archive rate-limits heavy traffic; the Actor slows down and retries. Very busy pages (news homepages) have tens of thousands of captures: the earliest and latest 5,000 distinct ones are used.
- The text extraction keeps the main content; layout-only changes don't show up as changes, by design.

### FAQ

**Is it legal?** It reads public archives that anyone can open in a browser. Check that your use complies with the laws and terms that apply to you.

**Can it save a page to the archive now?** Not yet. Open an issue if you need it.

# Actor input Schema

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

Pages to look up in the web archives (full URL or domain/path).

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

Only versions on or after this date: YYYY, YYYY-MM or YYYY-MM-DD. Empty = from the first capture.

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

Only versions on or before this date: YYYY, YYYY-MM or YYYY-MM-DD. Empty = until today.

## `maxVersionsPerUrl` (type: `integer`):

Distinct versions returned per page, spread evenly over the period (always the first and the last). Identical texts are skipped and never charged.

## `sources` (type: `array`):

wayback = Internet Archive Wayback Machine; arquivopt = Arquivo.pt; archivetoday = list of archive.today snapshots (dates and links); commoncrawl = Common Crawl (last 2 monthly crawls).

## `includeText` (type: `boolean`):

Main text of the page, without menus, scripts and the Wayback toolbar.

## `includeChanges` (type: `boolean`):

Lines added and removed compared with the previous version, and a similarity score.

## `aiSummary` (type: `boolean`):

1 to 4 bullet points saying what really changed (prices, plans, claims, people). Extra event per summary.

## `keyword` (type: `string`):

Keep only versions whose text contains this word or phrase (case-insensitive).

## `checkLive` (type: `boolean`):

Checks the live URL today (online, deleted 404/410, redirected) and returns the last archived version. Free.

## `maxTextChars` (type: `integer`):

Longer texts are cut (textTruncated = true); textLength keeps the full size.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com/pricing"
  ],
  "maxVersionsPerUrl": 3,
  "sources": [
    "wayback",
    "arquivopt",
    "archivetoday"
  ],
  "includeText": true,
  "includeChanges": true,
  "aiSummary": false,
  "checkLive": true,
  "maxTextChars": 20000
}
```

# Actor output Schema

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

Dataset (overview view).

# 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": [
        "https://apify.com/pricing"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pomlabs/page-time-machine").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": ["https://apify.com/pricing"] }

# Run the Actor and wait for it to finish
run = client.actor("pomlabs/page-time-machine").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": [
    "https://apify.com/pricing"
  ]
}' |
apify call pomlabs/page-time-machine --silent --output-dataset

```

## MCP server setup

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

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/bOevYpsdGzM8EDoip/builds/UMLZkuSl0jLFhdMhT/openapi.json
