# How old is this domain? (Wayback Machine)

**Use case:** 

Find the first and last Wayback Machine capture, number of captures and versions for a list of domains (example: apify.com, python.org). Useful for due diligence and SEO.

## Input

```json
{
  "urls": [
    "apify.com",
    "python.org"
  ],
  "mode": "summary",
  "matchType": "exact",
  "collapse": "digest",
  "statusFilter": "any",
  "mimeTypeFilter": "any",
  "maxSnapshotsPerInput": 50,
  "maxSnapshots": 200,
  "maxCapturesPerSummary": 50000,
  "maxConcurrency": 2
}
```

## Output

```json
{
  "capturedAt": {
    "label": "Captured",
    "format": "date"
  },
  "url": {
    "label": "Original URL",
    "format": "link"
  },
  "statusCode": {
    "label": "HTTP status",
    "format": "number"
  },
  "mimeType": {
    "label": "MIME type",
    "format": "text"
  },
  "digest": {
    "label": "Content digest",
    "format": "text"
  },
  "length": {
    "label": "Size (bytes)",
    "format": "number"
  },
  "archiveUrl": {
    "label": "Archived copy",
    "format": "link"
  },
  "input": {
    "label": "Input",
    "format": "text"
  },
  "error": {
    "label": "Error (not charged)",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Wayback Machine Site History: Snapshots & First Seen Actor is ready to run with the inputs already set for "How old is this domain? (Wayback Machine)". [Sign up or log in](https://console.apify.com/create-task-from-example/aeG93y2d8OCcjndie) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "How old is this domain? (Wayback Machine)" task

The Wayback Machine Site History: Snapshots & First Seen Actor will start running based on the input automatically. You can also change all the input fields, like domains or urls, output, and more, to match your specific use case.

### 3. Receive the "How old is this domain? (Wayback Machine)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as captured, original url, HTTP status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "How old is this domain? (Wayback Machine)" task via API](https://apify.com/fjordlabs/wayback-history.md).

## FAQ

### What does the output of this task include?

The 'How old is this domain?' task provides the first and last Wayback Machine captures, total number of captures, and distinct versions for a specified list of domains.

### How much does this task cost?

$0.004 per site summary, plus Apify's $0.00005 run-start fee, however many captures are counted. 100 domains cost $0.40. Sites never archived and errors are free.

### How can I use this task for SEO purposes?

The task helps SEO specialists by revealing a domain's age, its past activity, and changes in content over time.

### Is there a format for inputting URLs into the task?

One per line: a domain (apify.com), a page URL, everything under a folder (example.com/blog/*) or all subdomains (*.example.com).

### Are the counts exact for very popular sites?

A summary counts up to 50,000 captures by default (up to 1 million). Beyond that the row says complete: false and counts are lower bounds; for an exact URL, first and last seen stay exact.

### What kind of errors are reported when running this task?

Errors encountered during the task do not incur any charges and indicate whether a site was never archived or had issues.

## About this Actor

This example demonstrates how to use [Wayback Machine Site History: Snapshots & First Seen](https://apify.com/fjordlabs/wayback-history.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fjordlabs/wayback-history.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/fjordlabs/wayback-history.md

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`).
