# List every URL the Wayback Machine has archived

**Use case:** 

Queries the Wayback Machine’s CDX index for every distinct page captured under apify.com since 2020 and returns one row per URL with its capture timestamp, archived status, MIME type, response size and the archive link. Use it to rebuild a lost sitemap, find pages that were quietly deleted, or audit a competitor’s URL history. $0.20 per 1,000 index rows.

## Input

```json
{
  "mode": "cdx",
  "urls": [
    "apify.com"
  ],
  "matchType": "prefix",
  "limit": 500,
  "collapse": "urlkey",
  "dates": [],
  "from": "2020",
  "to": "",
  "statusFilter": [
    "200"
  ],
  "mimeFilter": [
    "text/html"
  ],
  "snapshotFormat": "text",
  "diffGranularity": "line",
  "maxSnapshotKb": 2048,
  "maxRunSecs": 240
}
```

## Output

```json
{
  "originalUrl": {
    "label": "Archived URL",
    "format": "string"
  },
  "timestamp": {
    "label": "Capture timestamp",
    "format": "string"
  },
  "isoDate": {
    "label": "Capture time (ISO)",
    "format": "string"
  },
  "statusCode": {
    "label": "Archived HTTP status",
    "format": "string"
  },
  "mimeType": {
    "label": "Archived MIME type",
    "format": "string"
  },
  "length": {
    "label": "Archived size (bytes)",
    "format": "integer"
  },
  "digest": {
    "label": "Content digest",
    "format": "string"
  },
  "archiveUrl": {
    "label": "Wayback URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Wayback Machine Toolkit — Archived URLs, Snapshots & Diffs](https://apify.com/insight.solutions/wayback-toolkit.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/insight.solutions/wayback-toolkit.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/insight.solutions/wayback-toolkit.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`).
