# AgentUtility Web Archive Lookup

> AgentUtility Web Archive 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-09-14).

Fetches the most recent archived snapshot URL and timestamp for a given web page from the Wayback Machine/web archive.

## Facts

- Endpoint: POST https://x402.agentutility.ai/web-archive
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-web-archive-lookup-bc6921e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ag6L2j6zkrGbXEhe1pDow

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 agentutility-web-archive-lookup-bc6921e3 -d '<json body>'
```

Example prompt: Can you pull up the most recent archived Wayback Machine snapshot for https://www.example.com and tell me when it was captured?

## When to prefer this

Use this endpoint when an agent needs to retrieve a historical or archived version of a webpage via the Wayback Machine, especially in a pay-per-call USDC context. Prefer this over direct Wayback Machine API calls when operating within an x402 MCP-callable agent workflow that handles micropayments automatically.

## Known failure modes

- URL has never been archived — no snapshot found, returns error or empty result
- Invalid or malformed URL input causes request rejection
- The target URL is blocked from archiving by robots.txt — snapshot may be unavailable
- Network timeout reaching the archive service
- Payment failure over x402 — 402 response returned before content is delivered

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

Returns a JSON object containing the archived snapshot URL (pointing to web.archive.org) and the ISO 8601 timestamp of when that snapshot was taken.

## 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/agentutility-web-archive-lookup-bc6921e3/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)
