# ALFRED x402 Reader

> ALFRED x402 Reader is a paid API for AI agents from x402.wallace.us, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Fetches and returns the readable content of a given URL, paid per-call via Lightning/x402 protocol

## Facts

- Endpoint: POST https://x402.wallace.us/x402/reader?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alfred-x402-reader-78776878
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vulSzYBkH9NgxckLZKbl-

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 alfred-x402-reader-78776878 -d '<json body>'
```

Example prompt: Can you read the content of this page for me: https://example.com/some-article — I need to know what it says.

## When to prefer this

Use this endpoint when you need to fetch and read the content of a specific URL and are comfortable with a micropayment-per-call model via Lightning/x402 protocol. Prefer this over free scrapers when you need a reliable, self-hosted reader that caches results per payment so retries are safe. Best for AI agent workflows where per-call billing via Lightning is acceptable.

## Known failure modes

- URL is unreachable or returns an error — endpoint may return an error in the JSON body
- Payment not completed — endpoint returns HTTP 402 with a Lightning invoice and WWW-Authenticate header requiring payment before content is delivered
- Invalid or missing URL parameter — malformed request may return an error
- Cached result not found for payment_hash — may require a new payment if payment_hash is not recognized

## How this service works

Self-hosted personal-assistant paid tools via Lightning. Uses x402-shaped protocol (L402 lineage): HTTP 402 with a Lightning invoice in the response body + WWW-Authenticate header, retry with X-Payment-Hash: <hex> once paid. Results cached per payment_hash so legitimate retries don't cost twice.

## Output

Returns the extracted readable content of the requested URL as a JSON object. Results are cached per payment_hash, so retrying after a successful payment returns the same result without an additional charge.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alfred-x402-reader-78776878/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.wallace.us](https://www.zero.xyz/host/x402.wallace.us/llms.txt)
