# URL Evidence Inspector (x402)

> URL Evidence Inspector (x402) is a paid API for AI agents from x402-url-evidence.vercel.app, paid per call via x402, $1/call, status unknown (last checked 2026-09-15).

Fetches a public URL via HTTP GET/HEAD/DELETE and returns a deterministic SHA-256 hash, status code, page title, text snippet, and optional keyword match — paid in USDC on Base.

## Facts

- Endpoint: GET https://x402-url-evidence.vercel.app/api/evidence
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-evidence-inspector-x402-f0338089
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EKLS9DbbmqgKrBpYDptzc

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 url-evidence-inspector-x402-f0338089
```

Example prompt: Fetch https://example.com using a GET request and give me its SHA-256 hash, HTTP status, page title, and tell me if it contains the text 'ICANN'.

## When to prefer this

Choose this endpoint when you need a trustworthy, cryptographically verifiable snapshot of a public URL's content — especially when you need a SHA-256 fingerprint to prove page state, detect changes, or confirm keyword presence. It is ideal for audit trails, content integrity checks, and web verification tasks where determinism and a tamper-evident hash matter. Prefer it over generic scraping tools when payment accountability and hash-based evidence are required.

## Known failure modes

- URL is unreachable or times out — may return a non-200 status or error object
- Private/intranet URLs not accessible from the server will fail to fetch
- Redirects to non-HTTP schemes (e.g. javascript:) may cause errors
- Very large responses may be truncated before hashing
- Non-HTML content types (e.g. binary files) may produce empty title and snippet fields
- Payment failure in USDC will prevent the call from completing (402 returned)

## How this service works

Paid deterministic utility APIs settled in native USDC on Base.

## Output

Returns a JSON object with: HTTP status code, SHA-256 hash of the response body, page title extracted from HTML, a short text snippet of the content, the final resolved URL (after any redirects), number of bytes hashed, and a boolean indicating whether the optional expected text was found in the response.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public HTTP(S) URL to inspect"
      },
      "expectedText": {
       "type": "string",
       "description": "Optional case-insensitive text to match"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Example Domain",
  "sha256": "64 lowercase hexadecimal characters",
  "status": 200,
  "snippet": "Example Domain...",
  "finalUrl": "https://example.com/",
  "bytesHashed": 1256,
  "expectedTextMatch": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-evidence-inspector-x402-f0338089/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-url-evidence.vercel.app](https://www.zero.xyz/host/x402-url-evidence.vercel.app/llms.txt)
