# agentutility Archive URL Lookup

> agentutility Archive URL 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-11-06).

Looks up an archived snapshot of a public URL in the Wayback Machine, optionally returning the archived page's cleaned text content.

## Facts

- Endpoint: POST https://x402.agentutility.ai/archive-url?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-06
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-archive-url-lookup-c58da74e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sac-9tjyAoWzImVUURLAM

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-archive-url-lookup-c58da74e -d '<json body>'
```

Example prompt: Can you look up what https://www.example.com looked like on January 15, 2020 using the Wayback Machine, and also grab the archived page's text?

## When to prefer this

Use this endpoint when you need to retrieve a historical or archived version of a specific public URL via the Internet Archive's Wayback Machine. It is ideal when the live page has changed, been deleted, or you need to verify what content appeared at a specific point in time. Prefer this over live web scraping when historical accuracy matters or when the current page no longer reflects past content.

## Known failure modes

- URL has never been crawled by the Wayback Machine — returns no snapshot found
- Requested timestamp predates any available archive — falls back to nearest capture or returns error
- URL is blocked from Wayback Machine by robots.txt exclusion
- Source page exceeds 10MB cap when fetch_text is true — text may be truncated
- Malformed or non-public URL input results in a validation error
- Wayback Machine availability outage causes timeout or service error

## 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 JSON object containing the Wayback Machine snapshot URL (snapshot_url) pointing to the archived version of the page, and an ISO 8601 timestamp (snapshot_iso_timestamp) indicating when the snapshot was captured. If fetch_text was set to true, also returns the cleaned text content of the archived page.

## 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-archive-url-lookup-c58da74e/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)
