# Website Change History from the Wayback Machine (`decentralizer/wayback-changes`) Actor

See what changed on any web page over time. Compares Internet Archive snapshots and returns only the changes: added and removed text, title changes and price changes.

- **URL**: https://apify.com/decentralizer/wayback-changes.md
- **Developed by:** [michael regeer](https://apify.com/decentralizer) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 page changes

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

## Website Change History from the Wayback Machine

See what changed on any web page over time. This Actor reads a page's snapshots in the Internet Archive's Wayback Machine, compares each version with the one before, and returns **only the changes**: the text that was added, the text that was removed, title changes and prices that appeared or disappeared.

Other Wayback scrapers hand you a list of snapshot links and leave the comparing to you. This one does the comparing, so a pricing page with 300 captures becomes a short list of real changes.

### What you can do with it

- **Competitor price history:** when did a competitor raise prices, drop a plan or add a free tier? `pricesAdded` and `pricesRemoved` show it per change.
- **Messaging and positioning research:** follow how a homepage, landing page or product page was rewritten month by month.
- **Policy and terms tracking:** see what changed in terms of service, privacy policies or refund rules, and when.
- **Due diligence and journalism:** find out what a company's page said on a given date, with a link to the archived proof.
- **Feed AI agents:** short, structured diffs are far cheaper to analyse than whole archived pages.

### Input

| Field | What it does |
|---|---|
| URLs | Pages to check, one per line. `https://` is optional. |
| Snapshots per URL | How many archived versions to compare (default 6, so up to 5 changes). |
| Snapshot spacing | At most one snapshot per hour, day or month, or every distinct capture. Default: one per month. |
| From date / To date | Compare snapshots from this period, spread evenly over it. Leave empty for the newest snapshots. |
| Maximum changes per URL | Stop comparing a page after this many changes. |
| Ignore lines containing | Leave noisy lines out, e.g. a cookie banner or "last updated". |
| Maximum text per change | Cuts long added/removed text (default 5,000 characters). |
| Maximum changes | Stops the run after this many changes in total. |

### Output

One item per change between two consecutive snapshots:

```json
{
    "url": "https://www.apple.com/iphone/",
    "fromTimestamp": "2026-11-04T16:21:49.000Z",
    "toTimestamp": "2026-11-05T21:31:42.000Z",
    "fromSnapshotUrl": "https://web.archive.org/web/20261104162149/https://www.apple.com/iphone/",
    "toSnapshotUrl": "https://web.archive.org/web/20261105213142/https://www.apple.com/iphone/",
    "titleBefore": "iPhone - Apple",
    "titleAfter": "iPhone - Apple",
    "titleChanged": false,
    "changedPercent": 1,
    "addedLineCount": 1,
    "removedLineCount": 1,
    "addedText": "Includes carrier credits. AT&T: up to $1200. T-Mobile: up to $1200. Verizon: up to $1020.",
    "removedText": "Includes carrier credits. AT&T: up to $1200. T-Mobile: up to $1200. Verizon: up to $840.",
    "priceChanged": true,
    "pricesAdded": ["$1020"],
    "pricesRemoved": ["$840"],
    "textLengthBefore": 9173,
    "textLengthAfter": 9174
}
```

A per-URL summary (snapshots found, snapshots read, changes, errors) is saved as the `SUMMARY` record in the run's key-value store, so you can also see which pages did not change.

### Pricing

You pay per change found, nothing else. Pages with no snapshots, snapshots that read the same and pages that did not change are free. Set **Maximum changes** or a spending limit on the run to cap the cost.

### Good to know

- **Only what the Wayback Machine has.** A change that happened between two captures shows up at the next capture, not on the day it happened. Popular pages are captured daily; small sites maybe a few times a year. This is a history tool, not a live monitor.
- **Main text only.** Navigation, header, footer, scripts and styles are left out, so menu tweaks do not count as changes. Lines that only moved on the page are not counted either.
- **Prices** are amounts with a currency sign or code ($29, € 1.299,00, 49 USD, 30¢). Amounts that appear in both the added and the removed text are not reported as changed.
- **Pages built in the browser** (single-page apps that load their text with JavaScript) were often archived without their text; those snapshots compare as empty and are skipped.
- **Polite to archive.org:** one request at a time with a pause in between, and longer pauses when the archive asks to slow down. Expect around 5 to 10 seconds per snapshot.
- Sites whose owners asked to be excluded from the Wayback Machine cannot be read; the run says so in the log and carries on.
- Not affiliated with the Internet Archive. Please consider [donating](https://archive.org/donate) to keep it running.

### Questions or a missing field?

Open an issue on the Issues tab.

# Actor input Schema

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

Pages to check, one per line. Example: https://stripe.com/pricing or notion.com/pricing. Each page is looked up exactly as written (http/https and www are matched automatically).

## `maxSnapshotsPerUrl` (type: `integer`):

How many archived versions to compare per page. Without dates: the newest ones. With dates: spread evenly over the period, always including the first and last. 6 snapshots give up to 5 changes.

## `snapshotSpacing` (type: `string`):

Use at most one snapshot per hour, day or month. Popular pages are archived many times a day, so 'month' shows the bigger picture and 'day' the detail.

## `dateFrom` (type: `string`):

Only snapshots on or after this date (YYYY-MM-DD). Leave both dates empty for the newest snapshots.

## `dateTo` (type: `string`):

Only snapshots on or before this date (YYYY-MM-DD).

## `maxChangesPerUrl` (type: `integer`):

Stop comparing a page after this many changes.

## `ignoreLinesContaining` (type: `array`):

Lines that contain any of these words are left out of the comparison, e.g. a cookie banner, 'last updated' or a visitor counter. Not case-sensitive.

## `maxTextLength` (type: `integer`):

Added and removed text are each cut to this many characters. The line counts and price changes always cover the whole page.

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

Stop after this many changes in total. You are charged per change saved; pages with no change cost nothing.

## Actor input object example

```json
{
  "urls": [
    "https://stripe.com/pricing",
    "https://www.apple.com/iphone/"
  ],
  "maxSnapshotsPerUrl": 6,
  "snapshotSpacing": "month",
  "maxChangesPerUrl": 20,
  "maxTextLength": 5000,
  "maxItems": 100
}
```

# Actor output Schema

## `changes` (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": [
        "https://stripe.com/pricing",
        "https://www.apple.com/iphone/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("decentralizer/wayback-changes").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://stripe.com/pricing",
        "https://www.apple.com/iphone/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("decentralizer/wayback-changes").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://stripe.com/pricing",
    "https://www.apple.com/iphone/"
  ]
}' |
apify call decentralizer/wayback-changes --silent --output-dataset

```

## MCP server setup

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

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/LrvV1EDcoz2s5YlSZ/builds/o4m3ydEkocNoctG93/openapi.json
