# Wayback Machine Snapshot Lookup

> Wayback Machine Snapshot Lookup is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-02).

Looks up the closest archived snapshot of a URL in the Internet Archive's Wayback Machine, optionally returning the archived page's cleaned text

## Facts

- Endpoint: POST https://x402.agentutility.ai/wayback-machine?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wayback-machine-snapshot-lookup-308bbf8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4GFh4PNDbfjTweA42QBY-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability wayback-machine-snapshot-lookup-308bbf8b -d '<json body>'
```

Example prompt: Can you find the most recent Wayback Machine snapshot of https://example.com and also fetch the archived page text?

## When to prefer this

Use this endpoint when you need to access historical or archived versions of a webpage, verify what content existed at a specific point in time, recover deleted pages, or audit past website content. It is the right choice when the live page is unavailable, changed, or deleted and you need the Internet Archive's historical record. If you need to scrape the current live version of a URL, use a different web-fetching endpoint instead.

## Known failure modes

- URL has never been crawled by the Wayback Machine — no snapshot found
- Requested timestamp predates any available archive — returns nearest available or error
- Archived page fetch fails due to malformed or oversized source content (>10MB)
- Invalid URL format causes request to fail
- Wayback Machine CDX API unavailable or rate-limited

## How this service works

817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.

## Output

Returns a snapshot_url pointing to the archived page on web.archive.org, and a snapshot_iso_timestamp indicating when that snapshot was captured. If fetch_text is true, also returns the cleaned plain text extracted from the archived HTML (source capped at 10MB).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL to look up in the Wayback Machine."
      },
      "timestamp": {
       "type": "string",
       "description": "Optional. Target date for the snapshot: ISO 8601, 'YYYY-MM-DD', 'YYYYMMDD', or 'YYYYMMDDhhmmss'. Defaults to the most recent capture."
      },
      "fetch_text": {
       "type": "boolean",
       "description": "Optional. If true, also fetches and returns the archived page's cleaned text (source capped at 10MB). Default false."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "snapshot_url": {
       "type": "string"
      },
      "snapshot_iso_timestamp": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "snapshot_url": "https://web.archive.org/web/20240101.../...",
  "snapshot_iso_timestamp": "2024-01-01T00:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wayback-machine-snapshot-lookup-308bbf8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
