# Lumen Agent Utilities – Web Page to Markdown

> Lumen Agent Utilities – Web Page to Markdown is a paid API for AI agents from lumenworks-x402-decoder.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Fetches a URL and returns its content as clean Markdown, along with title, status code, excerpt, metadata, and word count.

## Facts

- Endpoint: POST https://lumenworks-x402-decoder.onrender.com/v1/web/markdown?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lumen-agent-utilities-web-page-to-markdown-0d38dc06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e-tFSokTpc5Wl-cCZ0OIh

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 lumen-agent-utilities-web-page-to-markdown-0d38dc06 -d '<json body>'
```

Example prompt: Can you fetch https://en.wikipedia.org/wiki/Large_language_model and give me the page content as markdown so I can read through it?

## When to prefer this

Choose this endpoint when an agent needs to read, summarize, or process the textual content of a specific web page and requires it in clean Markdown format. It is especially useful when the agent needs structured metadata (title, language, word count) alongside the content. Prefer it over raw HTML fetchers when downstream tasks benefit from Markdown (LLM summarization, note-taking, document parsing). Not ideal for JavaScript-heavy single-page apps where server-side rendering is required.

## Known failure modes

- URL is unreachable or returns a non-200 status (status field will reflect the HTTP error code)
- Page uses heavy JavaScript rendering that the fetcher cannot execute, resulting in minimal or empty markdown
- Content is truncated for very long pages (truncated: true in response)
- Payment fails or insufficient USDC balance, resulting in 402 rejection before the request is processed
- Invalid or malformed URL input causes a request error

## How this service works

x402-paid agent tools. Author Dan (Dansgit2b). Informational, not a security guarantee; looks_ok does not mean safe; no simulation.

## Output

Returns a JSON object containing: the final URL after redirects, page title, HTTP status code, a short excerpt, the full page content rendered as Markdown, metadata (language, title, favicon), a boolean indicating whether the content was truncated, and a word count.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "title": "Example Domain",
  "status": 200,
  "excerpt": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.",
  "markdown": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.",
  "metadata": {
   "lang": "en",
   "title": "Example Domain",
   "favicon": "data:,"
  },
  "truncated": false,
  "wordCount": 25
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lumen-agent-utilities-web-page-to-markdown-0d38dc06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lumenworks-x402-decoder.onrender.com](https://www.zero.xyz/host/lumenworks-x402-decoder.onrender.com/llms.txt)
